Android语音合成SDK报错崩溃,统计信息中均是华为Android10系列机型,错误信息和机型信息如下:
1
#00 pc 0002a5a2 /apex/com.android.runtime/lib/bionic/libc.so (abort+165) [armeabi-v7a::b3a547af3eb880c5dfd66f61a8c8b4ca]
2
#01 pc 002be6c1 /apex/com.android.runtime/lib/libart.so (art::Runtime::Abort(char const*)+1980) [armeabi-v7a::303d8241140d7a36bab763b064741026]
3
#02 pc 000025e1 /system/lib/libbase.so (android::base::LogMessage::~LogMessage()+488) [armeabi-v7a::d8f9959168f480e25050a2b6cf313736]
4
#03 pc 001c2aa3 /apex/com.android.runtime/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1210) [armeabi-v7a::303d8241140d7a36bab763b064741026]
5
#04 pc 002032df /apex/com.android.runtime/lib/libart.so (art::interpreter::InterpreterJni(art::Thread*, art::ArtMethod*, std::__1::basic_string_view >, art::ObjPtr, unsigned int*, art::JValue*)+9142) [armeabi-v7a::303d8241140d7a36bab763b064741026]
6
#05 pc 0003b557 /data/app/com.czrmoteandroid-Iv4NS1xJ6d_dXkHTyWscgA==/lib/arm/libBDSpeechDecoder_V1.so (Java_com_baidu_speechsynthesizer_utility_SpeechDecoder_decodeWithCallback+78) [armeabi-v7a::e4780047bdb7a12dfda56c3899b752df]
7
#06 pc 000007d3 /data/app/com.czrmoteandroid-Iv4NS1xJ6d_dXkHTyWscgA==/oat/arm/base.odex [armeabi::ca7d7cd1ae0a4841890f6d3ee666dd79]
8
java:
9
com.baidu.speechsynthesizer.utility.SpeechDecoder.decodeWithCallback(SpeechDecoder.java:62)
10
com.baidu.tts.b.a.b.f$d.a(OnlineSynthesizer.java:130)
11
com.baidu.tts.b.a.b.f.a(OnlineSynthesizer.java:79)
12
com.baidu.tts.b.a.a.c$a.a(EngineExecutor.java:233)
13
com.baidu.tts.b.a.a.c$a.call(EngineExecutor.java:213)
14
java.util.concurrent.FutureTask.run(FutureTask.java:266)
15
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
16
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
17
java.lang.Thread.run(Thread.java:929)
https://ai.baidu.com/ai-doc/SPEECH/Rk8hh3b1h#%E6%89%93%E5%BC%80%E8%B0%83%E8%AF%95%E6%97%A5%E5%BF%97%EF%BC%88%E9%87%8D%E8%A6%81%EF%BC%89
确认使用架构,打开调试接口复现,工单提交复现日志