编译三方库报Platform/OHOS to use this system错误

编译C++库出现多条相同警告信息,能够编译出so,但加载次so时直接crash

System is unknown to camke, create:
Platform/OHOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
crash信息:
Device info:HUAWEI Mate 40 Pro
Build info:NOH-AN00 4.1.0.59(DEVC00E59R1P1log)
Fingerprint:8f080fae5c0d96f843f4d3b95bdad3655a54daa1dbb9381ddb4fb8aa5b694cc6
Module name:com.tencent.wemeet.app
Version:1.0.0
VersionCode:1000000
PreInstalled:No
Foreground:Yes
Timestamp:2024-01-27 11:18:41.433
Pid:26205
Uid:20010179
Process name:com.tencent.wemeet.app
Reason:Signal:SIGABRT(SI_TKILL)@0x013154c30000665d from:26205:20010179
LastFatalMessage:[gc] AllocateBuffer:567 size must have a size bigger than 0
Fault thread Info:
Tid:26205, Name:cent.wemeet.app
#00 pc 000000000017faa4 /system/lib/ld-musl-aarch64.so.1(raise+124)(a10e24722cdee9e5e5e0ae20fd619ccb)
#01 pc 0000000000137394 /system/lib/ld-musl-aarch64.so.1(abort+20)(a10e24722cdee9e5e5e0ae20fd619ccb)
#02 pc 00000000002c86e4 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::JSPandaFileManager::JSPandaFileAllocator::AllocateBuffer(unsigned long)+1132)(8c4826a562e41c5de97fa66e489e6d27)
#03 pc 00000000002bde5c /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#04 pc 00000000002bd560 /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#05 pc 00000000002c7128 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::JSPandaFileManager::NewJSPandaFile(panda::panda_file::File const*, std::__h::basic_string<char, std::__h::char_traits<char>, panda::ecmascript::CAddressAllocator<char>> const&)+76)(8c4826a562e41c5de97fa66e489e6d27)
#06 pc 00000000002c4680 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::JSPandaFileManager::GenerateJSPandaFile(panda::ecmascript::JSThread*, panda::panda_file::File const*, std::__h::basic_string<char, std::__h::char_traits<char>, panda::ecmascript::CAddressAllocator<char>> const&, std::__h::basic_string_view<char, std::__h::char_traits<char>>)+88)(8c4826a562e41c5de97fa66e489e6d27)
#07 pc 00000000002c3628 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::JSPandaFileManager::LoadJSPandaFile(panda::ecmascript::JSThread*, std::__h::basic_string<char, std::__h::char_traits<char>, panda::ecmascript::CAddressAllocator<char>> const&, std::__h::basic_string_view<char, std::__h::char_traits<char>>, bool)+484)(8c4826a562e41c5de97fa66e489e6d27)
#08 pc 00000000003a07c0 /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#09 pc 00000000003a05a8 /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#10 pc 00000000003a6064 /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#11 pc 00000000003a99fc /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#12 pc 00000000003a9804 /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#13 pc 00000000003a949c /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#14 pc 00000000002e26ec /system/lib64/platformsdk/libark_jsruntime.so(8c4826a562e41c5de97fa66e489e6d27)
#15 pc 00000000003dd7a0 /system/lib64/platformsdk/libark_jsruntime.so(panda::JSNApi::Execute(panda::ecmascript::EcmaVM*, std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char>> const&, std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char>> const&, bool)+932)(8c4826a562e41c5de97fa66e489e6d27)
#16 pc 00000000022794b8 /system/lib64/platformsdk/libace_compatible.z.so(7fb6238c773a1743be6ecc4f4caca515)
#17 pc 00000000021a4cf0 /system/lib64/platformsdk/libace_compatible.z.so(7fb6238c773a1743be6ecc4f4caca515)
#18 pc 00000000021a53d8 /system/lib64/platformsdk/libace_compatible.z.so(7fb6238c773a1743be6ecc4f4caca515)
#19 pc 0000000000683928 /system/lib64/platformsdk/libace_compatible.z.so(7fb6238c773a1743be6ecc4f4caca515)
#20 pc 00000000006b443c /system/lib64/platformsdk/libace_compatible.z.so(7fb6238c773a1743be6ecc4f4caca515)
HarmonyOS
2024-05-11 15:49:00
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
sheeny2000
分享
微博
QQ
微信
回复
2024-05-12 22:19:11
相关问题
应用内 FFmpeg 开源三方编译
195浏览 • 1回复 待解决
Hvigor自定义编译任务如何引用三方
216浏览 • 1回复 待解决
开发第三方SDK如何编译
11821浏览 • 2回复 待解决
httpclient三方代理请求关闭问题
215浏览 • 1回复 待解决
如何获取可用的三方
314浏览 • 1回复 待解决
实现弹幕功能的三方
196浏览 • 1回复 待解决
怎么使用pdfjs三方预览pdf文档
263浏览 • 1回复 待解决
有图片加载的三方么?
174浏览 • 1回复 待解决
是否有支持非对称加密的三方
224浏览 • 1回复 待解决
使用三方pako压缩字节数组
67浏览 • 1回复 待解决
Native工程中如何使用其他三方so
462浏览 • 1回复 待解决
三方中心仓的reflect-metadata问题
156浏览 • 1回复 待解决
求大佬告知如何使用三方cpp
287浏览 • 1回复 待解决
在Native侧如何集成三方SO
531浏览 • 1回复 待解决
HarmonyOS支持的第三方的列表
176浏览 • 1回复 待解决
如何本地依赖非适配HarmonyOS的三方
168浏览 • 1回复 待解决
ArkTS不支持使用第三方的js
1951浏览 • 1回复 待解决