-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Android] crash with SIGABRT in release builds #8432
Comments
@dbrant thank you for reaching out and reporting this proguard issue. |
You can workaround this issue for now by including:
in your proguard configuration. |
Thanks! The workaround works. |
Landed on release branch with #8437 |
This adds a workaround to our ProGuard rules to prevent a SIGABRT crash from the Mapbox library. mapbox/mapbox-gl-native#8432 Please remove when Mapbox updates its own ProGuard configuration. This also removes an unused ProGuard rule, since we're no longer using the PhotoView component. Bug: T160587 Change-Id: I63f297fcc60394df68e53335946c735c3a4fc19c
Hello |
@HovsepShhakaryan instead of commenting on old closed issues could you open a new one instead? Comments on closed issues often go unnoticed. Would you be able to include the full stacktrace of your crash and mention the used library version? Thank you! |
mapbox enable location generates Crash and show error
// checkForMyLocationButtonVisibility();
//
// 23173.94921875
// Activate with options // Enable to make component visible
|
Platform: Android
Mapbox SDK version: 5.0.0.beta3
Steps to trigger behavior
Logcat
03-15 17:29:30.396 5852-5852/? E/libc++abi: terminating with uncaught exception of type jni::PendingJavaException
03-15 17:29:30.396 5852-5852/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 5852 (wikipedia.alpha)
03-15 17:29:30.456 983-983/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-15 17:29:30.456 983-983/? A/DEBUG: Build fingerprint: 'Verizon/heroqltevzw/heroqltevzw:6.0.1/MMB29M/G930VVRU4API3:user/release-keys'
03-15 17:29:30.456 983-983/? A/DEBUG: Revision: '14'
03-15 17:29:30.456 983-983/? A/DEBUG: ABI: 'arm64'
03-15 17:29:30.456 983-983/? A/DEBUG: pid: 5852, tid: 5852, name: wikipedia.alpha >>> org.wikipedia.alpha <<<
03-15 17:29:30.456 983-983/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
03-15 17:29:30.496 983-983/? A/DEBUG: x0 0000000000000000 x1 00000000000016dc x2 0000000000000006 x3 0000000000000000
03-15 17:29:30.496 983-983/? A/DEBUG: x4 0000000000000000 x5 0000000000000001 x6 0000000000000000 x7 0000000000000000
03-15 17:29:30.496 983-983/? A/DEBUG: x8 0000000000000083 x9 fefeff6d6e68736f x10 7f7f7f7f7f7f7f7f x11 0101010101010101
03-15 17:29:30.496 983-983/? A/DEBUG: x12 0000000000000028 x13 0000000000000000 x14 0000000000000045 x15 0000007faf875888
03-15 17:29:30.496 983-983/? A/DEBUG: x16 0000007faf86f568 x17 0000007faf80142c x18 00000000ffffffe0 x19 0000007fafc91290
03-15 17:29:30.496 983-983/? A/DEBUG: x20 0000007fafc911d0 x21 0000000000000002 x22 0000000000000006 x23 00000000ffffffc8
03-15 17:29:30.496 983-983/? A/DEBUG: x24 0000007fc907e760 x25 0000007fc907e630 x26 0000007fc907e670 x27 000000000020001d
03-15 17:29:30.496 983-983/? A/DEBUG: x28 0000007f9007c2cc x29 0000007fc907e4f0 x30 0000007faf7febc8
03-15 17:29:30.496 983-983/? A/DEBUG: sp 0000007fc907e4f0 pc 0000007faf801434 pstate 0000000020000000
03-15 17:29:30.506 983-983/? A/DEBUG: backtrace:
03-15 17:29:30.506 983-983/? A/DEBUG: #00 pc 0000000000069434 /system/lib64/libc.so (tgkill+8)
03-15 17:29:30.506 983-983/? A/DEBUG: #1 pc 0000000000066bc4 /system/lib64/libc.so (pthread_kill+68)
03-15 17:29:30.506 983-983/? A/DEBUG: #2 pc 0000000000023a28 /system/lib64/libc.so (raise+28)
03-15 17:29:30.506 983-983/? A/DEBUG: #3 pc 000000000001e358 /system/lib64/libc.so (abort+60)
03-15 17:29:30.506 983-983/? A/DEBUG: #4 pc 0000000000437f38 /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so
03-15 17:29:30.506 983-983/? A/DEBUG: #5 pc 0000000000438060 /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so
03-15 17:29:30.506 983-983/? A/DEBUG: #6 pc 0000000000435988 /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so
03-15 17:29:30.506 983-983/? A/DEBUG: #7 pc 00000000004351b0 /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so (__cxa_throw+204)
03-15 17:29:30.506 983-983/? A/DEBUG: #8 pc 000000000006cd6c /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so
03-15 17:29:30.506 983-983/? A/DEBUG: #9 pc 00000000000af7a4 /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so
03-15 17:29:30.506 983-983/? A/DEBUG: #10 pc 00000000000af6dc /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so
03-15 17:29:30.506 983-983/? A/DEBUG: #11 pc 000000000006555c /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so
03-15 17:29:30.506 983-983/? A/DEBUG: #12 pc 00000000000652d4 /data/app/org.wikipedia.alpha-1/lib/arm64/libmapbox-gl.so (JNI_OnLoad+8)
03-15 17:29:30.506 983-983/? A/DEBUG: #13 pc 000000000030fefc /system/lib64/libart.so (ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectPS9+1596)
03-15 17:29:30.506 983-983/? A/DEBUG: #14 pc 00000000003af3a4 /system/lib64/libart.so (ZN3artL18Runtime_nativeLoadEP7_JNIEnvP7_jclassP8_jstringP8_jobjectS5+296)
03-15 17:29:30.506 983-983/? A/DEBUG: #15 pc 000000000324ab6c /system/framework/arm64/boot.oat (offset 0x2f5a000)
The text was updated successfully, but these errors were encountered: