Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter 3.27.1 版本 JNI DETECTED ERROR IN APPLICATION: java_object == null #8660

Open
Sejenew opened this issue Jan 1, 2025 · 0 comments

Comments

@Sejenew
Copy link

Sejenew commented Jan 1, 2025

F/libc ( 8804): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 10247 (gl.SV.5bbe86c14), pid 8804 (wtc.qccx.driver)


Build fingerprint: 'HONOR/JSN-AL00a/HWJSN-HM:10/HONORJSN-AL00a/10.0.0.168C00:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2025-01-01 13:19:02+0800
pid: 8804, tid: 10247, name: gl.SV.5bbe86c14 >>> com.xxxx.xxxx.driver <<<
uid: 10631
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'JNI DETECTED ERROR IN APPLICATION: java_object == null
in call to GetObjectClass
from boolean com.tencent.map.lib.JNIInterface.nativeDrawFrame(long)'
x0 0000000000000000 x1 0000000000002807 x2 0000000000000006 x3 00000071c49d80a0
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 7f7f7f7f7f7f7f7f
x8 00000000000000f0 x9 09f8addc3bfc72d0 x10 0000000000000001 x11 0000000000000000
x12 fffffff0fffffbdf x13 ffffffffffffffff x14 ffffffffff000000 x15 ffffffffffffffff
x16 00000072fc66ba08 x17 00000072fc64b7c0 x18 00000071aa9fa000 x19 0000000000002264
x20 0000000000002807 x21 00000000ffffffff x22 00000071b2389000 x23 000000727788cf48
x24 000000727786b444 x25 0000007277dd7000 x26 00000072fd43b258 x27 0000007277dd7000
x28 000000000000000d x29 00000071c49d8140
sp 00000071c49d8080 lr 00000072fc600640 pc 00000072fc60066c
backtrace:
#00 pc 000000000007066c /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: b91c775ccc9b0556e91bc575a2511cd0)
#1 pc 00000000004e0d74 /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2512) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#2 pc 000000000000c600 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+684) (BuildId: 7e6f8e823512d07994e0f2250d7d708b)
#3 pc 0000000000528ba8 /apex/com.android.runtime/lib64/libart.so (art::Thread::AssertNoPendingException() const+1176) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#4 pc 0000000000178564 /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handleart::mirror::ClassLoader)+64) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#5 pc 00000000001654c4 /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::DoResolveType(art::dex::TypeIndex, art::Handleart::mirror::DexCache, art::Handleart::mirror::ClassLoader)+184) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#6 pc 0000000000551200 /apex/com.android.runtime/lib64/libart.so (_ZN3art8verifier4impl12_GLOBAL__N_114MethodVerifierILb0EE6VerifyEv$09bf97eb2c0d684adb6d215f7005036e+1540) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#7 pc 0000000000554d5c /apex/com.android.runtime/lib64/libart.so (art::verifier::MethodVerifier::FindLocksAtDexPc(art::ArtMethod*, unsigned int, std::__1::vector<art::verifier::MethodVerifier::DexLockInfo, std::__1::allocatorart::verifier::MethodVerifier::DexLockInfo>, unsigned int)+644) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#8 pc 000000000042bb08 /apex/com.android.runtime/lib64/libart.so (art::Monitor::VisitLocks(art::StackVisitor
, void ()(art::ObjPtrart::mirror::Object, void), void*, bool)+828) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#9 pc 000000000042cc84 /apex/com.android.runtime/lib64/libart.so (art::MonitorObjectsStackVisitor::VisitFrame()+164) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#10 pc 00000000005033b0 /apex/com.android.runtime/lib64/libart.so (_ZN3art12StackVisitor9WalkStackILNS0_16CountTransitionsE0EEEvb+1592) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#11 pc 00000000005278a4 /apex/com.android.runtime/lib64/libart.so (art::Thread::DumpJavaStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, bool) const+448) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#12 pc 00000000005235a8 /apex/com.android.runtime/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+532) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#13 pc 000000000053e75c /apex/com.android.runtime/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+844) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#14 pc 00000000005376c4 /apex/com.android.runtime/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+1376) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#15 pc 0000000000536744 /apex/com.android.runtime/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool)+1048) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#16 pc 00000000004e0a48 /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+1700) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#17 pc 000000000000c600 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+684) (BuildId: 7e6f8e823512d07994e0f2250d7d708b)
#18 pc 00000000003934e0 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1616) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#19 pc 00000000003a4f04 /apex/com.android.runtime/lib64/libart.so (art::JNI::GetObjectClass(_JNIEnv*, _jobject*)+1012) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#20 pc 000000000002e280 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapengine.so (offset 0x86a0000) (BuildId: 8ef5ce5081786813d56b53b2db279166ad033e45)
#21 pc 0000000000034798 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapengine.so (offset 0x86a0000) (BuildId: 8ef5ce5081786813d56b53b2db279166ad033e45)
#22 pc 0000000000036b04 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapengine.so (offset 0x86a0000) (BuildId: 8ef5ce5081786813d56b53b2db279166ad033e45)
#23 pc 000000000047c37c /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (MapCallback_LoadImage_Internal(char const*, int, float*, float*, void*)+148) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#24 pc 00000000004ddad4 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (tencentmap::Texture2D::createBitmapFromFile(std::__Cr::basic_string<char, std::__Cr::char_traits, std::__Cr::allocator> const&)+108) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#25 pc 00000000004dd7d0 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (tencentmap::Texture2D::load()+88) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#26 pc 00000000002701f8 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (tencentmap::ResourceManager::forceLoading(tencentmap::Resource*)+292) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#27 pc 000000000041c42c /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (tencentmap::Icon::forceLoad()+236) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#28 pc 00000000003fb120 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (tencentmap::MapMarkerGroupIcon::updatePhx()+180) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#29 pc 00000000003f1bfc /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (tencentmap::AllOverlayManager::updatePhx()+168) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#30 pc 00000000004b2d60 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (tencentmap::World::drawFrame()+496) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#31 pc 000000000047baf8 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (tencentmap::MapSystem::drawFrame()+268) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#32 pc 000000000032c458 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapsdk.so (offset 0x8720000) (MapDrawFrame+136) (BuildId: 7e1d41dcdc61c0178ebacc436b45d125d07f0ce8)
#33 pc 0000000000018290 /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!libtxmapengine.so (offset 0x86a0000) (Java_com_tencent_map_lib_JNIInterface_nativeDrawFrame+44) (BuildId: 8ef5ce5081786813d56b53b2db279166ad033e45)
#34 pc 00000000020448d4 /memfd:/jit-cache (deleted) (art_jni_trampoline+132)
#35 pc 00000000020c7e84 /memfd:/jit-cache (deleted) (com.tencent.mapsdk.engine.jni.JNI.nativeDrawFrame+100)
#36 pc 00000000020abcf4 /memfd:/jit-cache (deleted) (com.tencent.mapsdk.internal.ln.a+1940)
#37 pc 00000000020fa020 /memfd:/jit-cache (deleted) (com.tencent.mapsdk.internal.sd.a+64)
#38 pc 00000000020ca58c /memfd:/jit-cache (deleted) (com.tencent.mapsdk.internal.rv.a+236)
#39 pc 000000000208ad88 /memfd:/jit-cache (deleted) (com.tencent.mapsdk.internal.sk.a+88)
#40 pc 000000000216a7f0 /memfd:/jit-cache (deleted) (com.tencent.mapsdk.internal.sh$j.i+5376)
#41 pc 000000000014763c /apex/com.android.runtime/lib64/libart.so (art_quick_osr_stub+60) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#42 pc 00000000003522d8 /apex/com.android.runtime/lib64/libart.so (art::jit::Jit::MaybeDoOnStackReplacement(art::Thread*, art::ArtMethod*, unsigned int, int, art::JValue*)+1660) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#43 pc 00000000005d6448 /apex/com.android.runtime/lib64/libart.so (MterpMaybeDoOnStackReplacement+212) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#44 pc 0000000000146350 /apex/com.android.runtime/lib64/libart.so (MterpHelpers+240) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#45 pc 000000000026c67e [anon:dalvik-classes22.dex extracted in memory from /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!classes22.dex] (com.tencent.mapsdk.internal.sh$j.i+2166)
#46 pc 00000000005cdc10 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#47 pc 0000000000141914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#48 pc 000000000026cbe2 [anon:dalvik-classes22.dex extracted in memory from /data/app/com.xxxx.xxxx.driver-zmdyTiy-MbaDIBtQzpLdLA==/base.apk!classes22.dex] (com.tencent.mapsdk.internal.sh$j.run+66)
#49 pc 00000000002ce22c /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1772238600391939451+320) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#50 pc 00000000005bc0a4 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1012) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#51 pc 0000000000150468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#52 pc 0000000000147334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#53 pc 00000000001561b4 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+252) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#54 pc 00000000004d8834 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#55 pc 00000000004d98c8 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#56 pc 000000000051caa0 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1232) (BuildId: 762960c75ada06c48e438df6df29b0a1)
#57 pc 00000000000cf7c0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: b91c775ccc9b0556e91bc575a2511cd0)
#58 pc 00000000000721a8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: b91c775ccc9b0556e91bc575a2511cd0)
Lost connection to device.
the Dart compiler exited unexpectedly.

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

No branches or pull requests

1 participant