调用的接口是:
mSpeechSynthesizer.stop();机型:CRUISE
系统版本:Android 5.1.1,level 22
SDK版本号:Android-2.3.0
代码或日志截图(上传截图能帮助您更快解决问题):
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: mid == null
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] in call to CallStaticIntMethodV
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] from int com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(long, byte[], int)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] "EngineExecutorPoolThread(1)" prio=5 tid=48 Runnable
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x330360a0 self=0xab94c998
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | sysTid=22333 nice=0 cgrp=default sched=0/0 handle=0xabe95020
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | state=R schedstat=( 270317185 26119425 123 ) utm=27 stm=0 core=0 HZ=100
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | stack=0xe22d8000-0xe22da000 stackSize=1036KB
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #00 pc 000047e0 /system/lib/libbacktrace_libc++.so (_ZN13UnwindCurrent6UnwindEjP8ucontext+23)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #01 pc 00002ff9 /system/lib/libbacktrace_libc++.so (_ZN9Backtrace6UnwindEjP8ucontext+8)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #02 pc 002431e9 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_6mirror9ArtMethodE+68)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #03 pc 00227591 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+144)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #04 pc 000aff6b /system/lib/libart.so (_ZN3artL8JniAbortEPKcS1_+582)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #05 pc 000b06b1 /system/lib/libart.so (_ZN3art9JniAbortFEPKcS1_z+60)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #06 pc 00199089 /system/lib/libart.so (_ZN3art3JNI20CallStaticIntMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+548)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #07 pc 0000198d /data/app/com.shhh.device-2/lib/arm/libbdtts.so (_ZN7_JNIEnv19CallStaticIntMethodEP7_jclassP10_jmethodIDz+28)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #08 pc 00001a0d /data/app/com.shhh.device-2/lib/arm/libbdtts.so (callback_audio+100)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #09 pc 00067bf9 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z27bd_tts_callback_output_dataPKcic+200)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #10 pc 000587c5 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z10bd_vocoderP12DMatrixClassP12DVectorClassP7globalPP12_HTS_VocoderP19callback_wav_output+756)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #11 pc 00050c23 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z22paras_2_speech_vocoderP12DMatrixClassS0_S0_P12DVectorClassP7globalPP12_HTS_VocoderP19callback_wav_outputiii+510)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #12 pc 00050ddd /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (paras_2_speech+284)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #13 pc 00053a0d /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z21Pdf2Speech_block_NNetP11NNET_EngineP9_SynModelP7globalPP7ElementP19callback_wav_outputP19tag_mem_stack_array+764)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #14 pc 00053f6f /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z10Dnn2SpeechiP10TUTTERANCEPsPic+198)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #15 pc 00054061 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z10dnn_engineiiP10TUTTERANCEPsPic+128)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #16 pc 000645ed /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z24bd_tts_session_get_audiolPhPjP19_TAG_TTS_TEXT_STATE+492)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #17 pc 000647bd /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z24bd_tts_session_synthesislPKciPv+248)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #18 pc 00064955 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (???)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #19 pc 000653b3 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (bd_etts_synthesis+18)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #20 pc 00001be9 /data/app/com.shhh.device-2/lib/arm/libbdtts.so (Java_com_baidu_tts_jni_EmbeddedSynthesizerEngine_bdTTSSynthesis+36)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #21 pc 003843c3 /data/data/com.shhh.device/tinker/patch-b922f1b6/odex/classes.dex.dex (Java_com_baidu_tts_jni_EmbeddedSynthesizerEngine_bdTTSSynthesis__J_3BI+142)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(Native method)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] - locked <0x23ee28b9> (a java.lang.Class)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.b.e$c.a(OfflineSynthesizer.java:416)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.b.e.a(OfflineSynthesizer.java:105)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.b.d.a(MixSynthesizer.java:193)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.a.c$a.a(EngineExecutor.java:233)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.a.c$a.call(EngineExecutor.java:213)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at java.lang.Thread.run(Thread.java:818)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65]
VIP1108210117:
调用的接口是:
mSpeechSynthesizer.stop();机型:CRUISE
系统版本:Android 5.1.1,level 22
SDK版本号:Android-2.3.0
代码或日志截图(上传截图能帮助您更快解决问题):
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: mid == null
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] in call to CallStaticIntMethodV
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] from int com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(long, byte[], int)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] "EngineExecutorPoolThread(1)" prio=5 tid=48 Runnable
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x330360a0 self=0xab94c998
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | sysTid=22333 nice=0 cgrp=default sched=0/0 handle=0xabe95020
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | state=R schedstat=( 270317185 26119425 123 ) utm=27 stm=0 core=0 HZ=100
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | stack=0xe22d8000-0xe22da000 stackSize=1036KB
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #00 pc 000047e0 /system/lib/libbacktrace_libc++.so (_ZN13UnwindCurrent6UnwindEjP8ucontext+23)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #01 pc 00002ff9 /system/lib/libbacktrace_libc++.so (_ZN9Backtrace6UnwindEjP8ucontext+8)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #02 pc 002431e9 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_6mirror9ArtMethodE+68)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #03 pc 00227591 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+144)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #04 pc 000aff6b /system/lib/libart.so (_ZN3artL8JniAbortEPKcS1_+582)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #05 pc 000b06b1 /system/lib/libart.so (_ZN3art9JniAbortFEPKcS1_z+60)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #06 pc 00199089 /system/lib/libart.so (_ZN3art3JNI20CallStaticIntMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+548)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #07 pc 0000198d /data/app/com.shhh.device-2/lib/arm/libbdtts.so (_ZN7_JNIEnv19CallStaticIntMethodEP7_jclassP10_jmethodIDz+28)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #08 pc 00001a0d /data/app/com.shhh.device-2/lib/arm/libbdtts.so (callback_audio+100)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #09 pc 00067bf9 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z27bd_tts_callback_output_dataPKcic+200)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #10 pc 000587c5 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z10bd_vocoderP12DMatrixClassP12DVectorClassP7globalPP12_HTS_VocoderP19callback_wav_output+756)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #11 pc 00050c23 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z22paras_2_speech_vocoderP12DMatrixClassS0_S0_P12DVectorClassP7globalPP12_HTS_VocoderP19callback_wav_outputiii+510)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #12 pc 00050ddd /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (paras_2_speech+284)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #13 pc 00053a0d /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z21Pdf2Speech_block_NNetP11NNET_EngineP9_SynModelP7globalPP7ElementP19callback_wav_outputP19tag_mem_stack_array+764)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #14 pc 00053f6f /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z10Dnn2SpeechiP10TUTTERANCEPsPic+198)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #15 pc 00054061 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z10dnn_engineiiP10TUTTERANCEPsPic+128)
09-27 18:46:05.584 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #16 pc 000645ed /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z24bd_tts_session_get_audiolPhPjP19_TAG_TTS_TEXT_STATE+492)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #17 pc 000647bd /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (_Z24bd_tts_session_synthesislPKciPv+248)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #18 pc 00064955 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (???)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #19 pc 000653b3 /data/app/com.shhh.device-2/lib/arm/libbd_etts.so (bd_etts_synthesis+18)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #20 pc 00001be9 /data/app/com.shhh.device-2/lib/arm/libbdtts.so (Java_com_baidu_tts_jni_EmbeddedSynthesizerEngine_bdTTSSynthesis+36)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] native: #21 pc 003843c3 /data/data/com.shhh.device/tinker/patch-b922f1b6/odex/classes.dex.dex (Java_com_baidu_tts_jni_EmbeddedSynthesizerEngine_bdTTSSynthesis__J_3BI+142)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(Native method)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] - locked <0x23ee28b9> (a java.lang.Class)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.b.e$c.a(OfflineSynthesizer.java:416)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.b.e.a(OfflineSynthesizer.java:105)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.b.d.a(MixSynthesizer.java:193)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.a.c$a.a(EngineExecutor.java:233)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at com.baidu.tts.d.a.a.c$a.call(EngineExecutor.java:213)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65] at java.lang.Thread.run(Thread.java:818)
09-27 18:46:05.585 20537-22333/? A/art: art/runtime/check_jni.cc:65]
回复VIP1108210117:请测试下目前的2.3.1版本