HarmonyOS鸿蒙Next中使用SDK编译的动态库,崩溃在meta.h中
HarmonyOS鸿蒙Next中使用SDK编译的动态库,崩溃在meta.h中
业务使用鸿蒙sdk打包的动态库,链接到默认新建项目的工程中,demo启动后崩溃。堆栈如下:
/Volumes/lxc/OpenHarmony-5.0-Release_harmony/harmony2/out/sdk/obj/third_party/musl/intermidiates/linux/musl_src_ported/src/malloc/mallocng/meta.h:156
/Volumes/lxc/OpenHarmony-5.0-Release_harmony/harmony2/out/sdk/obj/third_party/musl/intermidiates/linux/musl_src_ported/src/malloc/mallocng/free.c:105
/Volumes/lxc/OpenHarmony-5.0-Release_harmony/harmony2/out/sdk/obj/third_party/musl/intermidiates/linux/musl_src_ported/src/ldso/dlerror.c:66
/Volumes/lxc/OpenHarmony-5.0-Release_harmony/harmony2/out/sdk/obj/third_party/musl/intermidiates/linux/musl_src_ported/src/ldso/dlerror.c:91
/Volumes/lxc/OpenHarmony-5.0-Release_harmony/harmony2/out/sdk/obj/third_party/musl/intermidiates/linux/musl_src_ported/src/ldso/dlopen.c:6
编译环境: HarmonyOS 5.0.0 Release SDK,基于OpenHarmony SDK Ohos_sdk_public 5.0.0.71 (API Version 12 Release)
运行环境: 
