HarmonyOS 鸿蒙Android 10 libGameGraphicsOpt.so SIGSEGV(SEGV_MAPERR)
HarmonyOS 鸿蒙Android 10 libGameGraphicsOpt.so SIGSEGV(SEGV_MAPERR)
android 10 华为鸿蒙
libGameGraphicsOpt.so. SIGSEGV(SEGV_MAPERR)
#00 pc 000000000006bab0 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy+32) [arm64-v8a::b91c775ccc9b0556e91bc575a2511cd0]
2
#01 pc 00000000000b1af4 /system/lib64/libc++.so (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, char const*)+204) [arm64-v8a::d957c07e50073a9c45a9ca98188a85f7]
3
#02 pc 00000000000b1424 /system/lib64/libc++.so (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)+188) [arm64-v8a::d957c07e50073a9c45a9ca98188a85f7]
4
#03 pc 000000000000a244 /system/lib64/libGameGraphicsOpt.so [arm64-v8a::57170ed07e863204dddb98f4c4f22230]
5
#04 pc 00000000000cf7c0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) [arm64-v8a::b91c775ccc9b0556e91bc575a2511cd0]
6
#05 pc 00000000000721a8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) [arm64-v8a::b91c775ccc9b0556e91bc575a2511cd0]
关于HarmonyOS 鸿蒙Android 10 libGameGraphicsOpt.so SIGSEGV(SEGV_MAPERR)的问题,您也可以访问:https://www.itying.com/category-93-b0.html 联系官网客服。
我也是同样的报错,找出原因如下,供大家参考:
nativeC++工程,填写注册信息是函数名重复了(funB应该对应FunB,我写成了FunA,与funA对应的函数重复了)
static napi_value Init(napi_env env, napi_value exports)
{
napi_property_descriptor desc[] = {
{ "add", nullptr, Add, nullptr, nullptr, nullptr, napi_default, nullptr },
{ "funA", nullptr, FunA, nullptr, nullptr, nullptr, napi_default, nullptr },
{"funB",nullptr,FunA, nullptr,nullptr,nullptr,napi_default,nullptr},
};
napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc);
return exports;
}
请教大神,我们项目为『非nativeC++工程』,也是上报这个崩溃,而且也是只有HuaWei/EMOTION设备,怎么破?
找HarmonyOS工作还需要会Flutter的哦,有需要Flutter教程的可以学学大地老师的教程,很不错,B站免费学的哦:https://www.bilibili.com/video/BV1S4411E7LY/?p=17
您好,您的问题需要进一步分析,请您通过在线提单进一步解决:https://developer.huawei.com/consumer/cn/support/feedback/#/,感谢您的反馈和支持。