Crashes while loading shared libraries #1822
pendyalasyam
started this conversation in
General
Replies: 2 comments 2 replies
-
@rprichard may be able to help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Are you running with any sanitizers? We've seen crashes in |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
This is not related to NDK but I believe people here can help me understand when can the following crashes happen. In our application we are observing some crashes with top of the call stack as below. Has anybody seen such callstack in the past? Or anybody has any idea when can we observe this kind of crash?
I am suspecting deleting library while System.load is loading the library would cause this. Can this be the reason ?
Thanks!!
CallStack:
#00 pc 0x00000000000df854 /apex/com.android.runtime/bin/linker64 (__dl_strcmp+148)
#1 pc 0x0000000000039a08 /apex/com.android.runtime/bin/linker64 (__dl__Z14find_librariesP19android_namespace_tP6soinfoPKPKcmPS2_PNSt3__16vectorIS2_NS8_9allocatorIS2_EEEEmiPK17android_dlextinfobbPNS9_IS0_NSA_IS0_EEEE+1768)
#2 pc 0x000000000003c978 /apex/com.android.runtime/bin/linker64 (__dl__Z9do_dlopenPKciPK17android_dlextinfoPKv+2280)
#3 pc 0x00000000000380e0 /apex/com.android.runtime/bin/linker64 (__loader_android_dlopen_ext+72)
#4 pc 0x00000000000010cc /apex/com.android.runtime/lib64/bionic/libdl.so (android_dlopen_ext+12)
#5 pc 0x0000000000007fc0 /apex/com.android.runtime/lib64/libnativeloader.so (OpenNativeLibraryInNamespace+128)
#6 pc 0x0000000000007c98 /apex/com.android.runtime/lib64/libnativeloader.so (OpenNativeLibrary+280)
#7 pc 0x000000000037c7c8 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>*)+2312)
#8 pc 0x0000000000005184 /apex/com.android.runtime/lib64/libopenjdkjvm.so (JVM_NativeLoad+412)
#9 pc 0x00000000000bcaf4 /system/framework/arm64/boot.oat (art_jni_trampoline+228)
#10 pc 0x00000000000c8f90 /system/framework/arm64/boot.oat (java.lang.Runtime.load0+560)
#11 pc 0x00000000000c9490 /system/framework/arm64/boot.oat (java.lang.System.load+96)
Beta Was this translation helpful? Give feedback.
All reactions