刚学习手机APP,遇到Win平台正常运行,但是安卓平台频繁崩溃的问题。
困惑了2个星期,也没有找到原因。
希望能得到指点,感激不尽!
05-10 23:05:38.016 5284-5307/com.test.mirx I/CrashReport-Native: — --- — --- — --- — Bugly NDK 3.7.1 — --- — --- — --- —
05-10 23:05:38.017 5284-5307/com.test.mirx I/CrashReport-Native: Build fingerprint: HUAWEI/MLA-AL10/HWMLA:5.1.1/HUAWEIMLA-AL10/500200106:user/release-keys
05-10 23:05:38.017 5284-5307/com.test.mirx I/CrashReport-Native: Revision: 0
05-10 23:05:38.017 5284-5307/com.test.mirx I/CrashReport-Native: ABI: arm
05-10 23:05:38.017 5284-5307/com.test.mirx I/CrashReport-Native: time: 2020-05-10 23:05:38
05-10 23:05:38.017 5284-5307/com.test.mirx I/CrashReport-Native: pid: 5284, tid: 5307, name: GLThread 172 >>> com.test.mirx <<<
05-10 23:05:38.017 5284-5307/com.test.mirx I/CrashReport-Native: signal: 11 (SIGSEGV), code: 1 (SEGV_MAPERR) fault addr: 0xef000000
05-10 23:05:38.017 5284-5307/com.test.mirx I/CrashReport-Native: si_errno:0, si_errnoMsg:Success, sending pid:0, sending uid:0
05-10 23:05:38.049 5284-5307/com.test.mirx I/CrashReport-Native: Initialization of unwind finished.
05-10 23:05:38.049 5284-5307/com.test.mirx D/CrashReport-Native: pc = 0xc446364, sp = 0xa218ad10
05-10 23:05:38.049 5284-5307/com.test.mirx D/CrashReport-Native: Try to search symbol info for pc: 0xc446364
05-10 23:05:38.050 5284-5307/com.test.mirx I/CrashReport-Native: Found symbol info.
05-10 23:05:38.050 5284-5307/com.test.mirx D/CrashReport-Native: Try to find module for pc: 0xc446364
05-10 23:05:38.051 5284-5307/com.test.mirx D/CrashReport-Native: Found the module: /data/app/com.test.mirx-1/lib/arm/libMirX.so
05-10 23:05:38.051 5284-5307/com.test.mirx D/CrashReport-Native: Got module name: /data/app/com.test.mirx-1/lib/arm/libMirX.so for pc: 0xc446364
05-10 23:05:38.051 5284-5307/com.test.mirx D/CrashReport-Native: Got function name: _ZN7cocos2d7Animate6updateEf with offset: 0xb3
05-10 23:05:38.052 5284-5307/com.test.mirx I/CrashReport-Native: Parsing ELF file: /data/app/com.test.mirx-1/lib/arm/libMirX.so
05-10 23:05:38.052 5284-5307/com.test.mirx D/CrashReport-Native: symIndex = -1, dynsymIndex = 3
05-10 23:05:38.054 5284-5307/com.test.mirx D/CrashReport-Native: symbol_count = 0, dynsymbol_count = 27651
05-10 23:05:38.111 5284-5307/com.test.mirx I/CrashReport-Native: #00 pc 00446364 /data/app/com.test.mirx-1/lib/arm/libMirX.so (_ZN7cocos2d7Animate6updateEf+179) [armeabi-v7a::9adbe2247dd91fc4422bd24db1dad4c6]
05-10 23:05:38.112 5284-5307/com.test.mirx D/CrashReport-Native: Append to native stack.
05-10 23:05:38.119 5284-5307/com.test.mirx D/CrashReport-Native: pc = 0xc446523, sp = 0xa218ad10
05-10 23:05:38.119 5284-5307/com.test.mirx D/CrashReport-Native: Try to search symbol info for pc: 0xc446523
05-10 23:05:38.119 5284-5307/com.test.mirx I/CrashReport-Native: Found symbol info.
05-10 23:05:38.119 5284-5307/com.test.mirx D/CrashReport-Native: Try to find module for pc: 0xc446523
05-10 23:05:38.119 5284-5307/com.test.mirx D/CrashReport-Native: Found the module: /data/app/com.test.mirx-1/lib/arm/libMirX.so
05-10 23:05:38.120 5284-5307/com.test.mirx D/CrashReport-Native: Got module name: /data/app/com.test.mirx-1/lib/arm/libMirX.so for pc: 0xc446523
05-10 23:05:38.120 5284-5307/com.test.mirx D/CrashReport-Native: Got function name: _ZNSt6__ndk16vectorIfNS_9allocatorIfEEE2atEj with offset: 0x12
05-10 23:05:38.120 5284-5307/com.test.mirx I/CrashReport-Native: #01 pc 00446523 /data/app/com.test.mirx-1/lib/arm/libMirX.so (_ZNSt6__ndk16vectorIfNS_9allocatorIfEEE2atEj+18) [armeabi-v7a::9adbe2247dd91fc4422bd24db1dad4c6]
05-10 23:05:38.120 5284-5307/com.test.mirx D/CrashReport-Native: Append to native stack.
05-10 23:05:38.284 5284-5361/com.test.mirx E/CrashReport: #++++++++++Record By Bugly++++++++++#
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # You can use Bugly(http:\bugly.qq.com) to get more Crash Detail!
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # PKG NAME: com.test.mirx
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # APP VER: 20200423
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # SDK VER: 3.2.1-3.7.1
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # LAUNCH TIME: 2020-05-10 23:05:05
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # CRASH TYPE: NATIVE_CRASH
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # CRASH TIME: 2020-05-10 23:05:38
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # CRASH PROCESS: com.test.mirx
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # CRASH THREAD: GLThread 172(172)
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # REPORT ID: cd053fb7-b3f1-45dc-8d27-ea8b708471f5
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # CRASH DEVICE: HUAWEI MLA-AL10 ROOTED
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # RUNTIME AVAIL RAM:4414562304 ROM:57752240128 SD:57752240128
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # RUNTIME TOTAL RAM:3185491968 ROM:65921708032 SD:65921708032
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # EXCEPTION FIRED BY KERNEL UNKNOWN
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: # CRASH STACK:
05-10 23:05:38.285 5284-5361/com.test.mirx E/CrashReport: SIGSEGV(SEGV_MAPERR)
0xef000000
#00 pc 00446364 /data/app/com.test.mirx-1/lib/arm/libMirX.so (_ZN7cocos2d7Animate6updateEf+179) [armeabi-v7a::9adbe2247dd91fc4422bd24db1dad4c6]
#01 pc 00446523 /data/app/com.test.mirx-1/lib/arm/libMirX.so (_ZNSt6__ndk16vectorIfNS_9allocatorIfEEE2atEj+18) [armeabi-v7a::9adbe2247dd91fc4422bd24db1dad4c6]
java:
org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:92)
android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)