Skip to content

真机nova14直接运行demo crash,Vad.ets报错 #2566

@qianjujun

Description

@qianjujun

#20 at Vad (oh_modules/.ohpm/[email protected]/oh_modules/sherpa_onnx/src/main/ets/components/Vad.ets:118:19)
#21 at initVad (entry/src/main/ets/workers/NonStreamingAsrWithVadWorker.ets:48:10)
#22 at anonymous (entry/src/main/ets/workers/NonStreamingAsrWithVadWorker.ets:208:11)
详细日志如下

Device info:nova 14
Build info:TLR-AL00 5.1.0.150(C00E140R8P1)
Fingerprint:c92b3ab0bf051865d35aad9c048ce9ee7ade838b57199b9b869ff45064b9097d
Module name:com.k2fsa.sherpa.onnx.vad.asr
Version:1.0.0
VersionCode:1000000
PreInstalled:No
Foreground:Yes
Timestamp:2025-09-05 19:12:50.475
Pid:18173
Uid:20020231
Process name:com.k2fsa.sherpa.onnx.vad.asr
Process life time:3s
Reason:Signal:SIGABRT(SI_TKILL)@0x01317c07000046fd from:18173:20020231
LastFatalMessage:terminating due to uncaught exception of type Ort::Exception: No graph was found in the protobuf.
Fault thread info:
Tid:18248, Name:WorkerThread
#00 pc 000000000019f180 /system/lib/ld-musl-aarch64.so.1(raise+228)(2f7a9f748ba8bc9fcab1f8187eab86da)
#1 pc 000000000014bd1c /system/lib/ld-musl-aarch64.so.1(abort+20)(2f7a9f748ba8bc9fcab1f8187eab86da)
#2 pc 00000000000b0678 /data/storage/el1/bundle/libs/arm64/libc++shared.so(cdf97be9396a35e8f4806f252f90a11320d26ec6)
#3 pc 0000000000098ae8 /data/storage/el1/bundle/libs/arm64/libc++shared.so(cdf97be9396a35e8f4806f252f90a11320d26ec6)
#4 pc 00000000000af7e4 /data/storage/el1/bundle/libs/arm64/libc++shared.so(cdf97be9396a35e8f4806f252f90a11320d26ec6)
#5 pc 00000000000b2894 /data/storage/el1/bundle/libs/arm64/libc++shared.so(cdf97be9396a35e8f4806f252f90a11320d26ec6)
#6 pc 00000000000b2810 /data/storage/el1/bundle/libs/arm64/libc++shared.so(cxa_throw+124)(cdf97be9396a35e8f4806f252f90a11320d26ec6)
#7 pc 000000000010ed9c /data/storage/el1/bundle/libs/arm64/libsherpa-onnx-c-api.so(d47b7d2c94ef3683ddf2505c446dc8361f37b329)
#8 pc 000000000012e038 /data/storage/el1/bundle/libs/arm64/libsherpa-onnx-c-api.so(d47b7d2c94ef3683ddf2505c446dc8361f37b329)
#9 pc 00000000001bbc08 /data/storage/el1/bundle/libs/arm64/libsherpa-onnx-c-api.so(d47b7d2c94ef3683ddf2505c446dc8361f37b329)
#10 pc 00000000001bc548 /data/storage/el1/bundle/libs/arm64/libsherpa-onnx-c-api.so(d47b7d2c94ef3683ddf2505c446dc8361f37b329)
#11 pc 00000000001ba5b8 /data/storage/el1/bundle/libs/arm64/libsherpa-onnx-c-api.so(d47b7d2c94ef3683ddf2505c446dc8361f37b329)
#12 pc 00000000000f82c4 /data/storage/el1/bundle/libs/arm64/libsherpa-onnx-c-api.so(SherpaOnnxCreateVoiceActivityDetectorOHOS+112)(d47b7d2c94ef3683ddf2505c446dc8361f37b329)
#13 pc 0000000000082348 /data/storage/el1/bundle/libs/arm64/libsherpa_onnx.so(9c54b73306ee6dc84188fefdd76de995d6daeff1)
#14 pc 0000000000085a68 /data/storage/el1/bundle/libs/arm64/libsherpa_onnx.so(Napi::details::CallbackData<Napi::External (*)(Napi::CallbackInfo const&), Napi::External>::Wrapper(napi_env
*, napi_callback_info
)::'lambda'()::operator()() const+108)(9c54b73306ee6dc84188fefdd76de995d6daeff1)
#15 pc 0000000000085924 /data/storage/el1/bundle/libs/arm64/libsherpa_onnx.so(9c54b73306ee6dc84188fefdd76de995d6daeff1)
#16 pc 0000000000085820 /data/storage/el1/bundle/libs/arm64/libsherpa_onnx.so(Napi::details::CallbackData<Napi::External (
)(Napi::CallbackInfo const&), Napi::External>::Wrapper(napi_env
*, napi_callback_info
_)+64)(9c54b73306ee6dc84188fefdd76de995d6daeff1)
#17 pc 000000000003edd0 /system/lib64/platformsdk/libace_napi.z.so(panda::JSValueRef ArkNativeFunctionCallBack(panda::JsiRuntimeCallInfo
)+272)(f2dcb5acd69ded40fdfe494e8b5ac85e)
#18 pc 00000000004bc20c /system/lib64/module/arkcompiler/stub.an(RTStub_PushCallArgsAndDispatchNative+40)
#19 pc 000000000000b398 /system/lib64/module/arkcompiler/stub.an(BCStub_HandleCallargs3Imm8V8V8V8+284)
#20 at Vad (oh_modules/.ohpm/[email protected]/oh_modules/sherpa_onnx/src/main/ets/components/Vad.ets:118:19)
#21 at initVad (entry/src/main/ets/workers/NonStreamingAsrWithVadWorker.ets:48:10)
#22 at anonymous (entry/src/main/ets/workers/NonStreamingAsrWithVadWorker.ets:208:11)
#23 pc 0000000000379568 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::InterpreterAssembly::Execute(panda::ecmascript::EcmaRuntimeCallInfo*)+216)(ad74e6601877aadf11bd03549b7ed78c)
#24 pc 000000000054e968 /system/lib64/platformsdk/libark_jsruntime.so(panda::FunctionRef::CallForNapi(panda::ecmascript::EcmaVM const*, panda::JSValueRef*, panda::JSValueRef* const*, int)+376)(ad74e6601877aadf11bd03549b7ed78c)
#25 pc 000000000005b4dc /system/lib64/platformsdk/libace_napi.z.so(napi_call_function+204)(f2dcb5acd69ded40fdfe494e8b5ac85e)
#26 pc 0000000000014e48 /system/lib64/module/libworker.z.so(Commonlibrary::Concurrent::WorkerModule::Worker::CallWorkerFunction(unsigned long, napi_value__* const*, char const*, bool)+148)(acbadd7d86a4ecea639c92009fbe8698)
#27 pc 00000000000284c8 /system/lib64/module/libworker.z.so(Commonlibrary::Concurrent::WorkerModule::Worker::WorkerOnMessageInner()+456)(acbadd7d86a4ecea639c92009fbe8698)
#28 pc 0000000000027718 /system/lib64/module/libworker.z.so(Commonlibrary::Concurrent::WorkerModule::Worker::WorkerOnMessage(uv_async_s const*) (.cfi)+132)(acbadd7d86a4ecea639c92009fbe8698)
#29 pc 00000000000169a4 /system/lib64/platformsdk/libuv.so(uv__async_io+352)(e4c2ce59fd1698f778fd1eddf324003e)
#30 pc 0000000000027fe0 /system/lib64/platformsdk/libuv.so(uv__io_poll+1016)(e4c2ce59fd1698f778fd1eddf324003e)
#31 pc 0000000000016f94 /system/lib64/platformsdk/libuv.so(uv_run+408)(e4c2ce59fd1698f778fd1eddf324003e)
#32 pc 00000000000271a4 /system/lib64/module/libworker.z.so(Commonlibrary::Concurrent::WorkerModule::Worker::ExecuteInThread(void const*) (.cfi)+1172)(acbadd7d86a4ecea639c92009fbe8698)
#33 pc 000000000002bfb4 /system/lib64/module/libworker.z.so(Commonlibrary::Concurrent::WorkerModule::WorkerRunner::WorkerInnerRunner::Run()+68)(acbadd7d86a4ecea639c92009fbe8698)
#34 pc 00000000001c05c0 /system/lib/ld-musl-aarch64.so.1(start+236)(2f7a9f748ba8bc9fcab1f8187eab86da)
Registers:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions