-
-
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
MMKV.clearAll() Crash #702
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The language of MMKV
The version of MMKV
The platform of MMKV
The installation of MMKV
2021-06-09 15:16:12.167 23422-23664/com.tt.oox E/eup: SIGABRT
0x2baf00005b7e
#00 pc 00000000000132cc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) [arm64-v8a::95f68a34fdf7b31f42d3f811d5d88f58]
#1 pc 0000000000431c54 /apex/com.android.art/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+2308) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#2 pc 0000000000004978 /system/lib64/libbase.so [arm64-v8a::7f81cc97d60164bfae3b52a2cd822f20]
#3 pc 0000000000003fa4 /system/lib64/libbase.so (_ZN7android4base10LogMessageD1Ev+320) [arm64-v8a::7f81cc97d60164bfae3b52a2cd822f20]
#4 pc 000000000025b1a8 /apex/com.android.art/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+2572) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#5 pc 000000000025b220 /apex/com.android.art/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+108) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#6 pc 000000000024cf04 /apex/com.android.art/lib64/libart.so (_ZNSt3__16__treeINS_12__value_typeIPKhNS_6vectorIPN3art6mirror13HeapReferenceINS6_6ObjectEEENS_9allocatorISA_EEEEEENS_19__map_value_compareIS3_SE_NS_4lessIS3_EELb1EEENSB_ISE_EEE7destroyEPNS_11__tree_nodeISE_PvEE+4) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#7 pc 000000000024c708 /apex/com.android.art/lib64/libart.so (ZN3art2gc10accounting22ModUnionTableCardCache12VisitObjectsEPFvPNS_6mirror6ObjectEPvES6+32) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#8 pc 000000000024aeac /apex/com.android.art/lib64/libart.so (_ZN3art2gc10accounting27ModUnionTableReferenceCache4DumpERNSt3__113basic_ostreamIcNS3_11char_traitsIcEEEE+1012) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#9 pc 000000000024a67c /apex/com.android.art/lib64/libart.so (_ZN3art2gc10accounting27ModUnionTableReferenceCache6VerifyEv+980) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#10 pc 0000000000251e08 /apex/com.android.art/lib64/libart.so (ZN3art6mirror6Object21VisitFieldsReferencesILb0ELNS_17VerifyObjectFlagsE0ELNS_17ReadBarrierOptionE0ENS_2gc10accounting29RememberedSetReferenceVisitorEEEvjRKT2+324) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#11 pc 00000000000046ac /data/app/~~YUoaiC6nHO17_0us1v6VDg==/com.tt.oox-W3C2Ci0m0Z_OhVJmBt9Hgw==/lib/arm64/libmmkv.so (Java_com_tencent_mmkv_MMKV_clearAll+24) [arm64-v8a::6396072ace19c019810e3ddb78f2702d]
#12 pc 0000000000012ed4 /apex/com.android.art/lib64/libart.so [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#13 pc 0000000000009564 /apex/com.android.art/lib64/libart.so [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#14 pc 000000000007ea78 /apex/com.android.art/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#15 pc 00000000001ee30c /apex/com.android.art/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPNS_11ShadowFrameEtPNS_6JValueE+376) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#16 pc 00000000001e4638 /apex/com.android.art/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+996) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#17 pc 0000000000551118 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
#18 pc 0000000000003814 /apex/com.android.art/lib64/libart.so [arm64-v8a::c820164b0c64ea40f1abc53aaf588b44]
java:
[Failed to get Java stack]
2021-06-09 15:16:12.522 23705-23705/? A/DEBUG: Abort message: 'JNI DETECTED ERROR IN APPLICATION: jfieldID was NULL
in call to GetLongField
from void com.tencent.mmkv.MMKV.clearAll()'
2021-06-09 15:16:12.735 23705-23705/? A/DEBUG: #11 pc 00000000000046ac /data/app/~~YUoaiC6nHO17_0us1v6VDg==/com.tt.oox-W3C2Ci0m0Z_OhVJmBt9Hgw==/lib/arm64/libmmkv.so (Java_com_tencent_mmkv_MMKV_clearAll+24) (BuildId: af57f78f6396072ace19c019810e3ddb78f2702d)
2021-06-09 15:16:12.735 23705-23705/? A/DEBUG: #19 pc 00000000002e683c [anon:dalvik-classes.dex extracted in memory from /data/app/~~YUoaiC6nHO17_0us1v6VDg==/com.tt.oox-W3C2Ci0m0Z_OhVJmBt9Hgw==/base.apk] (com.tencent.mmkv.MMKV.clear+12)
2021-06-09 15:17:41.031 24197-24197/? I/MMKV: page size:4096
2021-06-09 15:17:41.032 24197-24197/? I/MMKV: root dir: /data/user/0/com.tencent.android.qqdownloader/files/mmkv
2021-06-09 15:17:41.032 24197-24197/? I/MMKV: loading [InterProcessKV] with 186129 size in total, file size is 524288
2021-06-09 15:17:41.035 24197-24197/? I/MMKV: loading [InterProcessKV] with crc 2218041340 sequence 3243
2021-06-09 15:17:41.040 24197-24197/? I/MMKV: loaded [InterProcessKV] with 545 values
2021-06-09 15:17:41.400 24253-24253/? I/MMKV: page size:4096
2021-06-09 15:17:41.400 24253-24253/? I/MMKV: root dir: /data/user/0/com.tencent.android.qqdownloader/files/mmkv
2021-06-09 15:17:41.400 24253-24253/? I/MMKV: loading [InterProcessKV] with 186392 size in total, file size is 524288
2021-06-09 15:17:41.401 24253-24253/? I/MMKV: loading [InterProcessKV] with crc 3400187109 sequence 3243
2021-06-09 15:17:41.404 24253-24253/? I/MMKV: loaded [InterProcessKV] with 545 values
2021-06-09 15:17:47.972 24474-24509/? I/MMKV: page size:4096
2021-06-09 15:17:47.972 24474-24509/? I/MMKV: root dir: /data/user/0/com.tencent.android.qqdownloader/files/mmkv
2021-06-09 15:17:47.972 24474-24509/? I/MMKV: loading [InterProcessKV] with 186838 size in total, file size is 524288
2021-06-09 15:17:47.973 24474-24509/? I/MMKV: loading [InterProcessKV] with crc 2198365603 sequence 3243
2021-06-09 15:17:47.977 24474-24509/? I/MMKV: loaded [InterProcessKV] with 545 values
2021-06-09 15:17:50.480 24679-24707/? I/MMKV: page size:4096
2021-06-09 15:17:50.480 24679-24707/? I/MMKV: root dir: /data/user/0/com.tencent.android.qqdownloader/files/mmkv
2021-06-09 15:17:50.481 24679-24707/? I/MMKV: loading [InterProcessKV] with 195841 size in total, file size is 524288
2021-06-09 15:17:50.481 24679-24707/? I/MMKV: loading [InterProcessKV] with crc 1877481957 sequence 3243
2021-06-09 15:17:50.489 24679-24707/? I/MMKV: loaded [InterProcessKV] with 545 values
The text was updated successfully, but these errors were encountered: