Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Crash with native library (jniLibs) #34

Closed
s9iper1 opened this issue Dec 19, 2018 · 6 comments
Closed

Crash with native library (jniLibs) #34

s9iper1 opened this issue Dec 19, 2018 · 6 comments

Comments

@s9iper1
Copy link

s9iper1 commented Dec 19, 2018

2018-12-19 23:58:01.262 17791-17791/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: Build fingerprint: 'Nokia/Dragon_00WW/DRG_sprout:9/PPR1.180610.011/00WW_3_30C:user/release-keys'
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: Revision: '0'
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: ABI: 'arm'
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: pid: 17655, tid: 17655, name: chromium.chrome >>> org.chromium.chrome <<<
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: Cause: null pointer dereference
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: r0 00000000 r1 ffe52890 r2 00000000 r3 00000000
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: r4 00000000 r5 ffe528e4 r6 c740e612 r7 ffe528e4
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: r8 cc59dc40 r9 00000000 r10 0000000f r11 ffe52d58
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: ip 00000001 sp ffe52820 lr c7f08be7 pc c76ca5a0
2018-12-19 23:58:01.432 17791-17791/? A/DEBUG: backtrace:
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #00 pc 008815a0 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #1 pc 010bfbe5 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #2 pc 012e2c85 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #3 pc 012e21cd /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #4 pc 011a6d65 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #5 pc 011a5e47 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #6 pc 00c2c713 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #7 pc 01320147 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #8 pc 00ba9f0b /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #9 pc 008351ef /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #10 pc 008457e1 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #11 pc 00845b89 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #12 pc 0084603f /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #13 pc 00411a79 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #14 pc 0040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #15 pc 003e6bf9 /system/lib/libart.so (art_quick_invoke_stub+224)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #16 pc 000a1015 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #17 pc 001e5ae9 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+236)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #18 pc 001e05d7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+814)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #19 pc 003e26e1 /system/lib/libart.so (MterpInvokeDirect+196)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #20 pc 00400494 /system/lib/libart.so (ExecuteMterpImpl+14484)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #21 pc 001d4598 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/base.apk (deleted) (org.chromium.base.SystemMessageHandler.handleMessage+48)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #22 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #23 pc 001c9439 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #24 pc 001e05bf /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #25 pc 003e1853 /system/lib/libart.so (MterpInvokeVirtual+442)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #26 pc 00400394 /system/lib/libart.so (ExecuteMterpImpl+14228)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #27 pc 00b0fc62 /system/framework/boot-framework.vdex (android.os.Handler.dispatchMessage+162)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #28 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #29 pc 001c9439 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #30 pc 001e05bf /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #31 pc 003e1853 /system/lib/libart.so (MterpInvokeVirtual+442)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #32 pc 00400394 /system/lib/libart.so (ExecuteMterpImpl+14228)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #33 pc 00b16e48 /system/framework/boot-framework.vdex (android.os.Looper.loop+400)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #34 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #35 pc 001c9439 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #36 pc 001e05bf /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #37 pc 003e282f /system/lib/libart.so (MterpInvokeStatic+130)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #38 pc 00400514 /system/lib/libart.so (ExecuteMterpImpl+14612)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #39 pc 00394d32 /system/framework/boot-framework.vdex (android.app.ActivityThread.main+214)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #40 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #41 pc 001c937f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #42 pc 003d5339 /system/lib/libart.so (artQuickToInterpreterBridge+880)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #43 pc 00411aff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #44 pc 0040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #45 pc 003e6cfb /system/lib/libart.so (art_quick_invoke_static_stub+222)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #46 pc 000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #47 pc 00347b45 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #48 pc 00348f95 /system/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1024)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #49 pc 002fb14d /system/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+40)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #50 pc 0011326f /system/framework/arm/boot-core-oj.oat (offset 0x10d000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+110)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #51 pc 0040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #52 pc 003e6bf9 /system/lib/libart.so (art_quick_invoke_stub+224)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #53 pc 000a1015 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #54 pc 001e5ae9 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+236)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #55 pc 001e05d7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+814)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #56 pc 003e1853 /system/lib/libart.so (MterpInvokeVirtual+442)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #57 pc 00400394 /system/lib/libart.so (ExecuteMterpImpl+14228)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #58 pc 00c397e2 /system/framework/boot-framework.vdex (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #59 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #60 pc 001c937f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #61 pc 003d5339 /system/lib/libart.so (artQuickToInterpreterBridge+880)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #62 pc 00411aff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #63 pc 00a1d2e5 /system/framework/arm/boot-framework.oat (offset 0x3af000) (com.android.internal.os.ZygoteInit.main+2836)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #64 pc 0040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #65 pc 003e6cfb /system/lib/libart.so (art_quick_invoke_static_stub+222)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #66 pc 000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #67 pc 00347b45 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #68 pc 0034796f /system/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+310)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #69 pc 0028eb11 /system/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+444)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #70 pc 0006db73 /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+30)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #71 pc 0006fdcb /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+458)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #72 pc 00001b1b /system/bin/app_process32 (main+882)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #73 pc 0008b00d /system/lib/libc.so (__libc_init+48)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #74 pc 00001767 /system/bin/app_process32 (_start_main+38)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #75 pc 00000306 anonymous:eaf56000

i am using an old branch 66.0.3359.155 i am getting this on android 9 can anyone tell me what the issue is ? i am a beginner in android, anybody can help me out ?

@s9iper1
Copy link
Author

s9iper1 commented Jan 2, 2019

resolved, it was my mistake which was causing the crash.

thank anyway.

@s9iper1 s9iper1 closed this as completed Jan 2, 2019
@flickstree
Copy link

how you resolved?

@s9iper1
Copy link
Author

s9iper1 commented Jan 7, 2019

tell me what you are trying to achieve and what edition you did, this is something caused when you are doing something some heavy task while natives libraries are loaded / tabs native library is loaded so it crashes.

@flickstree
Copy link

ok thanks.

@flickstree
Copy link

Hi, First time any link not open in browser but after kill app its working. can you please tell me what is the issue?

@s9iper1
Copy link
Author

s9iper1 commented Jan 15, 2019

Connection Service is not loaded search for Connection Service in code, i don't remember the exact class but you are doing something when some main libraries are loading you are doing some task which is causing, do check there should a crash or error too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants