Native Crashes on Android since 2018.3

Since upgrading to Android we have been experiencing native crashes on some Android devices, specifically the Oculus Go. This crash appears much more frequently when developer mode is on. It still does occur in some cases when developer mode is off but much less frequently.

The main crash is:

signal 11 (SIGSEGV), code 2

Initially we thought it was related to this issue: https://issuetracker.unity3d.com/issues/android-crash-with-gsl-mem-error-kgsl-sharedmem-alloc-ioctl-failed-on-adreno-gpu-devices but now it doesn’t look like it.

The crashes seem to center around garbage collection. We’ve tried removing all of these calls, but the crash still occurs.

Have also tried upgrading to 2019.2 alpha but the crash still occurs.

  • Current unity version: 2018.3.6
  • Scripting Runtime Version: .NET 4.x
  • Scripting Backend: Mono
  • Api Compatibility Level: .NET 4.x
  • Target Architectures: ARMv7

Here is a stack trace:

02-19 17:46:05.990  7782  7800 E CRASH   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr a8fbf00c
02-19 17:46:05.990  7782  7800 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-19 17:46:05.990  7782  7800 E CRASH   : Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
02-19 17:46:05.990  7782  7800 E CRASH   : Build fingerprint: 'oculus/vr_pacific/pacific:7.1.2/N2G48H/223630.5280.0:user/release-keys'
02-19 17:46:05.990  7782  7800 E CRASH   : Revision: '0'
02-19 17:46:05.991  7782  7800 E CRASH   : pid: 7782, tid: 7800, name: UnityMain  >>> co.stage.stagevr <<<
02-19 17:46:05.991  7782  7800 E CRASH   :     r0 fffffffc  r1 a8fbf00c  r2 a8fbf00c  r3 80000000
02-19 17:46:05.991  7782  7800 E CRASH   :     r4 00000001  r5 d1480ddc  r6 d1478a70  r7 d1480ce4
02-19 17:46:05.991  7782  7800 E CRASH   :     r8 00000000  r9 00001000  sl cb3ea678  fp e7a7e568
02-19 17:46:05.991  7782  7800 E CRASH   :     ip 000000bf  sp e7a7e3d8  lr d139aa40  pc d13ab778  cpsr 00001e78
02-19 17:46:05.991  7782  7800 E CRASH   :
02-19 17:46:05.991  7782  7800 E CRASH   : backtrace:
02-19 17:46:06.075  7782  7936 E GoLog   : 2019-02-20T01:46:06.074Z    INFO    Added content item to content manager    {"manifest": "https://stage-vod.akamaized.net/tld/6FcRS6X2eWCCcwkmsaq8Qi/manifest.json"}
02-19 17:46:06.263  1999  2196 D BluetoothManager: getConnectedDevices
02-19 17:46:06.268  1073  1101 D BtGatt.GattService: getDeviceType() - device=5C:BA:37:CE:98:26, type=1
02-19 17:46:06.268  1073  1101 D BtGatt.GattService: getDeviceType() - device=2C:26:17:0B:69:89, type=2
02-19 17:46:06.271  1073  1780 W bt_att  : attribute value too long, to be truncated to 20
02-19 17:46:06.271  7782  7837 I VrApi   : FPS=23,Prd=38ms,Tear=0,Early=3,Stale=54,VSnc=1,Lat=1,Fov=3,CPU2/GPU=4/2,1593/315MHz,OC=F,TA=E/0/0,SP=F/N/N,Mem=1017MHz,Free=839MB,PSM=0,PLS=0,Temp=32.5C/25.0C,TW=1.89ms,App=3.52ms,GD=0.00ms
02-19 17:46:06.363  7782  7800 E CRASH   :     #00  pc 00464778  /data/app/co.stage.stagevr-1/lib/arm/libmonobdwgc-2.0.so (GC_mark_from+1664)
02-19 17:46:06.363  7782  7800 E CRASH   :     #01  pc 0045a778  /data/app/co.stage.stagevr-1/lib/arm/libmonobdwgc-2.0.so (GC_mark_some+724)
02-19 17:46:06.363  7782  7800 E CRASH   :     #02  pc 00459798  /data/app/co.stage.stagevr-1/lib/arm/libmonobdwgc-2.0.so (GC_stopped_mark+540)
02-19 17:46:06.363  7782  7800 E CRASH   :     #03  pc 00459160  /data/app/co.stage.stagevr-1/lib/arm/libmonobdwgc-2.0.so (GC_try_to_collect_inner+464)
02-19 17:46:06.363  7782  7800 E CRASH   :     #04  pc 0045c2c4  /data/app/co.stage.stagevr-1/lib/arm/libmonobdwgc-2.0.so (GC_try_to_collect_general+316)
02-19 17:46:06.363  7782  7800 E CRASH   :     #05  pc 0045c5e8  /data/app/co.stage.stagevr-1/lib/arm/libmonobdwgc-2.0.so (GC_gcollect+24)
02-19 17:46:06.363  7782  7800 E CRASH   :     #06  pc 00404790  /data/app/co.stage.stagevr-1/lib/arm/libmonobdwgc-2.0.so (mono_gc_collect+40)
02-19 17:46:06.363  7782  7800 E CRASH   :     #07  pc 003fc5c4  /data/app/co.stage.stagevr-1/lib/arm/libmonobdwgc-2.0.so (ves_icall_System_GC_InternalCollect+20)
02-19 17:46:06.363  7782  7800 E CRASH   :     #08  pc 0000ac44   ( (wrapper managed-to-native) System.GC:InternalCollect (int) {0xae6fe8e0} + 0x3c (0xaf40cc08 0xaf40cc94) [0xe78bdf00 - Unity Root Domain]+44100)
02-19 17:46:06.363  7782  7800 E CRASH   :
02-19 17:46:06.363  7782  7800 E CRASH   : memory near r1:
02-19 17:46:06.364  7782  7800 E CRASH   :     a8fbefec 00000000 00000000 00000000 00000000  ................
02-19 17:46:06.364  7782  7800 E CRASH   :     a8fbeffc 00000000 ffffffff ffffffff ffffffff  ................
02-19 17:46:06.364  7782  7800 E CRASH   :     a8fbf00c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.364  7782  7800 E CRASH   :     a8fbf01c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.364  7782  7800 E CRASH   :     a8fbf02c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.364  7782  7800 E CRASH   :     a8fbf03c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.364  7782  7800 E CRASH   :     a8fbf04c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.365  7782  7800 E CRASH   :     a8fbf05c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.365  7782  7800 E CRASH   :     a8fbf06c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.365  7782  7800 E CRASH   :     a8fbf07c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.365  7782  7800 E CRASH   :     a8fbf08c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.365  7782  7800 E CRASH   :     a8fbf09c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.365  7782  7800 E CRASH   :     a8fbf0ac ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.365  7782  7800 E CRASH   :     a8fbf0bc ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.365  7782  7800 E CRASH   :     a8fbf0cc ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.366  7782  7800 E CRASH   :     a8fbf0dc ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.366  7782  7800 E CRASH   :
02-19 17:46:06.366  7782  7800 E CRASH   : memory near r2:
02-19 17:46:06.366  7782  7800 E CRASH   :     a8fbefec 00000000 00000000 00000000 00000000  ................
02-19 17:46:06.366  7782  7800 E CRASH   :     a8fbeffc 00000000 ffffffff ffffffff ffffffff  ................
02-19 17:46:06.366  7782  7800 E CRASH   :     a8fbf00c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.366  7782  7800 E CRASH   :     a8fbf01c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.366  7782  7800 E CRASH   :     a8fbf02c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.366  7782  7800 E CRASH   :     a8fbf03c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.367  7782  7800 E CRASH   :     a8fbf04c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.367  7782  7800 E CRASH   :     a8fbf05c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.367  7782  7800 E CRASH   :     a8fbf06c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.367  7782  7800 E CRASH   :     a8fbf07c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.367  7782  7800 E CRASH   :     a8fbf08c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.367  7782  7800 E CRASH   :     a8fbf09c ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.367  7782  7800 E CRASH   :     a8fbf0ac ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.368  7782  7800 E CRASH   :     a8fbf0bc ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.368  7782  7800 E CRASH   :     a8fbf0cc ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.368  7782  7800 E CRASH   :     a8fbf0dc ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.368  7782  7800 E CRASH   :
02-19 17:46:06.368  7782  7800 E CRASH   : memory near r3:
02-19 17:46:06.368  7782  7800 E CRASH   :     7fffffe0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.368  7782  7800 E CRASH   :     7ffffff0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.368  7782  7800 E CRASH   :     80000000 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.368  7782  7800 E CRASH   :     80000010 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.368  7782  7800 E CRASH   :     80000020 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.369  7782  7800 E CRASH   :     80000030 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.369  7782  7800 E CRASH   :     80000040 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.369  7782  7800 E CRASH   :     80000050 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.369  7782  7800 E CRASH   :     80000060 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.369  7782  7800 E CRASH   :     80000070 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.369  7782  7800 E CRASH   :     80000080 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.370  7782  7800 E CRASH   :     80000090 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.370  7782  7800 E CRASH   :     800000a0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.370  7782  7800 E CRASH   :     800000b0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.370  7782  7800 E CRASH   :     800000c0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.370  7782  7800 E CRASH   :     800000d0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.370  7782  7800 E CRASH   :
02-19 17:46:06.370  7782  7800 E CRASH   : memory near r9:
02-19 17:46:06.370  7782  7800 E CRASH   :     00000fe0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.370  7782  7800 E CRASH   :     00000ff0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.371  7782  7800 E CRASH   :     00001000 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.371  7782  7800 E CRASH   :     00001010 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.371  7782  7800 E CRASH   :     00001020 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.371  7782  7800 E CRASH   :     00001030 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.371  7782  7800 E CRASH   :     00001040 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.371  7782  7800 E CRASH   :     00001050 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.371  7782  7800 E CRASH   :     00001060 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.372  7782  7800 E CRASH   :     00001070 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.372  7782  7800 E CRASH   :     00001080 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.372  7782  7800 E CRASH   :     00001090 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.372  7782  7800 E CRASH   :     000010a0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.372  7782  7800 E CRASH   :     000010b0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.372  7782  7800 E CRASH   :     000010c0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.372  7782  7800 E CRASH   :     000010d0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 17:46:06.372  7782  7800 E CRASH   :
02-19 17:46:06.372  7782  7800 E CRASH   : code around pc:
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab758 e0810000 e50b0038 e3e00003 e3e0107f  ....8...........
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab768 e51b2038 e0821001 f5d1f000 e51b1038  8 ..........8...
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab778 e5911000 e50b10c4 e51b1038 e0810000  ........8.......
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab788 e50b0038 e51b00c4 e51b1044 e1500001  8.......D.....P.
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab798 3a000006 e51b00c4 e51b1040 e1500001  ...:....@.....P.
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab7a8 2a000002 e51b00c4 f5d0f000 ea00001c  ...*............
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab7b8 e51b0030 e51b1038 e1500001 9a000000  0...8.....P.....
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab7c8 ea0001b1 e3e00003 e51b1038 e5911000  ........8.......
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab7d8 e50b10c4 e51b1038 e0810000 e50b0038  ....8.......8...
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab7e8 e51b00c4 e51b1044 e1500001 3a000006  ....D.....P....:
02-19 17:46:06.373  7782  7800 E CRASH   :     d13ab7f8 e51b00c4 e51b1040 e1500001 2a000002  ....@.....P....*
02-19 17:46:06.374  7782  7800 E CRASH   :     d13ab808 e51b00c4 f5d0f000 ea000005 e51b0030  ............0...
02-19 17:46:06.374  7782  7800 E CRASH   :     d13ab818 e51b1038 e1500001 9a000000 ea00019a  8.....P.........
02-19 17:46:06.374  7782  7800 E CRASH   :     d13ab828 eaffffcc eaffffff e51b0030 e51b1038  ........0...8...
02-19 17:46:06.374  7782  7800 E CRASH   :     d13ab838 e1500001 8a0000d3 e51b0030 e5900000  ..P.....0.......
02-19 17:46:06.374  7782  7800 E CRASH   :     d13ab848 e50b0034 e51b0030 e2800080 f5d0f000  4...0...........
02-19 17:46:06.374  7782  7800 E CRASH   :
02-19 17:46:06.374  7782  7800 E CRASH   : code around lr:
02-19 17:46:06.374  7782  7800 E CRASH   :     d139aa20 ea00000a e59f0108 e79f0000 e5900000  ................
02-19 17:46:06.374  7782  7800 E CRASH   :     d139aa30 e3500000 0a000002 e51b0008 ebf0232e  ..P..........#..
02-19 17:46:06.374  7782  7800 E CRASH   :     d139aa40 ea000001 e51b0008 ebf0232e eaffffff  .........#......
02-19 17:46:06.374  7782  7800 E CRASH   :     d139aa50 e51b0010 e50b0004 ea00002e e3000000  ................
02-19 17:46:06.374  7782  7800 E CRASH   :     d139aa60 e51b1010 e1510000 1a00000a e59f00bc  ......Q.........
02-19 17:46:06.374  7782  7800 E CRASH   :     d139aa70 e79f0000 e5900000 e3500000 0a000002  ..........P.....
02-19 17:46:06.375  7782  7800 E CRASH   :     d139aa80 e51b0008 ebf0231c ea000001 e51b0008  .....#..........
02-19 17:46:06.375  7782  7800 E CRASH   :     d139aa90 ebf0231c eaffffff e3000000 e50b0004  .#..............
02-19 17:46:06.375  7782  7800 E CRASH   :     d139aaa0 ea00001c e51b0010 e5d0000d e2000004  ................
02-19 17:46:06.375  7782  7800 E CRASH   :     d139aab0 e3500000 0a00000c e59f0068 e79f0000  ..P.....h.......
02-19 17:46:06.375  7782  7800 E CRASH   :     d139aac0 e5900000 e3500000 0a000002 e51b0008  ......P.........
02-19 17:46:06.375  7782  7800 E CRASH   :     d139aad0 ebf02309 ea000001 e51b0008 ebf02309  .#...........#..
02-19 17:46:06.375  7782  7800 E CRASH   :     d139aae0 e3000000 e50b0004 ea00000a e300000c  ................
02-19 17:46:06.375  7782  7800 E CRASH   :     d139aaf0 e51b1008 e1a01621 e51b200c e5821000  ....!.... ......
02-19 17:46:06.375  7782  7800 E CRASH   :     d139ab00 e51b1010 e51b200c e5821004 e51b1010  ..... ..........
02-19 17:46:06.375  7782  7800 E CRASH   :     d139ab10 e50b1004 e58d0000 e51b0004 e1a0d00b  ................
--------- beginning of crash
02-19 17:46:06.384  7782  7800 E AndroidRuntime: FATAL EXCEPTION: UnityMain
02-19 17:46:06.384  7782  7800 E AndroidRuntime: Process: co.stage.stagevr, PID: 7782
02-19 17:46:06.384  7782  7800 E AndroidRuntime: java.lang.Error: FATAL EXCEPTION [UnityMain]
02-19 17:46:06.384  7782  7800 E AndroidRuntime: Unity version     : 2019.2.0a4
02-19 17:46:06.384  7782  7800 E AndroidRuntime: Device model      : Oculus Pacific
02-19 17:46:06.384  7782  7800 E AndroidRuntime: Device fingerprint: oculus/vr_pacific/pacific:7.1.2/N2G48H/223630.5280.0:user/release-keys
02-19 17:46:06.384  7782  7800 E AndroidRuntime:
02-19 17:46:06.384  7782  7800 E AndroidRuntime: Caused by: java.lang.Error: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr a8fbf00c
02-19 17:46:06.384  7782  7800 E AndroidRuntime: Build fingerprint: 'oculus/vr_pacific/pacific:7.1.2/N2G48H/223630.5280.0:user/release-keys'
02-19 17:46:06.384  7782  7800 E AndroidRuntime: Revision: '0'
02-19 17:46:06.384  7782  7800 E AndroidRuntime: pid: 7782, tid: 7800, name: UnityMain  >>> co.stage.stagevr <<<
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     r0 fffffffc  r1 a8fbf00c  r2 a8fbf00c  r3 80000000
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     r4 00000001  r5 d1480ddc  r6 d1478a70  r7 d1480ce4
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     r8 00000000  r9 00001000  sl cb3ea678  fp e7a7e568
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     ip 000000bf  sp e7a7e3d8  lr d139aa40  pc d13ab778  cpsr 00001e78
02-19 17:46:06.384  7782  7800 E AndroidRuntime:
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at libmonobdwgc-2.GC_mark_from(GC_mark_from:1664)
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at libmonobdwgc-2.GC_mark_some(GC_mark_some:724)
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at libmonobdwgc-2.GC_stopped_mark(GC_stopped_mark:540)
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at libmonobdwgc-2.GC_try_to_collect_inner(GC_try_to_collect_inner:464)
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at libmonobdwgc-2.GC_try_to_collect_general(GC_try_to_collect_general:316)
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at libmonobdwgc-2.GC_gcollect(GC_gcollect:24)
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at libmonobdwgc-2.mono_gc_collect(mono_gc_collect:40)
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at libmonobdwgc-2.ves_icall_System_GC_InternalCollect(ves_icall_System_GC_InternalCollect:20)
02-19 17:46:06.384  7782  7800 E AndroidRuntime:     at Unknown.0000ac44(Unknown Source)

