蒸汽模式下使用v-if 等销毁组件后,容易复现,但偶发。
- 发布:2026-07-29 14:14
- 更新:2026-07-29 14:14
- 阅读:42
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 26.5
HBuilderX类型: 正式
HBuilderX版本号: 5.15
手机系统: HarmonyOS NEXT
手机系统版本号: HarmonyOS 6.0.0
手机厂商: 华为
手机机型: matepad pro
页面类型: vue
vue版本: vue3
打包方式: 离线
项目创建方式: HBuilderX
操作步骤:
预期结果:
正常线程销毁
正常线程销毁
实际结果:
闪退
闪退
bug描述:
蒸汽模式下,鸿蒙有很多的线程销毁闪退问题:
Reason:Signal:SIGBUS(BUS_ADRALN)@0x0000005a43c975b4
Fault thread info:
Tid:31727, Name:har.jiaming.en
00 pc 0000000000799374 /system/lib64/platformsdk/libark_jsruntime.so(panda::JSValueRef::IsConcurrentFunction(panda::ecmascript::EcmaVM const*)+244)(4e69af71c6224c8f043aa0b2706f20fa)
01 pc 000000000006de98 /system/lib64/platformsdk/libace_napi.z.so(napi_call_function+436)(816e50a81edee040957943d7e19ba3f6)
02 pc 00000000006123a8 /data/storage/el1/bundle/libs/arm64/libentry.so(UniLoadingComponentSharedData::a(uniappx::Event const&)+228)(bf67f61523399d0e4c6d15efabc4805828deef54)
03 pc 000000000073be34 /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::TypedEventListener<uniappx::Event>::bind(std::__n1::shared_ptr<uniappx::Event>&)+104)(bf67f61523399d0e4c6d15efabc4805828deef54)
04 pc 00000000007c1a0c /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::EventTarget::DispatchEvent(std::__n1::shared_ptr<uniappx::Event>, uniappx::EventDispatchBehavior)+164)(bf67f61523399d0e4c6d15efabc4805828deef54)
05 pc 00000000007c1870 /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::EventTarget::CheckAndDispatchCachedEvents(std::n1::basic_string<char, std::__n1::char_traits<char>, std::n1::allocator<char>> const&)+200)(bf67f61523399d0e4c6d15efabc4805828deef54)
06 pc 00000000007c20ec /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::EventTarget::addEventListener(std::n1::basic_string<char, std::__n1::char_traits<char>, std::n1::allocator<char>> const&, std::__n1::shared_ptr<uniappx::EventListener> const&)+336)(bf67f61523399d0e4c6d15efabc4805828deef54)
07 pc 00000000007c1ed0 /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::EventTarget::addEventListener(std::n1::basic_string<char, std::__n1::char_traits<char>, std::n1::allocator<char>> const&, std::n1::function<void (std::n1::shared_ptr<uniappx::Event>&)>&&)+296)(bf67f61523399d0e4c6d15efabc4805828deef54)
08 pc 0000000000906d98 /data/storage/el1/bundle/libs/arm64/libentry.so(bf67f61523399d0e4c6d15efabc4805828deef54)
09 pc 00000000007ed71c /data/storage/el1/bundle/libs/arm64/libentry.so(bf67f61523399d0e4c6d15efabc4805828deef54)
10 pc 00000000007ebdac /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::RenderUpdateQueue::Execute()+120)(bf67f61523399d0e4c6d15efabc4805828deef54)
11 pc 00000000007d82a4 /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::Page::ApplyLayout(std::__n1::shared_ptr<uniappx::RenderUpdateQueue> const&)+112)(bf67f61523399d0e4c6d15efabc4805828deef54)
12 pc 00000000007dadbc /data/storage/el1/bundle/libs/arm64/libentry.so(bf67f61523399d0e4c6d15efabc4805828deef54)
13 pc 0000000000837664 /data/storage/el1/bundle/libs/arm64/libentry.so(bf67f61523399d0e4c6d15efabc4805828deef54)
14 pc 0000000000018a68 /system/lib64/platformsdk/libuv.so(uv__async_io+468)(d65a9c2032b45c879b11704b3524daa3)
15 pc 000000000002ab5c /system/lib64/platformsdk/libuv.so(uv__io_poll+1056)(d65a9c2032b45c879b11704b3524daa3)
16 pc 0000000000019204 /system/lib64/platformsdk/libuv.so(uv_run+684)(d65a9c2032b45c879b11704b3524daa3)
17 pc 000000000008aeec /system/lib64/platformsdk/libruntime.z.so(OHOS::AbilityRuntime::OHOSLoopHandler::OnTriggered()+124)(7671c8f44b2075d8a5032573a300f49c)
18 pc 000000000008b198 /system/lib64/platformsdk/libruntime.z.so(std::h::function::__func<OHOS::AbilityRuntime::OHOSLoopHandler::OnTriggered()::$_0, std::__h::allocator<OHOS::AbilityRuntime::OHOSLoopHandler::OnTriggered()::$_0>, void ()>::operator()()+36)(7671c8f44b2075d8a5032573a300f49c)
19 pc 000000000001ddcc /system/lib64/chipset-sdk-sp/libeventhandler.z.so(OHOS::AppExecFwk::EventHandler::DistributeEvent(std::__h::unique_ptr<OHOS::AppExecFwk::InnerEvent, void ()(OHOS::AppExecFwk::InnerEvent)> const&)+1072)(8988cc63dca3d28cd0b289dd6507848e)
20 pc 0000000000032fe0 /system/lib64/chipset-sdk-sp/libeventhandler.z.so(OHOS::AppExecFwk::(anonymous namespace)::EventRunnerImpl::ExecuteEventHandler(std::__h::unique_ptr<OHOS::AppExecFwk::InnerEvent, void ()(OHOS::AppExecFwk::InnerEvent)>&)+348)(8988cc63dca3d28cd0b289dd6507848e)
21 pc 0000000000032894 /system/lib64/chipset-sdk-sp/libeventhandler.z.so(OHOS::AppExecFwk::(anonymous namespace)::EventRunnerImpl::Run()+916)(8988cc63dca3d28cd0b289dd6507848e)
22 pc 0000000000035ac4 /system/lib64/chipset-sdk-sp/libeventhandler.z.so(OHOS::AppExecFwk::EventRunner::Run()+540)(8988cc63dca3d28cd0b289dd6507848e)
23 pc 00000000000ecf6c /system/lib64/platformsdk/libappkit_native.z.so(OHOS::AppExecFwk::MainThread::Start()+240)(ba9b8fdca5377280c3dde5d6db0fee9b)
24 pc 0000000000009fac /system/lib64/appspawn/appspawn/libappspawn_ace.z.so(RunChildProcessor(AppSpawnContent, AppSpawnClient)+792)(2fe00a6ea43a9868d122348f814cf884)
25 pc 000000000000c06c /system/bin/appspawn(AppSpawnChild+384)(f6a7c3e573df146bdc954e6f7f42f3eb)
26 pc 00000000000172e0 /system/bin/appspawn(ProcessSpawnReqMsg+3528)(f6a7c3e573df146bdc954e6f7f42f3eb)
27 pc 00000000000151f4 /system/bin/appspawn(OnReceiveRequest+828)(f6a7c3e573df146bdc954e6f7f42f3eb)
28 pc 000000000001755c /system/lib64/chipset-sdk-sp/libbegetutil.z.so(HandleRecvMsg_+344)(b9bcaace37ce55147dfd08cc4c1c2327)
29 pc 0000000000016fe8 /system/lib64/chipset-sdk-sp/libbegetutil.z.so(HandleStreamEvent_+192)(b9bcaace37ce55147dfd08cc4c1c2327)
30 pc 0000000000014524 /system/lib64/chipset-sdk-sp/libbegetutil.z.so(ProcessEvent+92)(b9bcaace37ce55147dfd08cc4c1c2327)
31 pc 00000000000140e0 /system/lib64/chipset-sdk-sp/libbegetutil.z.so(RunLoop_+496)(b9bcaace37ce55147dfd08cc4c1c2327)
32 pc 00000000000123c8 /system/bin/appspawn(AppSpawnRun+212)(f6a7c3e573df146bdc954e6f7f42f3eb)
33 pc 000000000000f9a0 /system/bin/appspawn(main+1124)(f6a7c3e573df146bdc954e6f7f42f3eb)
34 pc 00000000000b28d4 /system/lib/ld-musl-aarch64.so.1(libc_start_main_stage2+84)(4c8e5c40ad5754160e4af50908ebd13c)
Reason:Signal:SIGSEGV(SEGV_MAPERR)@0x000000000000205d
Fault thread info:
Tid:54138, Name:har.jiaming.en
00 pc 000000000007305c /system/lib64/platformsdk/libace_napi.z.so(napi_open_handle_scope+40)(816e50a81edee040957943d7e19ba3f6)
01 pc 0000000000612304 /data/storage/el1/bundle/libs/arm64/libentry.so(UniLoadingComponentSharedData::a(uniappx::Event const&)+64)(bf67f61523399d0e4c6d15efabc4805828deef54)
02 pc 000000000073be34 /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::TypedEventListener<uniappx::Event>::bind(std::__n1::shared_ptr<uniappx::Event>&)+104)(bf67f61523399d0e4c6d15efabc4805828deef54)
03 pc 00000000007c1a0c /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::EventTarget::DispatchEvent(std::__n1::shared_ptr<uniappx::Event>, uniappx::EventDispatchBehavior)+164)(bf67f61523399d0e4c6d15efabc4805828deef54)
04 pc 00000000007c1870 /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::EventTarget::CheckAndDispatchCachedEvents(std::n1::basic_string<char, std::__n1::char_traits<char>, std::n1::allocator<char>> const&)+200)(bf67f61523399d0e4c6d15efabc4805828deef54)
05 pc 00000000007c20ec /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::EventTarget::addEventListener(std::n1::basic_string<char, std::__n1::char_traits<char>, std::n1::allocator<char>> const&, std::__n1::shared_ptr<uniappx::EventListener> const&)+336)(bf67f61523399d0e4c6d15efabc4805828deef54)
06 pc 00000000007c1ed0 /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::EventTarget::addEventListener(std::n1::basic_string<char, std::__n1::char_traits<char>, std::n1::allocator<char>> const&, std::n1::function<void (std::n1::shared_ptr<uniappx::Event>&)>&&)+296)(bf67f61523399d0e4c6d15efabc4805828deef54)
07 pc 0000000000906d98 /data/storage/el1/bundle/libs/arm64/libentry.so(bf67f61523399d0e4c6d15efabc4805828deef54)
08 pc 00000000007ed71c /data/storage/el1/bundle/libs/arm64/libentry.so(bf67f61523399d0e4c6d15efabc4805828deef54)
09 pc 00000000007ebdac /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::RenderUpdateQueue::Execute()+120)(bf67f61523399d0e4c6d15efabc4805828deef54)
10 pc 00000000007d82a4 /data/storage/el1/bundle/libs/arm64/libentry.so(uniappx::Page::ApplyLayout(std::__n1::shared_ptr<uniappx::RenderUpdateQueue> const&)+112)(bf67f61523399d0e4c6d15efabc4805828deef54)
11 pc 00000000007dadbc /data/storage/el1/bundle/libs/arm64/libentry.so(bf67f61523399d0e4c6d15efabc4805828deef54)
12 pc 0000000000837664 /data/storage/el1/bundle/libs/arm64/libentry.so(bf67f61523399d0e4c6d15efabc4805828deef54)
13 pc 0000000000018a68 /system/lib64/platformsdk/libuv.so(uv__async_io+468)(d65a9c2032b45c879b11704b3524daa3)
14 pc 000000000002ab5c /system/lib64/platformsdk/libuv.so(uv__io_poll+1056)(d65a9c2032b45c879b11704b3524daa3)
15 pc 0000000000019204 /system/lib64/platformsdk/libuv.so(uv_run+684)(d65a9c2032b45c879b11704b3524daa3)
16 pc 000000000008aeec /system/lib64/platformsdk/libruntime.z.so(OHOS::AbilityRuntime::OHOSLoopHandler::OnTriggered()+124)(7671c8f44b2075d8a5032573a300f49c)
17 pc 000000000008b198 /system/lib64/platformsdk/libruntime.z.so(std::h::function::__func<OHOS::AbilityRuntime::OHOSLoopHandler::OnTriggered()::$_0, std::__h::allocator<OHOS::AbilityRuntime::OHOSLoopHandler::OnTriggered()::$_0>, void ()>::operator()()+36)(7671c8f44b2075d8a5032573a300f49c)
18 pc 000000000001ddcc /system/lib64/chipset-sdk-sp/libeventhandler.z.so(OHOS::AppExecFwk::EventHandler::DistributeEvent(std::__h::unique_ptr<OHOS::AppExecFwk::InnerEvent, void ()(OHOS::AppExecFwk::InnerEvent)> const&)+1072)(8988cc63dca3d28cd0b289dd6507848e)
19 pc 0000000000032fe0 /system/lib64/chipset-sdk-sp/libeventhandler.z.so(OHOS::AppExecFwk::(anonymous namespace)::EventRunnerImpl::ExecuteEventHandler(std::__h::unique_ptr<OHOS::AppExecFwk::InnerEvent, void ()(OHOS::AppExecFwk::InnerEvent)>&)+348)(8988cc63dca3d28cd0b289dd6507848e)
20 pc 0000000000032894 /system/lib64/chipset-sdk-sp/libeventhandler.z.so(OHOS::AppExecFwk::(anonymous namespace)::EventRunnerImpl::Run()+916)(8988cc63dca3d28cd0b289dd6507848e)
21 pc 0000000000035ac4 /system/lib64/chipset-sdk-sp/libeventhandler.z.so(OHOS::AppExecFwk::EventRunner::Run()+540)(8988cc63dca3d28cd0b289dd6507848e)
22 pc 00000000000ecf6c /system/lib64/platformsdk/libappkit_native.z.so(OHOS::AppExecFwk::MainThread::Start()+240)(ba9b8fdca5377280c3dde5d6db0fee9b)
23 pc 0000000000009fac /system/lib64/appspawn/appspawn/libappspawn_ace.z.so(RunChildProcessor(AppSpawnContent, AppSpawnClient)+792)(2fe00a6ea43a9868d122348f814cf884)
24 pc 000000000000c06c /system/bin/appspawn(AppSpawnChild+384)(f6a7c3e573df146bdc954e6f7f42f3eb)
25 pc 00000000000172e0 /system/bin/appspawn(ProcessSpawnReqMsg+3528)(f6a7c3e573df146bdc954e6f7f42f3eb)
26 pc 00000000000151f4 /system/bin/appspawn(OnReceiveRequest+828)(f6a7c3e573df146bdc954e6f7f42f3eb)
27 pc 000000000001755c /system/lib64/chipset-sdk-sp/libbegetutil.z.so(HandleRecvMsg_+344)(b9bcaace37ce55147dfd08cc4c1c2327)
28 pc 0000000000016fe8 /system/lib64/chipset-sdk-sp/libbegetutil.z.so(HandleStreamEvent_+192)(b9bcaace37ce55147dfd08cc4c1c2327)
29 pc 0000000000014524 /system/lib64/chipset-sdk-sp/libbegetutil.z.so(ProcessEvent+92)(b9bcaace37ce55147dfd08cc4c1c2327)
30 pc 00000000000140e0 /system/lib64/chipset-sdk-sp/libbegetutil.z.so(RunLoop_+496)(b9bcaace37ce55147dfd08cc4c1c2327)
31 pc 00000000000123c8 /system/bin/appspawn(AppSpawnRun+212)(f6a7c3e573df146bdc954e6f7f42f3eb)
32 pc 000000000000f9a0 /system/bin/appspawn(main+1124)(f6a7c3e573df146bdc954e6f7f42f3eb)
33 pc 00000000000b28d4 /system/lib/ld-musl-aarch64.so.1(libc_start_main_stage2+84)(4c8e5c40ad5754160e4af50908ebd13c)
Reason:Signal:SIGABRT(SI_TKILL)@0x01317bda00002782 from:10114:20020186
LastFatalMessage:[default] [CheckThread] Fatal: ecma_vm cannot run in multi-thread! thread:10114 currentThread:10614
Fault thread info:
Tid:10614, Name:UNIAPP_DOM