Case 622978
I have run into a SIGSEGV error and would like guidance on how I can resolve this. I have duplicated the error using multiple android devices and publishing from multiple machines… however no one else has been able to replicate the error.
The project is a websocket library. Unity talks to JavaObject which handles the socket and then passes the result back to unity using a ndk library. Everything works fine… until I disconnect at which point I crash.
I have dug into the websocket library and confirmed that any connection loss (forced or otherwise) from the socket will cause this crash.
How can I resolve this issue ? How can I investigate further ? Here is my stack trace.
08-13 11:17:14.712: A/libc(31164): Fatal signal 11 (SIGSEGV) at 0x61026ffc (code=1), thread 31181 (UnityMain)
08-13 11:17:14.821: I/DEBUG(138): TIME : 2014-8-13 11:17:14
08-13 11:17:14.821: I/DEBUG(138): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-13 11:17:14.821: I/DEBUG(138): Build fingerprint: ‘lge/u2_tmo_us/u2:4.1.2/JZO54K/P76920h.4DF8A6FF:user/release-keys’
08-13 11:17:14.821: I/DEBUG(138): pid: 31164, tid: 31181, name: UnityMain >>> ibt.ortc.unity <<<
08-13 11:17:14.821: I/DEBUG(138): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 61026ffc
08-13 11:17:15.462: I/DEBUG(138): r0 00000001 r1 00040004 r2 00000228 r3 00000218
08-13 11:17:15.462: I/DEBUG(138): r4 5d91279c r5 00000010 r6 61026ff0 r7 61026ffc
08-13 11:17:15.462: I/DEBUG(138): r8 00000000 r9 62f73a20 sl 5beb7ffc fp 5e86fc64
08-13 11:17:15.462: I/DEBUG(138): ip 5d91279c sp 5e86fb80 lr 5d82d2f0 pc 5d82d094 cpsr 60000010
08-13 11:17:15.462: I/DEBUG(138): d0 0074006c00610034 d1 005c0065006d0000
08-13 11:17:15.462: I/DEBUG(138): d2 006f006d00650029 d3 00650052005c0000
08-13 11:17:15.462: I/DEBUG(138): d4 00690074006c0061 d5 006500540065006d
08-13 11:17:15.462: I/DEBUG(138): d6 0063002e00740073 d7 00310033003a0073
08-13 11:17:15.462: I/DEBUG(138): d8 403b485841da42c0 d9 0000000000000000
08-13 11:17:15.462: I/DEBUG(138): d10 0000000000000000 d11 0000000000000000
08-13 11:17:15.462: I/DEBUG(138): d12 0000000000000000 d13 0000000000000000
08-13 11:17:15.462: I/DEBUG(138): d14 0000000000000000 d15 0000000000000000
08-13 11:17:15.462: I/DEBUG(138): d16 0000000000000000 d17 0000000000000000
08-13 11:17:15.462: I/DEBUG(138): d18 3fddb3d700000000 d19 0000000000000000
08-13 11:17:15.462: I/DEBUG(138): d20 0000000000000000 d21 bf800000bf8013aa
08-13 11:17:15.462: I/DEBUG(138): d22 0000000000000000 d23 00000000bf19a566
08-13 11:17:15.462: I/DEBUG(138): d24 00000000404511a3 d25 0000000000000000
08-13 11:17:15.462: I/DEBUG(138): d26 3fddb3d700000000 d27 0000000000000000
08-13 11:17:15.462: I/DEBUG(138): d28 0000000000000000 d29 3f8000003f8013aa
08-13 11:17:15.462: I/DEBUG(138): d30 bfddb3d700000000 d31 4120000041167e3e
08-13 11:17:15.462: I/DEBUG(138): scr 80000012
08-13 11:17:15.470: I/DEBUG(138): backtrace:
08-13 11:17:15.470: I/DEBUG(138): #00 pc 002d4094 /data/data/ibt.ortc.unity/lib/libmono.so (GC_mark_from+1276)
08-13 11:17:15.470: I/DEBUG(138): #01 pc 002d36bc /data/data/ibt.ortc.unity/lib/libmono.so (GC_mark_some+824)
08-13 11:17:15.470: I/DEBUG(138): #02 pc 002c91b4 /data/data/ibt.ortc.unity/lib/libmono.so (GC_stopped_mark+532)
08-13 11:17:15.470: I/DEBUG(138): #03 pc 002c8be4 /data/data/ibt.ortc.unity/lib/libmono.so (GC_try_to_collect_inner+524)
08-13 11:17:15.470: I/DEBUG(138): #04 pc 002ca43c /data/data/ibt.ortc.unity/lib/libmono.so (GC_collect_or_expand+212)
08-13 11:17:15.470: I/DEBUG(138): #05 pc 002ca818 /data/data/ibt.ortc.unity/lib/libmono.so (GC_allocobj+356)
08-13 11:17:15.470: I/DEBUG(138): #06 pc 002d11ac /data/data/ibt.ortc.unity/lib/libmono.so (GC_generic_malloc_inner+288)
08-13 11:17:15.470: I/DEBUG(138): #07 pc 002d1370 /data/data/ibt.ortc.unity/lib/libmono.so (GC_generic_malloc+120)
08-13 11:17:15.470: I/DEBUG(138): #08 pc 002d1630 /data/data/ibt.ortc.unity/lib/libmono.so (GC_malloc_atomic+168)
08-13 11:17:15.470: I/DEBUG(138): #09 pc 002052c8 /data/data/ibt.ortc.unity/lib/libmono.so (mono_object_allocate_ptrfree+52)
08-13 11:17:15.470: I/DEBUG(138): #10 pc 002064f8 /data/data/ibt.ortc.unity/lib/libmono.so (mono_string_new_size+164)
08-13 11:17:15.470: I/DEBUG(138): #11 pc 00243628 /data/data/ibt.ortc.unity/lib/libmono.so (ves_icall_System_String_InternalAllocateStr+32)
08-13 11:17:15.470: I/DEBUG(138): #12 pc 0000ff54
08-13 11:17:15.470: I/DEBUG(138): stack:
08-13 11:17:15.470: I/DEBUG(138): 5e86fb40 00000000
08-13 11:17:15.470: I/DEBUG(138): 5e86fb44 5e86fb54
08-13 11:17:15.470: I/DEBUG(138): 5e86fb48 5e86fd34
08-13 11:17:15.470: I/DEBUG(138): 5e86fb4c 00000000
08-13 11:17:15.470: I/DEBUG(138): 5e86fb50 00000000
08-13 11:17:15.470: I/DEBUG(138): 5e86fb54 00000000
08-13 11:17:15.470: I/DEBUG(138): 5e86fb58 5bf27e00
08-13 11:17:15.470: I/DEBUG(138): 5e86fb5c 60f2c000
08-13 11:17:15.470: I/DEBUG(138): 5e86fb60 5e86fbc0
08-13 11:17:15.470: I/DEBUG(138): 5e86fb64 ffffffff
08-13 11:17:15.470: I/DEBUG(138): 5e86fb68 5e86fb9c
08-13 11:17:15.470: I/DEBUG(138): 5e86fb6c 5d91279c /data/data/ibt.ortc.unity/lib/libmono.so
08-13 11:17:15.470: I/DEBUG(138): 5e86fb70 00000007
08-13 11:17:15.470: I/DEBUG(138): 5e86fb74 5c952d08
08-13 11:17:15.470: I/DEBUG(138): 5e86fb78 df0027ad
08-13 11:17:15.470: I/DEBUG(138): 5e86fb7c 00000000
08-13 11:17:15.470: I/DEBUG(138): #00 5e86fb80 00000052
08-13 11:17:15.470: I/DEBUG(138): 5e86fb84 5beb0000
08-13 11:17:15.470: I/DEBUG(138): 5e86fb88 5bea8000
08-13 11:17:15.470: I/DEBUG(138): 5e86fb8c 5bea8078
08-13 11:17:15.470: I/DEBUG(138): 5e86fb90 5be8a010
08-13 11:17:15.470: I/DEBUG(138): 5e86fb94 5be8a010
08-13 11:17:15.470: I/DEBUG(138): 5e86fb98 5d91279c /data/data/ibt.ortc.unity/lib/libmono.so
08-13 11:17:15.470: I/DEBUG(138): 5e86fb9c 0005bf30
08-13 11:17:15.470: I/DEBUG(138): 5e86fba0 5bef8bf0
08-13 11:17:15.470: I/DEBUG(138): 5e86fba4 0005bec1
08-13 11:17:15.470: I/DEBUG(138): 5e86fba8 5beb7578
08-13 11:17:15.477: I/DEBUG(138): 5e86fbac 0005bf22
08-13 11:17:15.477: I/DEBUG(138): 5e86fbb0 5bef3b98
08-13 11:17:15.477: I/DEBUG(138): 5e86fbb4 0005bec3
08-13 11:17:15.477: I/DEBUG(138): 5e86fbb8 5beee8a0
08-13 11:17:15.477: I/DEBUG(138): 5e86fbbc 0005bebc
08-13 11:17:15.477: I/DEBUG(138): … …
08-13 11:17:15.477: I/DEBUG(138): #01 5e86fc68 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fc6c 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fc70 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fc74 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fc78 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fc7c 5e86fcac
08-13 11:17:15.477: I/DEBUG(138): 5e86fc80 5d91279c /data/data/ibt.ortc.unity/lib/libmono.so
08-13 11:17:15.477: I/DEBUG(138): 5e86fc84 5d91279c /data/data/ibt.ortc.unity/lib/libmono.so
08-13 11:17:15.477: I/DEBUG(138): 5e86fc88 5e86fcc4
08-13 11:17:15.477: I/DEBUG(138): 5e86fc8c 5d8221b8 /data/data/ibt.ortc.unity/lib/libmono.so (GC_stopped_mark+536)
08-13 11:17:15.477: I/DEBUG(138): #02 5e86fc90 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fc94 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fc98 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fc9c 5d82bfec /data/data/ibt.ortc.unity/lib/libmono.so (clear_marks_for_block)
08-13 11:17:15.477: I/DEBUG(138): 5e86fca0 5d91279c /data/data/ibt.ortc.unity/lib/libmono.so
08-13 11:17:15.477: I/DEBUG(138): 5e86fca4 5d821258 /data/data/ibt.ortc.unity/lib/libmono.so (GC_never_stop_func)
08-13 11:17:15.477: I/DEBUG(138): 5e86fca8 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fcac 0000014e
08-13 11:17:15.477: I/DEBUG(138): 5e86fcb0 5e86fcc4
08-13 11:17:15.477: I/DEBUG(138): 5e86fcb4 5d82c28c /data/data/ibt.ortc.unity/lib/libmono.so (GC_clear_marks+36)
08-13 11:17:15.477: I/DEBUG(138): 5e86fcb8 5d91279c /data/data/ibt.ortc.unity/lib/libmono.so
08-13 11:17:15.477: I/DEBUG(138): 5e86fcbc 00000000
08-13 11:17:15.477: I/DEBUG(138): 5e86fcc0 5e86fcf4
08-13 11:17:15.477: I/DEBUG(138): 5e86fcc4 5d821be8 /data/data/ibt.ortc.unity/lib/libmono.so (GC_try_to_collect_inner+528)
08-13 11:17:15.485: I/DEBUG(138): memory near r1:
08-13 11:17:15.485: I/DEBUG(138): 0003ffe4 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 0003fff4 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 00040004 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 00040014 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 00040024 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): memory near r4:
08-13 11:17:15.485: I/DEBUG(138): 5d91277c 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 5d91278c 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 5d91279c 003b968c 00000000 00000000 401105dd …;…@
08-13 11:17:15.485: I/DEBUG(138): 5d9127ac 40111709 40104acc 40120087 40109578 …@.J.@…@x…@
08-13 11:17:15.485: I/DEBUG(138): 5d9127bc 40119191 401138c5 401045ac 4010a5d1 …@.8.@.E.@…@
08-13 11:17:15.485: I/DEBUG(138): memory near r6:
08-13 11:17:15.485: I/DEBUG(138): 61026fd0 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 61026fe0 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 61026ff0 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 61027000 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 61027010 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): memory near r7:
08-13 11:17:15.485: I/DEBUG(138): 61026fdc ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 61026fec ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 61026ffc ffffffff 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 6102700c 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 6102701c 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): memory near r9:
08-13 11:17:15.485: I/DEBUG(138): 62f73a00 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 62f73a10 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 62f73a20 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 62f73a30 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): 62f73a40 ffffffff ffffffff ffffffff ffffffff …
08-13 11:17:15.485: I/DEBUG(138): memory near sl:
08-13 11:17:15.485: I/DEBUG(138): 5beb7fdc 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 5beb7fec 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 5beb7ffc 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 5beb800c 00000000 609c3a90 00000000 5cbdb900 …:........\ 08-13 11:17:15.485: I/DEBUG(138): 5beb801c 00000000 5cabab40 00000000 60f24c30 ....@..\....0L.
08-13 11:17:15.485: I/DEBUG(138): memory near fp:
08-13 11:17:15.485: I/DEBUG(138): 5e86fc44 5d91279c 00000007 0000014e 0000005c .‘.]…N….…
08-13 11:17:15.485: I/DEBUG(138): 5e86fc54 00000000 5d92bc78 5d9172c4 5e86fc8c …x…].r.]…^
08-13 11:17:15.485: I/DEBUG(138): 5e86fc64 5d82c6c0 00000000 00000000 00000000 …]…
08-13 11:17:15.485: I/DEBUG(138): 5e86fc74 00000000 00000000 5e86fcac 5d91279c …^.’.]
08-13 11:17:15.485: I/DEBUG(138): 5e86fc84 5d91279c 5e86fcc4 5d8221b8 00000000 .‘.]…^.!.]…
08-13 11:17:15.485: I/DEBUG(138): memory near ip:
08-13 11:17:15.485: I/DEBUG(138): 5d91277c 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 5d91278c 00000000 00000000 00000000 00000000 …
08-13 11:17:15.485: I/DEBUG(138): 5d91279c 003b968c 00000000 00000000 401105dd …;…@
08-13 11:17:15.485: I/DEBUG(138): 5d9127ac 40111709 40104acc 40120087 40109578 …@.J.@…@x…@
08-13 11:17:15.485: I/DEBUG(138): 5d9127bc 40119191 401138c5 401045ac 4010a5d1 …@.8.@.E.@…@
08-13 11:17:15.485: I/DEBUG(138): memory near sp:
08-13 11:17:15.485: I/DEBUG(138): 5e86fb60 5e86fbc0 ffffffff 5e86fb9c 5d91279c …^…^.’.]
08-13 11:17:15.485: I/DEBUG(138): 5e86fb70 00000007 5c952d08 df0027ad 00000000 …-..‘…
08-13 11:17:15.485: I/DEBUG(138): 5e86fb80 00000052 5beb0000 5bea8000 5bea8078 R…[…[x…[
08-13 11:17:15.485: I/DEBUG(138): 5e86fb90 5be8a010 5be8a010 5d91279c 0005bf30 …[…[.’.]0…
08-13 11:17:15.485: I/DEBUG(138): 5e86fba0 5bef8bf0 0005bec1 5beb7578 0005bf22 …[…xu.["…
08-13 11:17:15.485: I/DEBUG(138): code around pc:
08-13 11:17:15.485: I/DEBUG(138): 5d82d074 e1a03007 e0633002 e51b2088 e0823003 .0…0c… …0…
08-13 11:17:15.485: I/DEBUG(138): 5d82d084 e50b3088 e2477004 ea000000 e1a00000 .0…pG…
08-13 11:17:15.485: I/DEBUG(138): 5d82d094 e5973000 e50b3060 e2477004 e51b3060 .0…`0…pG.`0…
08-13 11:17:15.493: I/DEBUG(138): 5d82d0a4 e153000a 3a000003 e51b3060 e1530009 …S…:`0…S.
08-13 11:17:15.493: I/DEBUG(138): 5d82d0b4 2a000000 ea00000e e1560007 8a000173 …*…V.s…
08-13 11:17:15.493: I/DEBUG(138): code around lr:
08-13 11:17:15.493: I/DEBUG(138): 5d82d2d0 0a000003 e51b3058 e1a00003 ebffdaf9 …X0…
08-13 11:17:15.493: I/DEBUG(138): 5d82d2e0 ea000039 e51b3058 e1a00003 ebffdaab 9…X0…
08-13 11:17:15.493: I/DEBUG(138): 5d82d2f0 ea000035 e51b2050 e51b304c e0633002 5…P …L0…0c.
08-13 11:17:15.493: I/DEBUG(138): 5d82d300 e50b3050 ea000000 e1a00000 e51b305c P0…\0…
08-13 11:17:15.493: I/DEBUG(138): 5d82d310 e2832018 e51b3050 e1a032c3 e1a03103 . …P0…2…1…
08-13 11:17:15.493: I/DEBUG(138): memory map around fault addr 61026ffc:
08-13 11:17:15.493: I/DEBUG(138): 60f23000-60f57000
08-13 11:17:15.493: I/DEBUG(138): (no map for address)
08-13 11:17:15.493: I/DEBUG(138): 61027000-6102b000
08-13 11:17:15.798: W/AudioTrack(143): stepServer() could not lock cblk
08-13 11:17:15.798: I/BootReceiver(348): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
08-13 11:17:15.829: D/LvOutput(143): initCheck: 0
08-13 11:17:15.829: D/LvOutput(143): detachEffects: detach processing for output 2, stream 3, session 170
08-13 11:17:15.829: D/LvOutput(143): detachEffects: no output processing was attached to this stream
08-13 11:17:15.829: W/InputDispatcher(348): channel ‘43afff80 ibt.ortc.unity/com.unity3d.player.UnityPlayerNativeActivity (server)’ ~ Consumer closed input channel or an error occurred. events=0x9
08-13 11:17:15.829: E/InputDispatcher(348): channel ‘43afff80 ibt.ortc.unity/com.unity3d.player.UnityPlayerNativeActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!
08-13 11:17:15.829: D/bsthal(348): activate, handle: 1598182229, enabled: 0
08-13 11:17:15.829: I/bsthal(348): disable sensor
08-13 11:17:15.829: D/bsthal(348): setDelay, handle: 1598182229 delay: 20000000
08-13 11:17:15.829: D/LockPatternUtils(348): OMADM Lock is OFF
08-13 11:17:15.829: I/bsthal(348): set delay of to 20ms
08-13 11:17:15.829: I/ActivityManager(348): Process ibt.ortc.unity (pid 31164) has died.
08-13 11:17:15.829: I/WindowState(348): WIN DEATH: Window{42fbe278 SurfaceView paused=false}
08-13 11:17:15.829: W/ActivityManager(348): Force removing ActivityRecord{4396a1f0 ibt.ortc.unity/com.unity3d.player.UnityPlayerNativeActivity}: app died, no saved state
08-13 11:17:15.868: D/Zygote(141): Process 31164 terminated by signal (11)
08-13 11:17:15.915: W/InputDispatcher(348): Attempted to unregister already unregistered input channel ‘43afff80 ibt.ortc.unity/com.unity3d.player.UnityPlayerNativeActivity (server)’