Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Idlehandler Threw Exception

Discussion in 'Android' started by unity_RyTc2P5U-Kwm4Q, Apr 9, 2019.

  1. unity_RyTc2P5U-Kwm4Q

    unity_RyTc2P5U-Kwm4Q

    Joined:
    May 15, 2018
    Posts:
    4
    Hi!

    I have a menu that works perfectly fine in the editor for my android game, but when I install it on my emulator, the game crashes.

    I have adb logcat, and here is the log :

    Does anyone know where it could coem from, or how to fix it?
     
  2. unity_RyTc2P5U-Kwm4Q

    unity_RyTc2P5U-Kwm4Q

    Joined:
    May 15, 2018
    Posts:
    4
  3. flashmandv

    flashmandv

    Joined:
    Mar 26, 2015
    Posts:
    154
    Same problem. Many users complain of black screen after they updated our app from Google Play. Today I got one of the devices on which this problem can be reproduced: Xiomi redmi 5 plus (32gb) running android 8.1.
    Here is the logcat:
    Code (CSharp):
    1. 08-14 16:56:53.697 17389-17425/? E/CRASH: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0000006f48f9d800
    2. 08-14 16:56:53.698 17389-17425/? E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    3. 08-14 16:56:53.698 17389-17425/? E/CRASH: Build fingerprint: 'Xiaomi/rosy/rosy:8.1.0/OPM1.171019.026/V10.3.2.0.ODAMIXM:user/release-keys'
    4. 08-14 16:56:53.698 17389-17425/? E/CRASH: Revision: '0'
    5. 08-14 16:56:53.698 17389-17425/? E/CRASH: pid: 17389, tid: 17425, name: UnityMain  >>> air.bg.lan.Monopoli <<<
    6. 08-14 16:56:53.698 17389-17425/? E/CRASH:     x0   0000006f48759800  x1   0000000000000000  x2   0000006f48759800  x3   0000006f48759a50
    7. 08-14 16:56:53.698 17389-17425/? E/CRASH:     x4   0000000000000004  x5   0000006f4875a2b4  x6   00000000000023ec  x7   0000006f4875bbec
    8. 08-14 16:56:53.698 17389-17425/? E/CRASH:     x8   0000000000000001  x9   0000006f4cb67b88  x10  0000006f4875a270  x11  0000000000000ab4
    9. 08-14 16:56:53.698 17389-17425/? E/CRASH:     x12  0000000000000001  x13  0000006f4875a2b4  x14  0000000000000000  x15  0000000000844000
    10. 08-14 16:56:53.698 17389-17425/? E/CRASH:     x16  00003c9008759fea  x17  0000000000000000  x18  0000006f48f9d800  x19  0000006f47bfe180
    11. 08-14 16:56:53.698 17389-17425/? E/CRASH:     x20  0000006f489af780  x21  0000006f4bc0d7d4  x22  0000006f48759800  x23  0000000000000000
    12. 08-14 16:56:53.698 17389-17425/? E/CRASH:     x24  0000006f48759870  x25  0000006f4cb67b88  x26  0000000000000000  x27  0000000000000000
    13. 08-14 16:56:53.698 17389-17425/? E/CRASH:     x28  0000000000000130  x29  0000000000000078  x30  0000006f58317764
    14. 08-14 16:56:53.698 17389-17425/? E/CRASH:     sp   0000006f4cb67910  pc   0000006f583179cc  pstate 0000000060000000
    15. 08-14 16:56:53.698 17389-17425/? E/CRASH: backtrace:
    16. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #00  pc 00000000003ee96c  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    17. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #01  pc 00000000003dcf90  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    18. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #02  pc 0000000000002e8c  /system/bin/app_process64
    19. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #03  pc 0000000000000690  [vdso] (__kernel_rt_sigreturn)
    20. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #04  pc 0000000000a039cc  /system/vendor/lib64/libllvm-glnext.so
    21. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #05  pc 000000000093ca4c  /system/vendor/lib64/libllvm-glnext.so
    22. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #06  pc 0000000000a1a494  /system/vendor/lib64/libllvm-glnext.so (QGLCLoadProgramBinary(void*, void*, unsigned long, QGLC_LINKPROGRAM_RESULT*)+92)
    23. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #07  pc 00000000001a75f8  /system/vendor/lib64/egl/libGLESv2_adreno.so (EsxShaderCompiler::LoadProgramBinaryBlob(EsxContext*, EsxProgram*, void const*, unsigned long, EsxInfoLog*)+260)
    24. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #08  pc 000000000017a528  /system/vendor/lib64/egl/libGLESv2_adreno.so (EsxProgram::LoadProgramBinary(EsxContext*, unsigned int, void const*, int)+248)
    25. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #09  pc 00000000000ca178  /system/vendor/lib64/egl/libGLESv2_adreno.so (EsxContext::GlProgramBinary(unsigned int, unsigned int, void const*, int)+364)
    26. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #10  pc 000000000037b6c4  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    27. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #11  pc 000000000037a280  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    28. 08-14 16:56:53.704 17389-17425/? E/CRASH:     #12  pc 00000000003796c4  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    29. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #13  pc 0000000000378b38  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    30. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #14  pc 00000000002b8800  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    31. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #15  pc 00000000002735c4  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    32. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #16  pc 000000000023bdec  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    33. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #17  pc 000000000023b6f8  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    34. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #18  pc 000000000023b22c  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    35. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #19  pc 000000000023aedc  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    36. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #20  pc 000000000023d200  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    37. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #21  pc 000000000023f3e0  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    38. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #22  pc 000000000023f5ac  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    39. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #23  pc 0000000000316c28  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    40. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #24  pc 000000000031897c  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    41. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #25  pc 00000000003193f0  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    42. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #26  pc 00000000003197e4  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    43. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #27  pc 00000000001fe894  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    44. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #28  pc 00000000002356e0  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    45. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #29  pc 00000000001faba0  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    46. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #30  pc 00000000001faa04  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    47. 08-14 16:56:53.705 17389-17425/? E/CRASH:     #31  pc 00000000003d45ac  /data/app/air.bg.lan.Monopoli--0TNqFv8yfWiaj1935UMrw==/lib/arm64/libunity.so
    48. 08-14 16:56:53.706 17389-17425/? E/MessageQueue: IdleHandler threw exception
    49.                                                  java.lang.Error: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0000006f48f9d800
    50.                                                  Build fingerprint: 'Xiaomi/rosy/rosy:8.1.0/OPM1.171019.026/V10.3.2.0.ODAMIXM:user/release-keys'
    51.                                                  Revision: '0'
    52.                                                  pid: 17389, tid: 17425, name: UnityMain  >>> air.bg.lan.Monopoli <<<
    53.                                                      x0   0000006f48759800  x1   0000000000000000  x2   0000006f48759800  x3   0000006f48759a50
    54.                                                      x4   0000000000000004  x5   0000006f4875a2b4  x6   00000000000023ec  x7   0000006f4875bbec
    55.                                                      x8   0000000000000001  x9   0000006f4cb67b88  x10  0000006f4875a270  x11  0000000000000ab4
    56.                                                      x12  0000000000000001  x13  0000006f4875a2b4  x14  0000000000000000  x15  0000000000844000
    57.                                                      x16  00003c9008759fea  x17  0000000000000000  x18  0000006f48f9d800  x19  0000006f47bfe180
    58.                                                      x20  0000006f489af780  x21  0000006f4bc0d7d4  x22  0000006f48759800  x23  0000000000000000
    59.                                                      x24  0000006f48759870  x25  0000006f4cb67b88  x26  0000000000000000  x27  0000000000000000
    60.                                                      x28  0000000000000130  x29  0000000000000078  x30  0000006f58317764
    61.                                                      sp   0000006f4cb67910  pc   0000006f583179cc  pstate 0000000060000000
    62.                                                
    63.                                                      at libunity.003ee96c(Native Method)
    64.                                                      at libunity.003dcf90(Native Method)
    65.                                                      at app_process64.00002e8c(Native Method)
    66.                                                      at [vdso].__kernel_rt_sigreturn(__kernel_rt_sigreturn:0)
    67.                                                      at libllvm-glnext.00a039cc(Native Method)
    68.                                                      at libllvm-glnext.0093ca4c(Native Method)
    69.                                                      at libllvm-glnext.QGLCLoadProgramBinary(void*, void*, unsigned long, QGLC_LINKPROGRAM_RESULT*)(QGLCLoadProgramBinary:92)
    70.                                                      at libGLESv2_adreno.EsxShaderCompiler::LoadProgramBinaryBlob(EsxContext*, EsxProgram*, void const*, unsigned long, EsxInfoLog*)(LoadProgramBinaryBlob:260)
    71.                                                      at libGLESv2_adreno.EsxProgram::LoadProgramBinary(EsxContext*, unsigned int, void const*, int)(LoadProgramBinary:248)
    72.                                                      at libGLESv2_adreno.EsxContext::GlProgramBinary(unsigned int, unsigned int, void const*, int)(GlProgramBinary:364)
    73.                                                      at libunity.0037b6c4(Native Method)
    74.                                                      at libunity.0037a280(Native Method)
    75.                                                      at libunity.003796c4(Native Method)
    76.                                                      at libunity.00378b38(Native Method)
    77.                                                      at libunity.002b8800(Native Method)
    78.                                                      at libunity.002735c4(Native Method)
    79.                                                      at libunity.0023bdec(Native Method)
    80.                                                      at libunity.0023b6f8(Native Method)
    81.                                                      at libunity.0023b22c(Native Method)
    82.                                                      at libunity.0023aedc(Native Method)
    83.                                                      at libunity.0023d200(Native Method)
    84.                                                      at libunity.0023f3e0(Native Method)
    85.                                                      at libunity.0023f5ac(Native Method)
    86.                                                      at libunity.00316c28(Native Method)
    87.                                                      at libunity.0031897c(Native Method)
    88.                                                      at libunity.003193f0(Native Method)
    89.                                                      at libunity.003197e4(Native Method)
    90.                                                      at libunity.001fe894(Native Method)
    91.                                                      at libunity.002356e0(Native Method)
    92.                                                      at libunity.001faba0(Native Method)
    93.                                                      at libunity.001faa04(Native Method)
    94.                                                      at libunity.003d45ac(Native Method)
    95. 08-14 16:56:53.710 17389-17425/? E/CRASH: main thread is trapped; signum = 11
    96. 08-14 16:56:53.725 1589-1604/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x11 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
    97. 08-14 16:56:53.726 1589-1604/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x11 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
    98.  
    If users uninstall the updated game, and install it again - it works (but deletes their PlayerPrefs).

    I tried to build the game with many different Unity versions (including latest 2019.2.0). What I had to change in my game is:
    1) Switching from Mono to IL2CPP
    2) Add the 64 bit support (Unity 2018.1.1f1 with 64 bit experimental..but this crash is happening in the new Unity versions as well)

    Any ideas?