crash随机出现,项目中网络图片加载比较多,动态创建prefab较多。
cocoscreator 1.4.0 - 1.5.1 beta编译版本都会出现。
logcat log 如下:
1 #00 pc 00000000006d6ea8 /data/app/com.jssj.goldenCity-1/lib/arm64/libcocos2djs.so [arm64-v8a]
2 #01 pc 0000000000696dc0 /data/app/com.jssj.goldenCity-1/lib/arm64/libcocos2djs.so [arm64-v8a]
3 java:
4 org.cocos2dx.lib.Cocos2dxRenderer.handleActionUp(Cocos2dxRenderer.java:128)
5 org.cocos2dx.lib.Cocos2dxGLSurfaceView$9.run(Cocos2dxGLSurfaceView.java:280)
6 android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1481)
7 android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1253)
ndk trace:
********** Crash dump: **********
Build fingerprint: ‘xiaomi/mido/mido:7.0/NRD90M/7.6.8:user/release-keys’
pid: 10367, tid: 10411, name: GLThread 998 >>> com.jssj.goldenCity <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Stack frame 06-15 11:39:21.876 11935 11935 F DEBUG : #00 pc 00000000006d6ea8 /data/app/com.jssj.goldenCity-1/lib/arm64/libcocos2djs.so: Routine js::Shape* JSObject::addPropertyInternal<(js::ExecutionMode)0>(js::ExecutionModeTraits<(js::ExecutionMode)0>::ExclusiveContextType, JS::Handle<JSObject*>, JS::Handle, bool ()(JSContext, JS::Handle<JSObject*>, JS::Handle, JS::MutableHandleJS::Value), bool ()(JSContext, JS::Handle<JSObject*>, JS::Handle, bool, JS::MutableHandleJS::Value), unsigned int, unsigned int, unsigned int, js::Shape**, bool) at :?
Stack frame 06-15 11:39:21.876 11935 11935 F DEBUG : #01 pc 0000000000696dc0 /data/app/com.jssj.goldenCity-1/lib/arm64/libcocos2djs.so: Routine js::SameValue(JSContext*, JS::Value const&, JS::Value const&, bool*) at :?
Crash dump is completed
********** Crash dump: **********
Build fingerprint: ‘xiaomi/mido/mido:7.0/NRD90M/7.6.8:user/release-keys’
pid: 27524, tid: 3302, name: GLThread 1802 >>> com.jssj.goldenCity <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Stack frame 06-15 14:46:55.317 3733 3733 F DEBUG : #00 pc 00000000006ad418 /data/app/com.jssj.goldenCity-1/lib/arm64/libcocos2djs.so: Routine js::ObjectImpl::initializeSlotRange(unsigned int, unsigned int) at :?
Stack frame 06-15 14:46:55.317 3733 3733 F DEBUG : #01 pc 000000000066d2f0 /data/app/com.jssj.goldenCity-1/lib/arm64/libcocos2djs.so: Routine js::ArgumentsObject* js::ArgumentsObject::create(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSFunction*>, unsigned int, CopyFrameArgs&) at :?
没人关注么。。。