Search Unity

Kindle Fire crash (signal 11 (SIGSEGV)) weirdly ONLY when script debugging is OFF

Discussion in 'Android' started by 39thstreet, Jul 6, 2012.

  1. 39thstreet

    39thstreet

    Joined:
    Jan 30, 2012
    Posts:
    97
    I'm getting the crash pasted in below in the same spot in my game. Here's the information I can provide:
    -It happens at the same point every time (right near or at a scene transition after user input)
    -It happens about 50% of the time. However, if I turn script debugging on (changing nothing else about the build) it *never* happens. Did hundreds of tests, only crashes with debugging off.
    -I do no believe it is related to the Fire running out of memory. The profiler does not show very high memory usage at this point.
    -The issue occurs in Unity 3.5.3. A coworker using 3.5.2 can't replicate at all.

    I'm really at a loss as to how to track this down, and would appreciate any advice.




    Code (csharp):
    1. I/DEBUG   (23298): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    2. I/DEBUG   (23298): Build fingerprint: 'generic/blaze/blaze:2.3.4/GINGERBREAD/6.3.1_user_4107720:user/release-keys'
    3. I/DEBUG   (23298): pid: 23300, tid: 23308  >>> com.myapp.appnamehere <<<
    4. I/DEBUG   (23298): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000004e
    5. I/DEBUG   (23298):  r0 00000000  r1 471f1294  r2 00000072  r3 00000036
    6. I/DEBUG   (23298):  r4 000086e9  r5 00d9260c  r6 00614f94  r7 00000001
    7. I/DEBUG   (23298):  r8 00000036  r9 00000002  10 00003283  fp 47201f30
    8. I/DEBUG   (23298):  ip 0000006c  sp 474335b0  lr 46d69ba4  pc 46d87ce0  cpsr 60000110
    9. I/DEBUG   (23298):  d0  0000000000000000  d1  3f00000000000000
    10. I/DEBUG   (23298):  d2  421fff7d43db4000  d3  00000000445e7dcb
    11. I/DEBUG   (23298):  d4  421fff7d3f800000  d5  445e7dcb43db4000
    12. I/DEBUG   (23298):  d6  4036000000000000  d7  4012000000000000
    13. I/DEBUG   (23298):  d8  0000000075737f30  d9  0000000000000000
    14. I/DEBUG   (23298):  d10 0000000000000000  d11 0000000000000000
    15. I/DEBUG   (23298):  d12 0000000000000000  d13 0000000000000000
    16. I/DEBUG   (23298):  d14 0000000000000000  d15 0000000000000000
    17. I/DEBUG   (23298):  d16 000000003ae80000  d17 0000000000000000
    18. I/DEBUG   (23298):  d18 3b4ccccd00000000  d19 0000000000000000
    19. I/DEBUG   (23298):  d20 0000000000000000  d21 00000000bb031c80
    20. I/DEBUG   (23298):  d22 bf800000bf800000  d23 3f800000bf19a567
    21. I/DEBUG   (23298):  d24 000000003ae80000  d25 0000000000000000
    22. I/DEBUG   (23298):  d26 3b4ccccd00000000  d27 0000000000000000
    23. I/DEBUG   (23298):  d28 0000000000000000  d29 000000003b031c80
    24. I/DEBUG   (23298):  d30 bf800000bf800000  d31 3f800000bf19a567
    25. I/DEBUG   (23298):  scr 80000012
    26. I/DEBUG   (23298):
    27. I/DEBUG   (23298):          #00  pc 46d87ce0
    28. I/DEBUG   (23298):          #01  lr 46d69ba4  <unknown>
    29. I/DEBUG   (23298):
    30. I/DEBUG   (23298): code around pc:
    31. I/DEBUG   (23298): 46d87cc0 f5d3f000 e3180001 0a000004 e3d80001
    32. I/DEBUG   (23298): 46d87cd0 01a08000 01a03008 1a000017 e5863004
    33. I/DEBUG   (23298): 46d87ce0 e5983018 e3530000 0a000008 e59d1000
    34. I/DEBUG   (23298): 46d87cf0 e1a00008 ebff878d e2501000 0a000003
    35. I/DEBUG   (23298): 46d87d00 e1a00008 e59d2004 e3a07001 ebffc9a5
    36. I/DEBUG   (23298):
    37. I/DEBUG   (23298): code around lr:
    38. I/DEBUG   (23298): 46d69b84 e1a06004 e3530000 1afffff4 e1570004
    39. I/DEBUG   (23298): 46d69b94 0affffea e1a00005 e5941010 ebf97c97
    40. I/DEBUG   (23298): 46d69ba4 e3500000 ba000003 e1570004 15940014
    41. I/DEBUG   (23298): 46d69bb4 18bd81f0 eaffffe1 e1a04007 eafffff9
    42. I/DEBUG   (23298): 46d69bc4 e3500015 e92d4070 e24dd008 0a000002
    43. I/DEBUG   (23298):
    44. I/DEBUG   (23298): stack:
    45. I/DEBUG   (23298):     47433570  00000000
    46. I/DEBUG   (23298):     47433574  00000001
    47. I/DEBUG   (23298):     47433578  48a03e28
    48. I/DEBUG   (23298):     4743357c  4749df00
    49. I/DEBUG   (23298):     47433580  4743358c
    50. I/DEBUG   (23298):     47433584  46928f30
    51. I/DEBUG   (23298):     47433588  47201f30
    52. I/DEBUG   (23298):     4743358c  f7260786
    53. I/DEBUG   (23298):     47433590  00000000
    54. I/DEBUG   (23298):     47433594  004b8b24
    55. I/DEBUG   (23298):     47433598  00007e06
    56. I/DEBUG   (23298):     4743359c  00d9260c
    57. I/DEBUG   (23298):     474335a0  0061087c
    58. I/DEBUG   (23298):     474335a4  00000001
    59. I/DEBUG   (23298):     474335a8  e3a070ad
    60. I/DEBUG   (23298):     474335ac  ef9000ad
    61. I/DEBUG   (23298): #00 474335b0  474335fc
    62. I/DEBUG   (23298):     474335b4  00000000
    63. I/DEBUG   (23298):     474335b8  00000c94
    64. I/DEBUG   (23298):     474335bc  c761c23c
    65. I/DEBUG   (23298):     474335c0  b55a4f09
    66. I/DEBUG   (23298):     474335c4  fffffffe
    67. I/DEBUG   (23298):     474335c8  00000800
    68. I/DEBUG   (23298):     474335cc  005eac64
    69. I/DEBUG   (23298):     474335d0  00000000
    70. I/DEBUG   (23298):     474335d4  47201f30
    71. I/DEBUG   (23298):     474335d8  00000c58
    72. I/DEBUG   (23298):     474335dc  474335fc
    73. I/DEBUG   (23298):     474335e0  00d9260c
    74. I/DEBUG   (23298):     474335e4  00000000
    75. I/DEBUG   (23298):     474335e8  00000000
    76. I/DEBUG   (23298):     474335ec  4811ba98
    77. I/DEBUG   (23298):     474335f0  47433650
    78. I/DEBUG   (23298):     474335f4  46d87f78
    79. I/BootReceiver( 1397): Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)
    80. I/ActivityManager( 1397): Process com.myapp.appnamehere (pid 23300) has died.
    81. I/WindowManager( 1397): WIN DEATH: Window{407004c0 com.thup.monkeyMath/com.unity3d.player.UnityPlayerNativeActivity paused=false}
    82. I/WindowManager( 1397): WIN DEATH: Window{4078b608 SurfaceView paused=false}
    83. W/ActivityManager( 1397): Unable to start service Intent { act=appStartup }: not found
    84. D/Zygote  ( 1289): Process 23300 terminated by signal (11)
    85. W/InputManagerService( 1397): Got RemoteException sending setActive(false) notification to pid 23300 uid 10025
     
  2. 39thstreet

    39thstreet

    Joined:
    Jan 30, 2012
    Posts:
    97
    As a follow up, I downgraded my own install from 3.5.3 back to 3.5.2 and the problem disappeared.

    I wish I could create some kind of test case to report his as a bug, but it's impossible to isolate. All I can say is there is a crash somewhere in libc.so caused in my code somewhere and it's specific to Unity 3.5.3.
     
  3. WarrenB

    WarrenB

    Joined:
    May 24, 2012
    Posts:
    21
    I can confirm this same problem. I have a bug that only occurs running on the Kindle Fire device and only when debugging is turned off. It also happens between scene loads after user input.

    Unity version
    3.5.5f3
     
  4. WarrenB

    WarrenB

    Joined:
    May 24, 2012
    Posts:
    21
    I can also confirm that downgrading to 3.5.2 is a stop-gap solution. It would be great to have this fixed, though, so we don't have to give up other bug fixes and improvements.
     
  5. Jexreffy

    Jexreffy

    Joined:
    Jan 21, 2012
    Posts:
    22
    I have the same problem, have any of you filed a bug report with Unity?
     
  6. PixelEnvision

    PixelEnvision

    Joined:
    Feb 7, 2012
    Posts:
    486
    Is development build option checked off (making others disabled as well) or it's still enabled and only the script debugging checked off?
     
  7. Ferazel

    Ferazel

    Joined:
    Apr 18, 2010
    Posts:
    372
    I'm still having similar problems (thought mind does still crash with script debugging). When it crashes it just disconnects the debugger however. I can't get any other information about it. Anyone have any recommendations for helping debug these types of crashes?
     
unityunity