[Android] Native crash (SIGSEGV) on app startup
See original GitHub issueI tried to integrate sonar into the app that I work on. On some phones with version 0.0.5 and 0.0.8, I noticed a crash in the native part of the code right on the app startup. It’s so quick that I’m not able to even get to the main activity or any point where I can attach the debugger.
Unfortunately, this does not reproduce 100% of the times on all phones. When you hit this, the only available option for me was to disable sonar. Uninstalling and reinstalling the app did not help. I was able to reproduce it on a Nexus 6P and a Google Pixel 2.
I’m attaching the stack trace below, I am not sure if it’s entirely helpful or if it points to the actual problem or not. Let me know if there is any debug option I can turn on to provide more useful logs.
Thank you.
06-29 16:33:05.376 22827-22851/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x16 in tid 22851 (lix.mediaclient), pid 22827 (lix.mediaclient)
06-29 16:33:05.440 22857-22857/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: ‘google/walleye/walleye:8.1.0/OPM2.171026.006.C1/4769658:user/release-keys’
Revision: ‘MP1’
ABI: ‘arm’
pid: 22827, tid: 22851, name: lix.mediaclient >>> com.netflix.mediaclient <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x16
Cause: null pointer dereference
r0 00000002 r1 d118de64 r2 d118debc r3 00000000
r4 00000002 r5 d118debc r6 00002710 r7 d118df18
r8 d118e010 r9 ed1331b0 sl 00000006 fp d118e0c8
ip d147d724 sp d118de50 lr d14f0fd8 pc d14f0d40 cpsr 600e0010
06-29 16:33:05.441 22857-22857/? A/DEBUG: backtrace:
#00 pc 0002fd40 /data/app/com.netflix.mediaclient-FYX3_ueYVM2-PK2yN2gG3g==/lib/arm/libssl.so (__gnu_Unwind_Resume+8)
#01 pc 0002ffd4 /data/app/com.netflix.mediaclient-FYX3_ueYVM2-PK2yN2gG3g==/lib/arm/libssl.so (___Unwind_Resume+20)
06-29 16:33:06.477 873-873/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_00
06-29 16:33:06.495 1144-1184/? W/zygote64: kill(-20841, 9) failed: No such process
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:30 (18 by maintainers)
Top GitHub Comments
I still get this on 0.9.0+
@passy, I upgraded our dependency to
0.0.9
, and it seems to be working fine on both Nexus 6P and Pixel 2. We don’t see any native crashes on startup. The crash was not a 100% repro on the 6P, so I’ll keep an eye out if it re-appears.Thank you so much for updating OpenSSL – seems to have done the trick!