Here is another one:

02-19 16:29:44.578 31519 31541 E CRASH   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr b135b008
02-19 16:29:44.578 31519 31541 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-19 16:29:44.578 31519 31541 E CRASH   : Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
02-19 16:29:44.578 31519 31541 E CRASH   : Build fingerprint: 'oculus/vr_pacific/pacific:7.1.2/N2G48H/223630.5280.0:user/release-keys'
02-19 16:29:44.578 31519 31541 E CRASH   : Revision: '0'
02-19 16:29:44.578 31519 31541 E CRASH   : pid: 31519, tid: 31541, name: UnityMain  >>> co.stage.stagevr <<<
02-19 16:29:44.578 31519 31541 E CRASH   :     r0 00000000  r1 02000000  r2 00000dc8  r3 b135b008
02-19 16:29:44.578 31519 31541 E CRASH   :     r4 c727ab98  r5 dd47eaec  r6 00000000  r7 00000000
02-19 16:29:44.578 31519 31541 E CRASH   :     r8 00000000  r9 dd47ec64  sl c10399b8  fp dd47e5c4
02-19 16:29:44.578 31519 31541 E CRASH   :     ip 00000000  sp dd47e4a0  lr c716f638  pc c7181160  cpsr 00007b35
02-19 16:29:44.578 31519 31541 E CRASH   :
02-19 16:29:44.578 31519 31541 E CRASH   : backtrace:
02-19 16:29:45.192 31519 31541 E CRASH   :     #00  pc 00433160  /data/app/co.stage.stagevr-2/lib/arm/libmonobdwgc-2.0.so (GC_mark_from+1480)
02-19 16:29:45.192 31519 31541 E CRASH   :     #01  pc 00432820  /data/app/co.stage.stagevr-2/lib/arm/libmonobdwgc-2.0.so (GC_mark_some+776)
02-19 16:29:45.192 31519 31541 E CRASH   :     #02  pc 00426ea0  /data/app/co.stage.stagevr-2/lib/arm/libmonobdwgc-2.0.so (GC_stopped_mark+532)
02-19 16:29:45.192 31519 31541 E CRASH   :     #03  pc 004267b4  /data/app/co.stage.stagevr-2/lib/arm/libmonobdwgc-2.0.so (GC_try_to_collect_inner+472)
02-19 16:29:45.192 31519 31541 E CRASH   :     #04  pc 00427cec  /data/app/co.stage.stagevr-2/lib/arm/libmonobdwgc-2.0.so (GC_try_to_collect_general+312)
02-19 16:29:45.192 31519 31541 E CRASH   :     #05  pc 00427dfc  /data/app/co.stage.stagevr-2/lib/arm/libmonobdwgc-2.0.so (GC_gcollect+24)
02-19 16:29:45.192 31519 31541 E CRASH   :     #06  pc 003d9238  /data/app/co.stage.stagevr-2/lib/arm/libmonobdwgc-2.0.so (mono_gc_collect+48)
02-19 16:29:45.192 31519 31541 E CRASH   :     #07  pc 003d1ff4  /data/app/co.stage.stagevr-2/lib/arm/libmonobdwgc-2.0.so (ves_icall_System_GC_InternalCollect+20)
02-19 16:29:45.192 31519 31541 E CRASH   :     #08  pc 00000a34   ( (wrapper managed-to-native) System.GC:InternalCollect (int) {0xa8c7d480} + 0x3c (0xa93919f8 0xa9391a84) [0xdd2fdf00 - Unity Root Domain]+2612)
02-19 16:29:45.192 31519 31541 E CRASH   :
02-19 16:29:45.192 31519 31541 E CRASH   : memory near r1:
02-19 16:29:45.193 31519 31541 E CRASH   :     01ffffe0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.193 31519 31541 E CRASH   :     01fffff0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.193 31519 31541 E CRASH   :     02000000 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.193 31519 31541 E CRASH   :     02000010 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.193 31519 31541 E CRASH   :     02000020 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.193 31519 31541 E CRASH   :     02000030 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.194 31519 31541 E CRASH   :     02000040 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.194 31519 31541 E CRASH   :     02000050 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.194 31519 31541 E CRASH   :     02000060 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.194 31519 31541 E CRASH   :     02000070 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.194 31519 31541 E CRASH   :     02000080 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.194 31519 31541 E CRASH   :     02000090 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.194 31519 31541 E CRASH   :     020000a0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.195 31519 31541 E CRASH   :     020000b0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.195 31519 31541 E CRASH   :     020000c0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.195 31519 31541 E CRASH   :     020000d0 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.195 31519 31541 E CRASH   :
02-19 16:29:45.195 31519 31541 E CRASH   : memory near r3:
02-19 16:29:45.195 31519 31541 E CRASH   :     b135afe8 00000000 00000000 00000000 00000000  ................
02-19 16:29:45.195 31519 31541 E CRASH   :     b135aff8 00000000 00000000 ffffffff ffffffff  ................
02-19 16:29:45.195 31519 31541 E CRASH   :     b135b008 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.195 31519 31541 E CRASH   :     b135b018 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.195 31519 31541 E CRASH   :     b135b028 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.196 31519 31541 E CRASH   :     b135b038 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.196 31519 31541 E CRASH   :     b135b048 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.196 31519 31541 E CRASH   :     b135b058 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.196 31519 31541 E CRASH   :     b135b068 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.196 31519 31541 E CRASH   :     b135b078 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.196 31519 31541 E CRASH   :     b135b088 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.197 31519 31541 E CRASH   :     b135b098 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.197 31519 31541 E CRASH   :     b135b0a8 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.197 31519 31541 E CRASH   :     b135b0b8 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.197 31519 31541 E CRASH   :     b135b0c8 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.197 31519 31541 E CRASH   :     b135b0d8 ffffffff ffffffff ffffffff ffffffff  ................
02-19 16:29:45.197 31519 31541 E CRASH   :
02-19 16:29:45.197 31519 31541 E CRASH   : code around pc:
02-19 16:29:45.197 31519 31541 E CRASH   :     c7181140 e50b3010 e51b3018 e2433004 e50b3018  .0...0...0C..0..
02-19 16:29:45.201 31519 31541 E CRASH   :     c7181150 e51b3018 e2433080 f5d3f000 e51b3018  .0...0C......0..
02-19 16:29:45.201 31519 31541 E CRASH   :     c7181160 e5933000 e50b302c e51b3018 e2433004  .0..,0...0...0C.
02-19 16:29:45.201 31519 31541 E CRASH   :     c7181170 e50b3018 e51b204c e51b302c e1520003  .0..L ..,0....R.
02-19 16:29:45.201  1538  1923 W VRLifecycleManager: onHeadsetMounted
02-19 16:29:45.201 31519 31541 E CRASH   :     c7181180 8a000006 e51b2048 e51b302c e1520003  ....H ..,0....R.
02-19 16:29:45.201 31519 31541 E CRASH   :     c7181190 9a000002 e51b302c f5d3f000 ea00001b  ....,0..........
02-19 16:29:45.201 31519 31541 E CRASH   :     c71811a0 e51b2014 e51b3018 e1520003 9a000000  . ...0....R.....
02-19 16:29:45.201 31519 31541 E CRASH   :     c71811b0 ea0001a0 e51b3018 e5933000 e50b302c  .....0...0..,0..
02-19 16:29:45.201 31519 31541 E CRASH   :     c71811c0 e51b3018 e2433004 e50b3018 e51b204c  .0...0C..0..L ..
02-19 16:29:45.202 31519 31541 E CRASH   :     c71811d0 e51b302c e1520003 8a000006 e51b2048  ,0....R.....H ..
02-19 16:29:45.202 31519 31541 E CRASH   :     c71811e0 e51b302c e1520003 9a000002 e51b302c  ,0....R.....,0..
02-19 16:29:45.202 31519 31541 E CRASH   :     c71811f0 f5d3f000 ea000005 e51b2014 e51b3018  ......... ...0..
02-19 16:29:45.202 31519 31541 E CRASH   :     c7181200 e1520003 9a000000 ea00018a eaffffcf  ..R.............
02-19 16:29:45.202 31519 31541 E CRASH   :     c7181210 ea0000cb e51b3014 e5933000 e50b3058  .....0...0..X0..
02-19 16:29:45.202 31519 31541 E CRASH   :     c7181220 e51b3014 e2833080 f5d3f000 e51b204c  .0...0......L ..
02-19 16:29:45.202 31519 31541 E CRASH   :     c7181230 e51b3058 e1520003 8a0000be e51b2048  X0....R.....H ..
02-19 16:29:45.202 31519 31541 E CRASH   :
02-19 16:29:45.202 31519 31541 E CRASH   : code around lr:
02-19 16:29:45.202 31519 31541 E CRASH   :     c716f618 e59f20f4 e7933002 e5933000 e3530000  . ...0...0....S.
02-19 16:29:45.202 31519 31541 E CRASH   :     c716f628 0a000003 e51b3010 e1a00003 ebfffb2e  .....0..........
02-19 16:29:45.202 31519 31541 E CRASH   :     c716f638 ea000002 e51b3010 e1a00003 ebfffae0  .....0..........
02-19 16:29:45.202 31519 31541 E CRASH   :     c716f648 e51b3008 ea00002b e51b2008 e3520000  .0..+.... ....R.
02-19 16:29:45.202 31519 31541 E CRASH   :     c716f658 1a00000b e59f20b0 e7933002 e5933000  ..... ...0...0..
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f668 e3530000 0a000003 e51b3010 e1a00003  ..S......0......
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f678 ebfffb1d ea000002 e51b3010 e1a00003  .........0......
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f688 ebfffacf e3a03000 ea00001a e51b2008  .....0....... ..
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f698 e5d2200d e2022004 e3520000 0a00000d  . ... ....R.....
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f6a8 e59f2064 e7933002 e5933000 e3530000  d ...0...0....S.
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f6b8 0a000003 e51b3010 e1a00003 ebfffb0a  .....0..........
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f6c8 ea000002 e51b3010 e1a00003 ebfffabc  .....0..........
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f6d8 e3a03000 ea000007 e51b3010 e1a02623  .0.......0..#&..
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f6e8 e51b3014 e5832000 e51b3014 e51b2008  .0... ...0... ..
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f6f8 e5832004 e51b3008 e1a00003 e24bd004  . ...0........K.
02-19 16:29:45.203 31519 31541 E CRASH   :     c716f708 e8bd8800 0010b6dc fffffd50 fffffd60  ........P...`...
02-19 16:29:45.204  1538  1923 I PlatformPluginManager: setHeadsetMountState: true
02-19 16:29:45.205 31519 31541 E MessageQueue: IdleHandler threw exception
02-19 16:29:45.205 31519 31541 E MessageQueue: java.lang.Error: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr b135b008
02-19 16:29:45.205 31519 31541 E MessageQueue: Build fingerprint: 'oculus/vr_pacific/pacific:7.1.2/N2G48H/223630.5280.0:user/release-keys'
02-19 16:29:45.205 31519 31541 E MessageQueue: Revision: '0'
02-19 16:29:45.205 31519 31541 E MessageQueue: pid: 31519, tid: 31541, name: UnityMain  >>> co.stage.stagevr <<<
02-19 16:29:45.205 31519 31541 E MessageQueue:     r0 00000000  r1 02000000  r2 00000dc8  r3 b135b008
02-19 16:29:45.205 31519 31541 E MessageQueue:     r4 c727ab98  r5 dd47eaec  r6 00000000  r7 00000000
02-19 16:29:45.205 31519 31541 E MessageQueue:     r8 00000000  r9 dd47ec64  sl c10399b8  fp dd47e5c4
02-19 16:29:45.205 31519 31541 E MessageQueue:     ip 00000000  sp dd47e4a0  lr c716f638  pc c7181160  cpsr 00007b35
02-19 16:29:45.205 31519 31541 E MessageQueue:
02-19 16:29:45.205 31519 31541 E MessageQueue:     at libmonobdwgc-2.GC_mark_from(GC_mark_from:1480)
02-19 16:29:45.205 31519 31541 E MessageQueue:     at libmonobdwgc-2.GC_mark_some(GC_mark_some:776)
02-19 16:29:45.205 31519 31541 E MessageQueue:     at libmonobdwgc-2.GC_stopped_mark(GC_stopped_mark:532)
02-19 16:29:45.205 31519 31541 E MessageQueue:     at libmonobdwgc-2.GC_try_to_collect_inner(GC_try_to_collect_inner:472)
02-19 16:29:45.205 31519 31541 E MessageQueue:     at libmonobdwgc-2.GC_try_to_collect_general(GC_try_to_collect_general:312)
02-19 16:29:45.205 31519 31541 E MessageQueue:     at libmonobdwgc-2.GC_gcollect(GC_gcollect:24)
02-19 16:29:45.205 31519 31541 E MessageQueue:     at libmonobdwgc-2.mono_gc_collect(mono_gc_collect:48)
02-19 16:29:45.205 31519 31541 E MessageQueue:     at libmonobdwgc-2.ves_icall_System_GC_InternalCollect(ves_icall_System_GC_InternalCollect:20)
02-19 16:29:45.205 31519 31541 E MessageQueue:     at Unknown.00000a34(Unknown Source)

And another:

02-01 11:41:39.271  4522  4522 E AndroidRuntime: FATAL EXCEPTION: main
02-01 11:41:39.271  4522  4522 E AndroidRuntime: Process: co.stage.stagevr, PID: 4522
02-01 11:41:39.271  4522  4522 E AndroidRuntime: java.lang.Error: FATAL EXCEPTION [main]
02-01 11:41:39.271  4522  4522 E AndroidRuntime: Unity version     : 2018.3.4f1
02-01 11:41:39.271  4522  4522 E AndroidRuntime: Device model      : Oculus Pacific
02-01 11:41:39.271  4522  4522 E AndroidRuntime: Device fingerprint: oculus/vr_pacific/pacific:7.1.2/N2G48H/223630.5280.0:user/release-keys
02-01 11:41:39.271  4522  4522 E AndroidRuntime:
02-01 11:41:39.271  4522  4522 E AndroidRuntime: Caused by: java.lang.Error: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr b16bd008
02-01 11:41:39.271  4522  4522 E AndroidRuntime: Build fingerprint: 'oculus/vr_pacific/pacific:7.1.2/N2G48H/223630.5280.0:user/release-keys'
02-01 11:41:39.271  4522  4522 E AndroidRuntime: Revision: '0'
02-01 11:41:39.271  4522  4522 E AndroidRuntime: pid: 4522, tid: 4644, name: rdtServerBroadc  >>> co.stage.stagevr <<<
02-01 11:41:39.271  4522  4522 E AndroidRuntime:     r0 00000000  r1 08000000  r2 00000dc8  r3 b16bd008
02-01 11:41:39.271  4522  4522 E AndroidRuntime:     r4 c777ab98  r5 99f94800  r6 c34d9178  r7 00010000
02-01 11:41:39.271  4522  4522 E AndroidRuntime:     r8 c7c75cd0  r9 c7691af0  sl 99ec3870  fp 9f9ff154
02-01 11:41:39.271  4522  4522 E AndroidRuntime:     ip 00000000  sp 9f9ff030  lr c766f638  pc c7681160  cpsr 00001224
02-01 11:41:39.271  4522  4522 E AndroidRuntime:
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_mark_from(GC_mark_from:1480)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_mark_some(GC_mark_some:776)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_stopped_mark(GC_stopped_mark:532)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_try_to_collect_inner(GC_try_to_collect_inner:472)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_collect_or_expand(GC_collect_or_expand:288)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_alloc_large(GC_alloc_large:472)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_generic_malloc(GC_generic_malloc:472)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_malloc_kind_global(GC_malloc_kind_global:468)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_malloc_kind(GC_malloc_kind:28)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.GC_malloc_atomic(GC_malloc_atomic:24)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.mono_gc_alloc_vector(mono_gc_alloc_vector:64)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.mono_array_new_specific_checked(mono_array_new_specific_checked:204)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at libmonobdwgc-2.ves_icall_array_new_specific(ves_icall_array_new_specific:36)
02-01 11:41:39.271  4522  4522 E AndroidRuntime:        at Unknown.00002334(Unknown Source)

Here is further app/device info:

"report_id": "AWkRwJ7mqbGh_soiMfAx",
    "app_build": "",
    "install_mode": "dev_release",
    "install_store": "",
    "name": "co.stage.stagevr",
    "version": "0.49.785",
    "build_guid": "217f8fdd135a552499bfc8264c765ef2",
    "build_tags": [],
    "client_report_id": "0de35521143a851d7967395c612486cc",
    "client_ts": 1550781028199,
    "userid": "9068a880a8f48652e84003b4b8216b25",
    "debug_device": true,
    "cpu": "ARMv7 VFPv3 NEON;Qualcomm Technologies, Inc APQ8096pro",
    "cpu_count": 4,
    "cpu_freq": 2342,
    "device_info_flags": 50333770,
    "rooted_or_jailbroken": false,
    "device_model": "Oculus/Pacific/pacific",
    "device_ram": 2733,
    "screen_size": "2560 x 1440",
    "screen_dpi": 480,
    "refresh_rate": 72,
    "sensor_flags": 150,
    "system_language": "en",
    "device_type": 1,
    "device_vram": 1024,
    "enabled_vr_devices": [
        "Oculus"
    ],
    "gpu_api": 11,
    "gpu_caps": 5238719,
    "gpu_copy_texture_support": 31,
    "gpu_device_id": 0,
    "gpu_vendor_id": 0,
    "gpu_driver": "V@360.0 (GIT@2b8ed1c, Iea5f0bf7ba) (Date:12/18/18)",
    "gpu_max_cubemap_size": 16384,
    "gpu_max_texture_size": 16384,
    "gfx": "Adreno (TM) 530",
    "gpu_render_texture_support": 511,
    "gpu_shader_caps": 50,
    "gpu_supported_render_target_count": 8,
    "gpu_texture_format_support": 1017,
    "gpu_vendor": "Qualcomm",
    "gpu_version": "OpenGL ES 3.2",
    "is_editor": false,
    "is_fullscreen": true,
    "is_wsar_remote": false,
    "is_ar_app": false,
    "localprojectid": "e5fde86ca0da5ee4babbb8bb9ab6266b",
    "os_family": 0,
    "os": "Android OS 7.1.2 / API-25 (N2G48H/2236300052800000)",
    "platform": "AndroidPlayer",
    "platformid": 11,
    "appid": "7f34124a-8745-4924-a3c4-71a77a5580ba",
    "screen_orientation": 3,
    "scripting_backend": "Mono",
    "sessionid": 0,
    "sdk_ver": "2018.3.6f1",
    "vr_device_name": "",
    "vr_device_model": "",
    "logs_supported": true
     }

Did you find the ultimate cause for it? We’re also experiencing a similar crash, happening solely to Android 9 users.

1 Like

Have you also submitted a bug report for this through the bug reporter tool?

1 Like

Could you please submit a bug-report as described in this document:

It’s important that you report these issues together with a reproduction project if you want them to get fixed. If you don’t do it, it might be a long time until someone else reports them or until Unity Technologies find them.

After you submitted the bug-report, you receive a confirmation email with a bug-report Case number. You can post the Case number (number only, not the link) in this forum thread for Unity staff to pick up, in case they see it.

Hello!

Using Firebase?

I hate to update Firebase :slight_smile:

I faced the same issue. I created vuforia application using unity. I exported Android bundle from unity, If I try to open the same bundle using from Android Studio , it works fine. But when I convert to library and invoke the player activity from another Android Native app, it just crashes.

2019-07-08 18:16:52.164 17375-17919/com.troy.myapplication E/CRASH: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 94afcff8
2019-07-08 18:16:52.164 17375-17919/com.troy.myapplication E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-07-08 18:16:52.164 17375-17919/com.troy.myapplication E/CRASH: Build type ‘Development’, Scripting Backend ‘il2cpp’, CPU ‘armeabi-v7a’
2019-07-08 18:16:52.164 17375-17919/com.troy.myapplication E/CRASH: Build fingerprint: ‘motorola/sanders_n/sanders_n:7.1.1/NPSS26.116-26-4/4:user/release-keys’
2019-07-08 18:16:52.164 17375-17919/com.troy.myapplication E/CRASH: Revision: ‘p400’

Any hep would be appreciated.

Having same crashing errors and don’t know how to interpret the logcat to find a solution

I’m getting similar results with 2019 Unity, basically, when ran on device, the app runs fine for the first time when it’s connected through USB, but if I close/open it on the device later, it crashes 3-4 times in a row without getting to the first screen, then opens and works fine, then if I close it and try to open again - the crash cycle repeats.
Logcat is full of messages like this:

07-11 00:32:53.631: E/mono-rt(9255): Got a SIGSEGV while executing native code. This usually indicates
07-11 00:32:53.631: E/mono-rt(9255): a fatal error in the mono runtime or one of the native libraries
07-11 00:32:53.631: E/mono-rt(9255): used by your application.
07-11 00:32:53.651: E/CRASH(9255): Version ‘2019.3.0a7 (5a4bb929feff)’, Build type ‘Release’, Scripting Backend ‘mono’, CPU ‘armeabi-v7a’