HarmonyOS 鸿蒙Next cppcarsh程序闪退 Reason: Signal: SIGABRT(SI_QUEUE)@0x0131c94400005932 from:22834:20040004
HarmonyOS 鸿蒙Next cppcarsh程序闪退 Reason: Signal: SIGABRT(SI_QUEUE)@0x0131c94400005932 from:22834:20040004
Device info: OpenHarmony 3.2
Build info: OpenHarmony 3.2.9.1
Module name: com.tecocity.myapplication
Version: 1.0.0
Pid: 22834
Uid: 20040004
Reason: Signal: SIGABRT(SI_QUEUE)[@0x0131c94400005932](/user/0x0131c94400005932) from: 22834:20040004
LastFatalMessage:
Thread name: com.tecocity.my
#00 pc 0000000000089fcc /vendor/aosp/system/lib64/libc.so(abort+164) (a85ef5fb74e0282813cd1edb10854577)
#01 pc 0000000000036cd8 /system/lib64/libwindow_native_kit.z.so (c829ff8f5a9b66524b44704826fa3879)
#02 pc 0000000000037cb0 /system/lib64/libruntime.z.so(OHOS::AbilityRuntime::AsyncTask::Complete(NativeEngine*, int, void*)+160) (35440123b801d4f65e8be58992a1c950)
#03 pc 000000000001dc48 /system/lib64/libace_napi.z.so(NativeAsyncWork::AsyncAfterWorkCallback(uv_work_s*, int)+532) (4e8d9d94efd8ad145676703ee278f430)
#04 pc 0000000000011c84 /system/lib64/libuv.so(uv__work_done+192) (c9ce135f1642201c87a21b5539612eea)
#05 pc 0000000000015dac /system/lib64/libuv.so (c9ce135f1642201c87a21b5539612eea)
#06 pc 0000000000015750 /system/lib64/libuv.so(uv__io_poll+996) (c9ce135f1642201c87a21b5539612eea)
#07 pc 0000000000016228 /system/lib64/libuv.so(uv_run+384) (c9ce135f1642201c87a21b5539612eea)
#08 pc 000000000002b878 /system/lib64/libruntime.z.so (35440123b801d4f65e8be58992a1c950)
#09 pc 0000000000014f0c /system/lib64/platformsdk/libeventhandler.z.so (64566d0d06d7c24a1484cf0c0e6fb943)
#10 pc 000000000000e484 /system/lib64/platformsdk/libeventhandler.z.so(OHOS::AppExecFwk::EventHandler::DistributeEvent(std::__h::unique_ptr<OHOS::AppExecFwk::InnerEvent, void (*)(OHOS::AppExecFwk::InnerEvent)>&&)+548) (64566d0d06d7c24a1484cf0c0e6fb943)
#11 pc 0000000000017964 /system/lib64/platformsdk/libeventhandler.z.so (64566d0d06d7c24a1484cf0c0e6fb943)
#12 pc 000000000001647c /system/lib64/platformsdk/libeventhandler.z.so(OHOS::AppExecFwk::EventRunner::Run()+92) (64566d0d06d7c24a1484cf0c0e6fb943)
#13 pc 0000000000077db0 /system/lib64/libappkit_native.z.so(OHOS::AppExecFwk::MainThread::Start()+380) (eccb28ad2ee60831e6f419b6a0e2aedf)
#14 pc 0000000000012df8 /system/bin/appspawn (edb9ef029d68574606d40f34e76623b6)
#15 pc 0000000000013064 /system/bin/appspawn (edb9ef029d68574606d40f34e76623b6)
#16 pc 0000000000012600 /system/bin/appspawn (edb9ef029d68574606d40f34e76623b6)
#17 pc 000000000002b660 /system/lib64/libbegetutil.z.so (65a182f972489ded4c650f116d4412ea)
#18 pc 000000000002b2c8 /system/lib64/libbegetutil.z.so (65a182f972489ded4c650f116d4412ea)
#19 pc 00000000000290c4 /system/lib64/libbegetutil.z.so(ProcessEvent+112) (65a182f972489ded4c650f116d4412ea)
#20 pc 0000000000028bec /system/lib64/libbegetutil.z.so (65a182f972489ded4c650f116d4412ea)
#21 pc 00000000000118c0 /system/bin/appspawn (edb9ef029d68574606d40f34e76623b6)
#22 pc 000000000000f9c0 /system/bin/appspawn (edb9ef029d68574606d40f34e76623b6)
#23 pc 0000000000082304 /vendor/aosp/system/lib64/libc.so(__libc_init+96) (a85ef5fb74e0282813cd1edb10854577)
事件:测试框架 每3秒创建子窗口 销毁子窗口。会不定时的出现闪退。开发工具 devecostudio-mac-arm-3.1.0 devecostudio-mac-arm-4.0 都会出现这个问题。
需求:点击按钮出现弹框,再点击其他按钮要销毁上次的,重新创建子窗口。如何解决这个闪退呀,并不是固定的闪退,创建销毁次数多了就会这样。
更多关于HarmonyOS 鸿蒙Next cppcarsh程序闪退 Reason: Signal: SIGABRT(SI_QUEUE)@0x0131c94400005932 from:22834:20040004的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
楼主您好,该问题需要demo代码进行分析,建议通过在线提单提交问题。
支持 - 在线提单 - 华为开发者联盟 (huawei.com)
更多关于HarmonyOS 鸿蒙Next cppcarsh程序闪退 Reason: Signal: SIGABRT(SI_QUEUE)@0x0131c94400005932 from:22834:20040004的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
针对HarmonyOS(鸿蒙)系统中cppcarsh程序闪退,Reason为Signal: SIGABRT(SI_QUEUE)的问题,这通常表示程序遇到了一个严重的错误,导致它主动中止执行。SIGABRT信号通常是由程序内部调用abort()
函数产生的,这可能是因为:
- 内存访问违规:程序试图访问未分配或已释放的内存。
- 断言失败:程序中的断言检查失败,表明某个假设条件不成立。
- 资源初始化失败:程序在初始化关键资源(如文件、网络连接等)时失败。
具体到cppcarsh程序,可能的原因包括:
- 程序中存在未捕获的异常。
- 使用了已损坏或不支持的库文件。
- 程序逻辑错误导致资源泄露或非法状态。
解决这类问题通常需要查看程序的崩溃日志(如core dump文件)和源代码,定位到具体的崩溃点,然后分析原因并修复。
如果问题依旧没法解决请联系官网客服,官网地址是:https://www.itying.com/category-93-b0.html