New issue
Advanced search Search tips

Issue 632506 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 611621
Owner: ----
Closed: Jul 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: ----



Sign in to add a comment

Cronet crashing in sample app

Reported by kramgo...@linkedin.com, Jul 28 2016

Issue description

07-28 15:43:35.004 15283-15283/org.chromium.cronet_sample_apk A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 15283 (onet_sample_apk)
07-28 15:43:35.109 403-403/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-28 15:43:35.109 403-403/? A/DEBUG: UUID: dd0b4f53-35b4-413d-ae46-583db652e9e2
07-28 15:43:35.109 403-403/? A/DEBUG: Build fingerprint: 'Sony/D6502/D6502:6.0.1/23.5.A.0.575/1719295681:user/release-keys'
07-28 15:43:35.109 403-403/? A/DEBUG: Revision: '0'
07-28 15:43:35.110 403-403/? A/DEBUG: ABI: 'arm'
07-28 15:43:35.110 403-403/? A/DEBUG: pid: 15283, tid: 15283, name: onet_sample_apk  >>> org.chromium.cronet_sample_apk <<<
07-28 15:43:35.110 403-403/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-28 15:43:35.139 403-403/? A/DEBUG: Abort message: '[0728/154334:FATAL:jni_android.cc(236)] Please include Java exception stack in crash report
                                      #00 0xa0a23adf /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so+0x00044adf
                                      #01 0xa0a17297 /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so+0x00038297
                                      #02 0xa0a18a2b /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so+0x00039a2b
                                      #03 0xa0c20a09 /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so+0x00241a09
                                      #04 0xa0a2fa0f /data/app/org.chromium.crone
07-28 15:43:35.139 403-403/? A/DEBUG:     r0 00000000  r1 00003bb3  r2 00000006  r3 b6f62b7c
07-28 15:43:35.139 403-403/? A/DEBUG:     r4 b6f62b84  r5 b6f62b34  r6 00000002  r7 0000010c
07-28 15:43:35.139 403-403/? A/DEBUG:     r8 b6d02ec0  r9 be8ae824  sl 00000000  fp 0000000a
07-28 15:43:35.140 403-403/? A/DEBUG:     ip 00000006  sp be8ae270  lr b6cc7cb1  pc b6cca0a0  cpsr 400f0010
07-28 15:43:35.168 403-403/? A/DEBUG: backtrace:
07-28 15:43:35.168 403-403/? A/DEBUG:     #00 pc 000420a0  /system/lib/libc.so (tgkill+12)
07-28 15:43:35.168 403-403/? A/DEBUG:     #01 pc 0003fcad  /system/lib/libc.so (pthread_kill+32)
07-28 15:43:35.168 403-403/? A/DEBUG:     #02 pc 0001c463  /system/lib/libc.so (raise+10)
07-28 15:43:35.168 403-403/? A/DEBUG:     #03 pc 00019615  /system/lib/libc.so (__libc_android_abort+34)
07-28 15:43:35.168 403-403/? A/DEBUG:     #04 pc 00017568  /system/lib/libc.so (abort+4)
07-28 15:43:35.168 403-403/? A/DEBUG:     #05 pc 0003c7d9  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so
07-28 15:43:35.168 403-403/? A/DEBUG:     #06 pc 00044b4b  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so
07-28 15:43:35.168 403-403/? A/DEBUG:     #07 pc 00038295  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so
07-28 15:43:35.170 403-403/? A/DEBUG:     #08 pc 00039a29  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so
07-28 15:43:35.170 403-403/? A/DEBUG:     #09 pc 00241a07  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so
07-28 15:43:35.170 403-403/? A/DEBUG:     #10 pc 00050a0f  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so
07-28 15:43:35.170 403-403/? A/DEBUG:     #11 pc 0023ed7f  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so
07-28 15:43:35.170 403-403/? A/DEBUG:     #12 pc 0002cf0d  /data/app/org.chromium.cronet_sample_apk-1/lib/arm/libcronet.so
07-28 15:43:35.170 403-403/? A/DEBUG:     #13 pc 000dc4c5  /data/app/org.chromium.cronet_sample_apk-1/oat/arm/base.odex (offset 0x91000) (void org.chromium.net.impl.CronetLibraryLoader.nativeCronetInitOnMainThread()+72)
07-28 15:43:35.170 403-403/? A/DEBUG:     #14 pc 000dc3d1  /data/app/org.chromium.cronet_sample_apk-1/oat/arm/base.odex (offset 0x91000) (void org.chromium.net.impl.CronetLibraryLoader.ensureInitializedOnMainThread(android.content.Context)+468)
07-28 15:43:35.170 403-403/? A/DEBUG:     #15 pc 000dba1d  /data/app/org.chromium.cronet_sample_apk-1/oat/arm/base.odex (offset 0x91000) (void org.chromium.net.impl.CronetLibraryLoader$1.run()+88)
07-28 15:43:35.170 403-403/? A/DEBUG:     #16 pc 000dbfdf  /data/app/org.chromium.cronet_sample_apk-1/oat/arm/base.odex (offset 0x91000) (void org.chromium.net.impl.CronetLibraryLoader.ensureInitialized(android.content.Context, org.chromium.net.CronetEngine$Builder)+1306)
07-28 15:43:35.170 403-403/? A/DEBUG:     #17 pc 0010ba2d  /data/app/org.chromium.cronet_sample_apk-1/oat/arm/base.odex (offset 0x91000) (void org.chromium.net.impl.CronetUrlRequestContext.<init>(org.chromium.net.CronetEngine$Builder)+720)
07-28 15:43:35.171 403-403/? A/DEBUG:     #18 pc 000e6451  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
07-28 15:43:35.171 403-403/? A/DEBUG:     #19 pc 004032dd  /system/lib/libart.so (art_quick_invoke_stub+188)
07-28 15:43:35.171 403-403/? A/DEBUG:     #20 pc 007fdc3c  [stack]
07-28 15:43:35.539 403-403/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_06
 
