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

崩溃:JNI WARNING: input is not valid Modified UTF-8: illegal start byte 0x08 #20

Open
kellysong opened this issue Sep 20, 2021 · 0 comments

Comments

@kellysong
Copy link

kellysong commented Sep 20, 2021

ygote: java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0xf8
ygote: java_vm_ext.cc:504] string: '�?w�'
ygote: java_vm_ext.cc:504] input: '<0xf8> 0x3f 0x77 0xc4'
ygote: java_vm_ext.cc:504] in call to NewStringUTF
ygote: java_vm_ext.cc:504] from java.lang.String com.zqc.opencc.android.lib.ChineseConverter.convert(java.lang.String, java.lang.String, java.lang.String)
ygote: java_vm_ext.cc:504] "main" prio=5 tid=1 Runnable
ygote: java_vm_ext.cc:504] | group="main" sCount=0 dsCount=0 flags=0 obj=0x735ae6b0 self=0xe16b1000
ygote: java_vm_ext.cc:504] | sysTid=2411 nice=-10 cgrp=default sched=0/0 handle=0xe7e7b4a8
ygote: java_vm_ext.cc:504] | state=R schedstat=( 10016434922 524096666 1936 ) utm=838 stm=163 core=3 HZ=100
ygote: java_vm_ext.cc:504] | stack=0xff5c9000-0xff5cb000 stackSize=8MB
ygote: java_vm_ext.cc:504] | held mutexes= "mutator lock"(shared held)
ygote: java_vm_ext.cc:504] native: #00 pc 002c5f97 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+130)
ygote: java_vm_ext.cc:504] native: #1 pc 0035a0bf /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+202)
ygote: java_vm_ext.cc:504] native: #2 pc 00356515 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+36)
ygote: java_vm_ext.cc:504] native: #3 pc 00230bcd /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+736)
ygote: java_vm_ext.cc:504] native: #4 pc 00230fc3 /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58)
ygote: java_vm_ext.cc:504] native: #5 pc 000d32b7 /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46)
ygote: java_vm_ext.cc:504] native: #6 pc 000d3649 /system/lib/libart.so (_ZN3art11ScopedCheck14CheckUtfStringEPKcb+504)
ygote: java_vm_ext.cc:504] native: #7 pc 000d164d /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+604)
ygote: java_vm_ext.cc:504] native: #8 pc 000c9bd9 /system/lib/libart.so (_ZN3art8CheckJNI12NewStringUTFEP7_JNIEnvPKc+452)
ygote: java_vm_ext.cc:504] native: #9 pc 0004fe45 /data/app/com.sjl.bookmark-OCJzszuLzanuSMVGmgtCeQ==/lib/arm/libChineseConverter.so (Java_com_zqc_opencc_android_lib_ChineseConverter_convert+244)
ygote: java_vm_ext.cc:504] native: #10 pc 000008c1 /data/app/com.sjl.bookmark-OCJzszuLzanuSMVGmgtCeQ==/oat/arm/base.odex (Java_com_zqc_opencc_android_lib_ChineseConverter_convert__Ljava_lang_Strin
ygote: java_vm_ext.cc:504] at com.zqc.opencc.android.lib.ChineseConverter.convert(Native method)
ygote: java_vm_ext.cc:504] at com.zqc.opencc.android.lib.ChineseConverter.convert(ChineseConverter.java:30)

@kellysong kellysong changed the title JNI WARNING: input is not valid Modified UTF-8: illegal start byte 0x08 崩溃:JNI WARNING: input is not valid Modified UTF-8: illegal start byte 0x08 Sep 20, 2021
@kellysong kellysong reopened this Sep 20, 2021
@kellysong kellysong reopened this Sep 20, 2021
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