Open seven415 opened 1 month ago
We could by default init the native SDK off the main thread, avoiding the slow System.loadLibrary()
calls on the main thread. Maybe it's worth adding a boolean flag to force-init on the main thread (to capture startup crashes as well).
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Integration
sentry-android
Build System
Gradle
AGP Version
7.3.1
Proguard
Enabled
Version
7.9.0
Steps to Reproduce
sdk init
Expected Result
ANR
Actual Result
00 pc 0x5e3e8 libc.so (syscall + 28)
01 pc 0x131bb3 libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*) + 82)
02 pc 0x2f5bed libart.so (art::JNI::NewWeakGlobalRef(_JNIEnv, _jobject) + 372)
03 pc 0x29d11b 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 > ) + 1930)
04 pc 0x4103 libopenjdkjvm.so (JVM_NativeLoad + 246)