Symbolicated the crash:

07-28 16:11:07.390 403-403/? A/DEBUG:     #00 pc 000420a0  /system/lib/libc.so (tgkill+12)
07-28 16:11:07.390 403-403/? A/DEBUG:     #01 pc 0003fcad  /system/lib/libc.so (pthread_kill+32)
07-28 16:11:07.390 403-403/? A/DEBUG:     #02 pc 0001c463  /system/lib/libc.so (raise+10)
07-28 16:11:07.390 403-403/? A/DEBUG:     #03 pc 00019615  /system/lib/libc.so (__libc_android_abort+34)
07-28 16:11:07.390 403-403/? A/DEBUG:     #04 pc 00017568  /system/lib/libc.so (abort+4)
07-28 16:11:07.391 403-403/? A/DEBUG:     #05 pc 0003c7d9  /data/app/org.chromium.cronet_sample_apk-2/lib/arm/libcronet.so (base::debug::BreakDebugger()+20)
07-28 16:11:07.391 403-403/? A/DEBUG:     #06 pc 00044b4b  /data/app/org.chromium.cronet_sample_apk-2/lib/arm/libcronet.so (logging::LogMessage::~LogMessage()+738)
07-28 16:11:07.391 403-403/? A/DEBUG:     #07 pc 00038295  /data/app/org.chromium.cronet_sample_apk-2/lib/arm/libcronet.so (base::android::CheckException(_JNIEnv*)+140)
07-28 16:11:07.391 403-403/? A/DEBUG:     #08 pc 00039a29  /data/app/org.chromium.cronet_sample_apk-2/lib/arm/libcronet.so (base::android::GetDataDirectory(base::FilePath*)+100)
07-28 16:11:07.391 403-403/? A/DEBUG:     #09 pc 00241a07  /data/app/org.chromium.cronet_sample_apk-2/lib/arm/libcronet.so (base::PathProviderAndroid(int, base::FilePath*)+314)
07-28 16:11:07.391 403-403/? A/DEBUG:     #10 pc 00050a0f  /data/app/org.chromium.cronet_sample_apk-2/lib/arm/libcronet.so (base::PathService::Get(int, base::FilePath*)+314)
07-28 16:11:07.391 403-403/? A/DEBUG:     #11 pc 0023ed7f  /data/app/org.chromium.cronet_sample_apk-2/lib/arm/libcronet.so (base::i18n::InitializeICU()+162)
07-28 16:11:07.391 403-403/? A/DEBUG:     #12 pc 0002cf0d  /data/app/org.chromium.cronet_sample_apk-2/lib/arm/libcronet.so (Java_org_chromium_net_impl_CronetLibraryLoader_nativeCronetInitOnMainThread+20)
Components: Internals>Network>Library
Status: Untriaged (was: Unconfirmed)
This is probably the same one as  Issue 611621 . Building Cronet with GN argument use_platform_icu_alternatives=true should solve this. Could you try that?
Yes, tried that. Works! Thanks
Mergedinto: 611621
Status: Duplicate (was: Untriaged)

Sign in to add a comment