在ios设备和开发者工具上正常,但是在所有android设备上均会闪退
08-01 19:26:27.151 12248-12521/? A/MicroMsg_Crash: Process: com.tencent.mm:appbrand0
Crash Thread: 12521(total:136)
Date/Time: 2108-08-01 +8.00 19:26:27.090
Live Time: 10s
Device: NEM-TL00H android-23
Exception info:
Siginfo: errno:0, pid:8, uid:0, process:UNKNOWN
08-01 19:26:27.151 12248-12521/? I/crash: after unwind signal thread
08-01 19:26:27.151 12248-12521/? A/MicroMsg_Crash: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: HONOR/NEM-TL00H/HNNEM-H:6.0/HONORNEM-TL00H/C00B203:user/release-keys
pid: 12248, tid: 12521 >>> com.tencent.mm:appbrand0 <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000008
08-01 19:26:27.273 12248-12521/? I/crash: after dump thread backtrace
08-01 19:26:27.273 12248-12521/? A/MicroMsg_Crash: #00 pc 0xef230 /data/data/com.tencent.mm/tinker/patch-9e1ea20f/lib/lib/armeabi/libmagicbrush.so (V8ObjHolder::getObj()+11)
#01 pc 0xc5175 /data/data/com.tencent.mm/tinker/patch-9e1ea20f/lib/lib/armeabi/libmagicbrush.so (EJBindingCanvasContextWebGL::getParameter(v8::Local<v8::Value>)+876)
#02 pc 0xd51ab /data/data/com.tencent.mm/tinker/patch-9e1ea20f/lib/lib/armeabi/libmagicbrush.so (v8pp::detail::function_traits<v8::Local<v8::Value> (EJBindingCanvasContextWebGL::*)(v8::Local<v8::Value>)>::return_type v8pp::detail::call_from_v8_impl<EJBindingCanvasContextWebGL, v8::Local<v8::Value> (EJBindingCanvasContextWebGL::*)(v8::Local<v8::Value>), v8pp::detail::call_from_v8_traits<v8::Local<v8::Value> (EJBindingCanvasContextWebGL::*)(v8::Local<v8::+38)
#03 pc 0xd5131 /data/data/com.tencent.mm/tinker/patch-9e1ea20f/lib/lib/armeabi/libmagicbrush.so (std::__ndk1::enable_if<std::is_member_function_pointer<v8::Local<v8::Value> (EJBindingCanvasContextWebGL::*)(v8::Local<v8::Value>)>::value, v8pp::detail::funct
on_traits<v8::Local<v8::Value> (EJBindingCanvasContextWebGL::*)(v8::Local<v8::Value>)>::return_type>::type v8pp::detail::invoke<v8::Local<v8::Value> (EJBindingCanvasContextWebGL::*)(v8::Local<v8::Valu+48)
#04 pc 0xd5045 /data/data/com.tencent.mm/tinker/patch-9e1ea20f/lib/lib/armeabi/libmagicbrush.so (void v8pp::detail::forward_function<v8::Local<v8::Value> (EJBindingCanvasContextWebGL::*)(v8::Local<v8::Value>), false>(v8::FunctionCallbackInfo<v8::Value> const&)+48)
#05 pc 0x6612af /data/app/com.tencent.mm-2/lib/arm/libmmv8.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+122)
#06 pc 0x6a411f /data/app/com.tencent.mm-2/lib/arm/libmmv8.so (???)
#07 pc 0x6a4431 /data/app/com.tencent.mm-2/lib/arm/libmmv8.so (???)
#08 pc 0x6a45dd /data/app/com.tencent.mm-2/lib/arm/libmmv8.so (v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)+48)
#09 pc 0x98 <unknown> (???)
08-01 19:26:27.273 12248-12521/? I/crash: after dump stack
以上是崩溃日志,麻烦有官方人员能确认下这个异常吗?
请问崩溃日志在哪里看的啊?
我找到了问题,是关于android平台下对WebGL的扩展
OES_vertex_array_object
支持有问题this.nativeVaoExtension = gl.getExtension('OES_vertex_array_object') || gl.getExtension('MOZ_OES_vertex_array_object') || gl.getExtension('WEBKIT_OES_vertex_array_object');
通过以上代码检查到android平台不支持vao。
请问这个是bug还是android下不会支持vao?
谢谢。
即将发布的 Android 6.7.2 会支持
感谢,麻烦问下大概什么时候会发布呢?
你好, 我在使用6.7.2内侧版本时启动后出现了上述错误,由于没有搜索到相关信息,能帮忙看下哪里出问题了吗?
还有就是在渲染时一直报这个异常,由于game.js 和 index.js 代码无法定位,我现在也不确认这是什么问题,麻烦帮忙确认下。谢谢!
请按照教程(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),提供代码片段。
大佬,有帮忙看下吗?代码片段的话我需要添加pixi库,但是一个pixi库已经超大小了,我应该怎么办?