-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) libmmkv.so #360
Comments
CONTEXT_MODE_MULTI_PROCESS When will this mode be used? |
Your cash stack doesn't provide much info. The first line of MMKV is this, aka native-bridge.cpp, line 266. And the other two call stacks are inside STL. So either the |
You should use The |
backtrace: |
I directly write the dead string of the storage path and it still gives an error. It is the most on Android 9 and 5.0 is more. I checked the device information for Samsung devices. The CPU is basically Samsung or MediaTek. Please confirm the specific reason Thank you! |
DON‘T REPEAT YOURSELF. |
Can you provide the logs from logcat when this crash happened? |
And what do you mean by saying dead string of the storage path, which path did you specifically provide? |
I can’t reproduce the error, all the error information comes from Google Play Vitals report, my storage path is "data / data / com.xxx / files / mmkv" |
Now that's a dead-end without further info, such as logcat's output. |
I removed MMKV.MULTI_PROCESS_MODE and resolved this error. I suspect that there will be problems using multiple processes on 9.0 systems. |
That's weird. |
The language of MMKV
The version of MMKV
The platform of MMKV
The installation of MMKV
What's the issue?
My product is submitted to Google Play. This is an error from play vitals. This error has already triggered a crash warning. Please tell me the cause of the error. I submitted it using the App Bundle. Thank you.
backtrace:
#00 pc 000000000000db14 /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/lib/arm/libmmkv.so
#1 pc 000000000000a293 /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/lib/arm/libmmkv.so
#2 pc 0000000000007e29 /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/lib/arm/libmmkv.so
#3 pc 000000000004584d /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/oat/arm/base.odex (offset 0x44000) (com.tencent.mmkv.MMKV.getMMKVWithID+172)
#4 pc 0000000000420d75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#5 pc 00000000003f988b /system/lib/libart.so (art_quick_invoke_static_stub+222)
#6 pc 00000000000a181f /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#7 pc 00000000001ecedb /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+230)
#8 pc 00000000001e7b55 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+784)
#9 pc 00000000003f5413 /system/lib/libart.so (MterpInvokeStatic+130)
#10 pc 0000000000413c14 /system/lib/libart.so (ExecuteMterpImpl+14612)
#11 pc 0000000000974b96 /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/oat/arm/base.vdex (com.tencent.mmkv.MMKV.c+10)
#12 pc 00000000001cc457 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2255586636+354)
#13 pc 00000000001d0d8f /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+146)
#14 pc 00000000001e7b3f /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+762)
#15 pc 00000000003f5413 /system/lib/libart.so (MterpInvokeStatic+130)
#16 pc 0000000000413c14 /system/lib/libart.so (ExecuteMterpImpl+14612)
#17 pc 00000000003072f8 /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/oat/arm/base.vdex (com.xxx.util.h0.a+88)
#18 pc 00000000001cc457 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2255586636+354)
#19 pc 00000000001d0d8f /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+146)
#20 pc 00000000001e7b3f /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+762)
#21 pc 00000000003f5413 /system/lib/libart.so (MterpInvokeStatic+130)
#22 pc 0000000000413c14 /system/lib/libart.so (ExecuteMterpImpl+14612)
#23 pc 000000000031794a /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/oat/arm/base.vdex (com.xxx.util.j1.a.i+10)
#24 pc 00000000001cc457 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2255586636+354)
#25 pc 00000000001d0cdb /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
#26 pc 00000000003e7ccb /system/lib/libart.so (artQuickToInterpreterBridge+882)
#27 pc 00000000004252ff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
#28 pc 0000000000420d75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#29 pc 00000000003f988b /system/lib/libart.so (art_quick_invoke_static_stub+222)
#30 pc 00000000000a181f /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#31 pc 00000000001ecedb /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+230)
#32 pc 00000000001e7b55 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+784)
#33 pc 00000000003f5413 /system/lib/libart.so (MterpInvokeStatic+130)
#34 pc 0000000000413c14 /system/lib/libart.so (ExecuteMterpImpl+14612)
#35 pc 00000000002d6b70 /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/oat/arm/base.vdex (com.xxx.h.a.k.b$a.a)
#36 pc 00000000001cc457 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2255586636+354)
#37 pc 00000000001d0d8f /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+146)
#38 pc 00000000001e7b3f /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+762)
#39 pc 00000000003f688b /system/lib/libart.so (MterpInvokeVirtualQuick+434)
#40 pc 0000000000417814 /system/lib/libart.so (ExecuteMterpImpl+29972)
#41 pc 00000000002d6c20 /data/app/com.xxx-Mp2hv_wXvkTWOuFmzE5bcw==/oat/arm/base.vdex (com.xxx.h.a.k.b$a.doInBackground+4)
#42 pc 00000000001cc457 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2255586636+354)
#43 pc 00000000001d0cdb /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
#44 pc 00000000003e7ccb /system/lib/libart.so (artQuickToInterpreterBridge+882)
#45 pc 00000000004252ff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
#46 pc 0000000000a77a37 /system/framework/arm/boot-framework.oat (offset 0x3fd000) (android.os.AsyncTask$2.call+158)
#47 pc 00000000002ff431 /system/framework/arm/boot.oat (offset 0x10d000) (java.util.concurrent.FutureTask.run+208)
#48 pc 0000000000356381 /system/framework/arm/boot.oat (offset 0x10d000) (java.util.concurrent.ThreadPoolExecutor.runWorker+1048)
#49 pc 000000000035393f /system/framework/arm/boot.oat (offset 0x10d000) (java.util.concurrent.ThreadPoolExecutor$Worker.run+54)
#50 pc 0000000000219619 /system/framework/arm/boot.oat (offset 0x10d000) (java.lang.Thread.run+64)
#51 pc 0000000000420d75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#52 pc 00000000003f9789 /system/lib/libart.so (art_quick_invoke_stub+224)
#53 pc 00000000000a180d /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
#54 pc 0000000000358161 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
#55 pc 0000000000358ef5 /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+316)
#56 pc 000000000037acf1 /system/lib/libart.so (art::Thread::CreateCallback(void*)+900)
#57 pc 0000000000065a3b /system/lib/libc.so (__pthread_start(void*)+154)
#58 pc 000000000001e4fd /system/lib/libc.so (__start_thread+32)
The text was updated successfully, but these errors were encountered: