[已解决,3.12 bug, 该bug官方已修复]3.12 Cocos js release模式包在某些机型上闪退,debug包没问题

cocos js 的项目,debug包没问题,但release包在某些机型闪退。以下是release打的包在某机型上闪退日志。

08-17 21:46:31.443 848-1580/? V/NotificationService: enqueueNotificationInternal: pkg=com.miui.securitycenter id=2131296935 notification=Notification(pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x20 color=0x00000000 vis=PRIVATE)
08-17 21:46:31.443 1872-1872/? D/SecurityCenter: update_battery
08-17 21:46:31.443 1872-1872/? D/SecurityCenter: screen on : true, enable : true
08-17 21:46:31.443 848-848/? D/NotificationService: [csl] buzzBeepBlinkLocked() zenMode = 0, zenConfig = ZenModeConfig[allowCalls=true,allowMessages=false,allowFrom=contacts,allowEvents=false,allowMusic=false,allowAlarm=true,allowVibrate=true,allowLight=true,sleepMode=null,sleepStart=22.0,sleepEnd=7.0,conditionComponents=null,conditionIds=null,exitCondition=null,exitConditionComponent=null]
08-17 21:46:31.443 1872-1872/? D/SecurityCenter: notifyNotification
08-17 21:46:31.443 848-848/? V/NotificationService: pkg=com.miui.securitycenter canInterrupt=true intercept=false
08-17 21:46:31.443 848-848/? V/NotificationService: Interrupting!
08-17 21:46:31.453 1073-3318/? D/StatusBar: onNotificationPosted: Key: 0|com.miui.securitycenter|2131296935|null|1000 GroupKey: 0|com.miui.securitycenter|2131296935|null|1000 Connected: true
08-17 21:46:31.453 1073-1073/? D/StatusBar: GroupChild: false GroupsContainsKey: false IsUpdate: true IsGroupSummary: false
08-17 21:46:31.453 1073-1073/? D/PhoneStatusBar: updateNotification pkg=com.miui.securitycenter;id=2131296935
08-17 21:46:31.453 848-1849/? V/NotificationService: enqueueNotificationInternal: pkg=com.miui.securitycenter id=20004 notification=Notification(pri=2 contentView=com.miui.securitycenter/0x7f03005f vibrate=null sound=null defaults=0x0 flags=0x2 color=0x00000000 vis=PRIVATE)
08-17 21:46:31.453 848-848/? D/NotificationService: [csl] buzzBeepBlinkLocked() zenMode = 0, zenConfig = ZenModeConfig[allowCalls=true,allowMessages=false,allowFrom=contacts,allowEvents=false,allowMusic=false,allowAlarm=true,allowVibrate=true,allowLight=true,sleepMode=null,sleepStart=22.0,sleepEnd=7.0,conditionComponents=null,conditionIds=null,exitCondition=null,exitConditionComponent=null]
08-17 21:46:31.453 848-848/? V/NotificationService: pkg=com.miui.securitycenter canInterrupt=true intercept=false
08-17 21:46:31.453 848-848/? V/NotificationService: Interrupting!
08-17 21:46:31.463 1872-1872/? D/SecurityCenter: notifyNotification
08-17 21:46:31.463 1073-1102/? D/StatusBar: onNotificationPosted: Key: 0|com.miui.securitycenter|20004|null|1000 GroupKey: 0|com.miui.securitycenter|20004|null|1000 Connected: true
08-17 21:46:31.473 1073-1073/? D/StatusBar: GroupChild: false GroupsContainsKey: false IsUpdate: true IsGroupSummary: false
08-17 21:46:31.473 1073-1073/? D/PhoneStatusBar: updateNotification pkg=com.miui.securitycenter;id=20004
08-17 21:46:31.473 848-863/? V/NotificationService: enqueueNotificationInternal: pkg=com.miui.securitycenter id=20004 notification=Notification(pri=2 contentView=com.miui.securitycenter/0x7f03005f vibrate=null sound=null defaults=0x0 flags=0x2 color=0x00000000 vis=PRIVATE)
08-17 21:46:31.473 848-848/? D/NotificationService: [csl] buzzBeepBlinkLocked() zenMode = 0, zenConfig = ZenModeConfig[allowCalls=true,allowMessages=false,allowFrom=contacts,allowEvents=false,allowMusic=false,allowAlarm=true,allowVibrate=true,allowLight=true,sleepMode=null,sleepStart=22.0,sleepEnd=7.0,conditionComponents=null,conditionIds=null,exitCondition=null,exitConditionComponent=null]
08-17 21:46:31.473 848-848/? V/NotificationService: pkg=com.miui.securitycenter canInterrupt=true intercept=false
08-17 21:46:31.473 848-848/? V/NotificationService: Interrupting!
08-17 21:46:31.483 1073-1114/? D/StatusBar: onNotificationPosted: Key: 0|com.miui.securitycenter|20004|null|1000 GroupKey: 0|com.miui.securitycenter|20004|null|1000 Connected: true
08-17 21:46:31.483 1073-1073/? D/StatusBar: GroupChild: false GroupsContainsKey: false IsUpdate: true IsGroupSummary: false
08-17 21:46:31.483 1073-1073/? D/PhoneStatusBar: updateNotification pkg=com.miui.securitycenter;id=20004
08-17 21:46:31.513 848-1011/? D/WifiService: New client listening to asynchronous messages
08-17 21:46:31.513 6852-6852/? D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
08-17 21:46:31.523 848-1849/? W/ActivityManager: getRunningAppProcesses: caller 10144 does not hold REAL_GET_TASKS; limiting output
08-17 21:46:31.523 848-883/? I/ActivityManager: Displayed com.mygame.client/org.cocos2dx.javascript.AppActivity: +885ms (total +43s266ms)
08-17 21:46:31.523 848-883/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{e929ca1 u0 com.mygame.client/org.cocos2dx.javascript.AppActivity t6} time:302586
08-17 21:46:31.523 313-313/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-17 21:46:31.523 313-313/? I/DEBUG: Build fingerprint: ‘Xiaomi/aries/aries:5.0.2/LRX22G/6.8.11:user/release-keys’
08-17 21:46:31.523 313-313/? I/DEBUG: Revision: ‘0’
08-17 21:46:31.523 313-313/? I/DEBUG: ABI: ‘arm’
08-17 21:46:31.523 313-313/? I/DEBUG: pid: 6852, tid: 6890, name: GLThread 654 >>> com.mygame.client <<<
08-17 21:46:31.523 313-313/? I/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
08-17 21:46:31.523 1478-1478/? W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
08-17 21:46:31.543 848-883/? I/WindowManager: Screen frozen for +749ms due to Window{336f677f u0 Starting com.mygame.client}
08-17 21:46:31.553 313-313/? I/DEBUG: r0 00000000 r1 00001aea r2 00000006 r3 00000000
08-17 21:46:31.553 313-313/? I/DEBUG: r4 a38ffdb8 r5 00000006 r6 00000002 r7 0000010c
08-17 21:46:31.553 313-313/? I/DEBUG: r8 ffffb208 r9 ffffb320 sl ffffb208 fp fffff23c
08-17 21:46:31.553 313-313/? I/DEBUG: ip 00001aea sp a38ff720 lr b6f20fbd pc b6f44fa8 cpsr 600f0010
08-17 21:46:31.553 313-313/? I/DEBUG: #00 pc 00037fa8 /system/lib/libc.so (tgkill+12)
08-17 21:46:31.553 313-313/? I/DEBUG: #01 pc 00013fb9 /system/lib/libc.so (pthread_kill+52)
08-17 21:46:31.553 313-313/? I/DEBUG: #02 pc 00014bd7 /system/lib/libc.so (raise+10)
08-17 21:46:31.553 313-313/? I/DEBUG: #03 pc 00011519 /system/lib/libc.so (__libc_android_abort+36)
08-17 21:46:31.553 313-313/? I/DEBUG: #04 pc 0000fc9c /system/lib/libc.so (abort+4)
08-17 21:46:31.553 313-313/? I/DEBUG: #05 pc 01287803 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN9__gnu_cxx27__verbose_terminate_handlerEv+226)
08-17 21:46:31.553 313-313/? I/DEBUG: #06 pc 0125731f /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN10__cxxabiv111__terminateEPFvvE+2)
08-17 21:46:31.553 313-313/? I/DEBUG: #07 pc 01257351 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZSt9terminatev+12)
08-17 21:46:31.553 313-313/? I/DEBUG: #08 pc 01256f61 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (__cxa_throw+112)
08-17 21:46:31.553 313-313/? I/DEBUG: #09 pc 01284369 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.553 313-313/? I/DEBUG: #10 pc 012852f5 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.553 313-313/? I/DEBUG: #11 pc 01285ad7 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.553 313-313/? I/DEBUG: #12 pc 01285f61 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.553 313-313/? I/DEBUG: #13 pc 00f9fd10 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d7Console7CommandC2ESsSsSt8functionIFviRKSsEE+48)
08-17 21:46:31.553 313-313/? I/DEBUG: #14 pc 00f980b0 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d7Console21createCommandDebugMsgEv+444)
08-17 21:46:31.553 313-313/? I/DEBUG: #15 pc 00f97830 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d7ConsoleC2Ev+200)
08-17 21:46:31.553 313-313/? I/DEBUG: #16 pc 00fa4a08 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d8Director4initEv+300)
08-17 21:46:31.553 313-313/? I/DEBUG: #17 pc 00fa4388 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d8Director11getInstanceEv+132)
08-17 21:46:31.553 313-313/? I/DEBUG: #18 pc 0060e8fd /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit+28)
08-17 21:46:31.553 313-313/? I/DEBUG: #19 pc 0005c121 /data/dalvik-cache/arm/data@app@com.mygame.client-1@base.apk@classes.dex
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff6e0 00000000
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff6e4 00000004
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff6e8 b6f74448 /system/lib/libc.so
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff6ec 00000000
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff6f0 00000000
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff6f4 b6f74448 /system/lib/libc.so
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff6f8 b6f74448 /system/lib/libc.so
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff6fc 00000030
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff700 b6f74448 /system/lib/libc.so
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff704 0000000b
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff708 a38ffdb8 [stack:6890]
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff70c 00000006
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff710 00000002
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff714 00001aea
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff718 00000000
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff71c b6f20fb5 /system/lib/libc.so (pthread_kill+48)
08-17 21:46:31.553 313-313/? I/DEBUG: #00 a38ff720 a38ffdb0 [stack:6890]
08-17 21:46:31.553 313-313/? I/DEBUG: … …
08-17 21:46:31.553 313-313/? I/DEBUG: #01 a38ff720 a38ffdb0 [stack:6890]
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff724 00000006
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff728 00000000
08-17 21:46:31.553 313-313/? I/DEBUG: a38ff72c a38ff748 [stack:6890]
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff730 a3608540
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff734 b6f21bdb /system/lib/libc.so (raise+14)
08-17 21:46:31.563 313-313/? I/DEBUG: #02 a38ff738 a38ff744 [stack:6890]
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff73c b6f1e51d /system/lib/libc.so (__libc_android_abort+40)
08-17 21:46:31.563 313-313/? I/DEBUG: #03 a38ff740 b6f74448 /system/lib/libc.so
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff744 ffffffdf
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff748 b6f74448 /system/lib/libc.so
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff74c 0000000a
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff750 a360933c
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff754 a3608540
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff758 b6f743a0 /system/lib/libc.so
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff75c 00000001
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff760 a360933c
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff764 b6f1cca0 /system/lib/libc.so (__bionic_clone)
08-17 21:46:31.563 313-313/? I/DEBUG: #04 a38ff768 00000000
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff76c a4e00805 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN9__gnu_cxx27__verbose_terminate_handlerEv+228)
08-17 21:46:31.563 313-313/? I/DEBUG: #05 a38ff770 a36f8188
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff774 a36f818b
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff778 a4dcfec9 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff77c 00000000
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff780 a36f818f
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff784 a36f818f
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff788 a36f8188
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff78c a5125790 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff790 a38ff8b0 [stack:6890]
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff794 a4dd0321 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN10__cxxabiv111__terminateEPFvvE+4)
08-17 21:46:31.563 313-313/? I/DEBUG: #06 a38ff798 a5165afc /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff79c a36f818f
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff7a0 a36f8188
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff7a4 a4dd0353 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZSt9terminatev+14)
08-17 21:46:31.563 313-313/? I/DEBUG: #07 a38ff7a8 a4dcff59 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (__cxa_throw+104)
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff7ac a4dcff63 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (__cxa_throw+114)
08-17 21:46:31.563 313-313/? I/DEBUG: #08 a38ff7b0 a36f81e0
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff7b4 a38ff7cc [stack:6890]
08-17 21:46:31.563 313-313/? I/DEBUG: a38ff7b8 a5075e00 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7bc a4dfd36b /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.573 313-313/? I/DEBUG: #09 a38ff7c0 a360d3b0
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7c4 fff2002c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7c8 ffffb320
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7cc a360933c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7d0 a4b18fb0 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d7Console30commandDebugMsgSubCommandOnOffEiRKSs)
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7d4 a360d39c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7d8 ffffb2b8
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7dc a4dfe2f9 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.573 313-313/? I/DEBUG: #10 a38ff7e0 a360d390
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7e4 a4dfeadb /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.573 313-313/? I/DEBUG: #11 a38ff7e8 a38ff8bc [stack:6890]
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7ec a360d39c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7f0 ffffb2b8
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7f4 a4dfef65 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.573 313-313/? I/DEBUG: #12 a38ff7f8 fffff23c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff7fc 0000000c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff800 00000000
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff804 a38ff8bc [stack:6890]
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff808 a38ff89c [stack:6890]
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff80c a4b18d14 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d7Console7CommandC2ESsSsSt8functionIFviRKSsEE+52)
08-17 21:46:31.573 313-313/? I/DEBUG: #13 a38ff810 ffffb320
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff814 ffffb208
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff818 fffff23c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff81c 42ee7b5b
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff820 a361f600
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff824 00000000
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff828 ffffb2b8
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff82c fffff240
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff830 fff2002c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff834 ffffb320
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff838 fffff23c
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff83c a4b110b4 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d7Console21createCommandDebugMsgEv+448)
08-17 21:46:31.573 313-313/? I/DEBUG: #14 a38ff840 a38ff8cc [stack:6890]
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff844 a512c740 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff848 a36140b0
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff84c a361f6bc
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff850 b6f7dfe4
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff854 a38ff8c8 [stack:6890]
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff858 a38ff890 [stack:6890]
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff85c a361f6c0
08-17 21:46:31.573 313-313/? I/DEBUG: a38ff860 a36140c0
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff864 a4b1caac /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (ZNSt8_Rb_treeISsSt4pairIKSsN7cocos2d7Console7CommandEESt10_Select1stIS5_ESt4lessISsESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS1+420)
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff868 a51c60a8
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff86c 0000000c
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff870 b6f7dfe4
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff874 a512c740 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff878 b6f7dfe4
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff87c a38ff8c8 [stack:6890]
08-17 21:46:31.583 313-313/? I/DEBUG: … …
08-17 21:46:31.583 313-313/? I/DEBUG: #15 a38ff970 ffffb320
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff974 3f800000
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff978 00000000
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff97c 42ee7b5b
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff980 a36fa3c0
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff984 00000000
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff988 a361f600
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff98c a512c740 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff990 ffffb208
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff994 a4b1da0c /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (_ZN7cocos2d8Director4initEv+304)
08-17 21:46:31.583 313-313/? I/DEBUG: #16 a38ff998 a3634e00
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff99c a36084ec
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9a0 a36084c0
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9a4 00000008
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9a8 a3634a00
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9ac a3634a00
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9b0 a3634c00
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9b4 a36084cc
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9b8 a3634a00
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9bc a3634a00
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9c0 a3634c00
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9c4 a36084cc
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9c8 42ee7b5b
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9cc 42ee7b5b
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9d0 a512c740 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9d4 0008fac8
08-17 21:46:31.583 313-313/? I/DEBUG: … …
08-17 21:46:31.583 313-313/? I/DEBUG: #17 a38ff9f0 00000384
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9f4 000002d0
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9f8 00000500
08-17 21:46:31.583 313-313/? I/DEBUG: a38ff9fc a4187901 /data/app/com.mygame.client-1/lib/arm/libcocos2djs.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit+32)
08-17 21:46:31.583 313-313/? I/DEBUG: #18 a38ffa00 00550000
08-17 21:46:31.583 313-313/? I/DEBUG: a38ffa04 00430000
08-17 21:46:31.583 313-313/? I/DEBUG: a38ffa08 00550000
08-17 21:46:31.583 313-313/? I/DEBUG: a38ffa0c 00550000
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa10 00430000
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa14 12d44000 /dev/ashmem/dalvik-main space (deleted)
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa18 a38ff9c8 [stack:6890]
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa1c 00000000
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa20 00000000
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa24 42ee7b5b
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa28 b4f69600
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa2c 00000384
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa30 12d3c7a0 /dev/ashmem/dalvik-main space (deleted)
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa34 00000500
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa38 000002d0
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa3c 768726b0 /dev/ashmem/dalvik-alloc space (deleted)
08-17 21:46:31.593 313-313/? I/DEBUG: … …
08-17 21:46:31.593 313-313/? I/DEBUG: #19 a38ffa70 76871ee0 /dev/ashmem/dalvik-alloc space (deleted)
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa74 00000000
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa78 00000001
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa7c 12d1d400 /dev/ashmem/dalvik-main space (deleted)
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa80 00000000
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa84 12d3c7a0 /dev/ashmem/dalvik-main space (deleted)
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa88 00000500
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa8c 000002d0
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa90 768726b0 /dev/ashmem/dalvik-alloc space (deleted)
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa94 00000001
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa98 00000000
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffa9c a52d8a3b /data/dalvik-cache/arm/data@app@com.mygame.client-1@base.apk@classes.dex
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffaa0 768726b0 /dev/ashmem/dalvik-alloc space (deleted)
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffaa4 00000500
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffaa8 000002d0
08-17 21:46:31.593 313-313/? I/DEBUG: a38ffaac 00000000

08-17 21:46:31.814 1044-1044/? D/wpa_supplicant: wlan0: Control interface command ‘SIGNAL_POLL’
08-17 21:46:31.814 1044-1044/? D/wpa_supplicant: wlan0: Control interface command ‘PKTCNT_POLL’
08-17 21:46:31.904 1044-1044/? D/wpa_supplicant: wlan0: Control interface command ‘SIGNAL_POLL’
08-17 21:46:32.244 1341-1710/? I/WtEventController: Receive am_crash event for pid: 848
08-17 21:46:32.244 848-6909/? W/ActivityManager: Force finishing activity com.mygame.client/org.cocos2dx.javascript.AppActivity
08-17 21:46:32.254 1341-1710/? D/WtProcessController: onAMPauseActivity callback
08-17 21:46:32.254 848-879/? I/BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
08-17 21:46:32.254 848-6909/? E/ActivityManager: Invalid thumbnail dimensions: 0x0
08-17 21:46:32.254 848-4261/? E/SharedPreferencesImpl: Couldn’t create directory for SharedPreferences file shared_prefs/log_files.xml
08-17 21:46:32.254 2764-3092/? I/octvm_klo: get event file: /data/tombstones/tombstone_09
08-17 21:46:32.254 2764-3092/? I/octvm_klo: klo lock
08-17 21:46:32.254 2764-3092/? I/octvm_klo: start gathering logcat log…
08-17 21:46:32.294 848-1011/? D/WifiService: Client connection lost with reason: 4
08-17 21:46:32.294 848-1000/? I/WindowState: WIN DEATH: Window{96aa044 u0 SurfaceView}
08-17 21:46:32.304 848-992/? W/InputDispatcher: channel ‘dd312bd com.mygame.client/org.cocos2dx.javascript.AppActivity (server)’ ~ Consumer closed input channel or an error occurred. events=0x9
08-17 21:46:32.304 848-992/? E/InputDispatcher: channel ‘dd312bd com.mygame.client/org.cocos2dx.javascript.AppActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!
08-17 21:46:32.304 323-323/? I/Zygote: Process 6852 exited due to signal (6)
08-17 21:46:32.304 848-1542/? I/WindowState: WIN DEATH: Window{dd312bd u0 com.mygame.client/org.cocos2dx.javascript.AppActivity}
08-17 21:46:32.304 848-1542/? W/InputDispatcher: Attempted to unregister already unregistered input channel ‘dd312bd com.mygame.client/org.cocos2dx.javascript.AppActivity (server)’
08-17 21:46:32.344 2140-2265/? I/XiaomiFirewall: firewall pkgName:android, result:0x0
08-17 21:46:32.354 848-864/? I/ActivityManager: Process com.mygame.client (pid 6852) has died
08-17 21:46:32.374 848-864/? I/ActivityManager: Config changes=480 {1.4 ?mcc?mnc zh_CN ldltr sw360dp w360dp h615dp 320dpi nrml long port uimode=11 finger -keyb/v/h -nav/h s.10 themeChanged=0 themeChangedFlags=0}
08-17 21:46:32.374 848-993/? I/InputReader: Reconfiguring input devices. changes=0x00000004
08-17 21:46:32.374 848-993/? I/InputReader: Device reconfigured: id=5, name=‘atmel_mxt_ts’, size 720x1280, orientation 0, mode 1, display id 0
08-17 21:46:32.374 848-993/? I/InputReader: Device reconfigured: id=6, name=‘cyttsp-i2c’, size 720x1280, orientation 0, mode 1, display id 0
08-17 21:46:32.404 1872-1872/? D/SecurityCenter: onConfig
08-17 21:46:32.404 1872-1872/? D/SecurityCenter: notifyNotification
08-17 21:46:32.414 1073-1073/? I/DateTimeVariableUpdater: init with accuracy:Minute
08-17 21:46:32.414 1073-1073/? D/ScreenElementRoot: findResource: ScaleMetrics sw:1080 den:480 sizeType:0 scale:1.0 path:null
08-17 21:46:32.414 848-6911/? W/ErrorReport: Fail to sendHttpRequest
java.lang.IllegalArgumentException: HTTP entity may not be null
at org.apache.http.util.EntityUtils.toString(EntityUtils.java:110)
at org.apache.http.util.EntityUtils.toString(EntityUtils.java:146)
at miui.util.ErrorReport.c(SourceFile:396)
at miui.util.ErrorReport.sendReportRequest(SourceFile:353)
at miui.util.ErrorReport$1.a(SourceFile:369)
at miui.util.ErrorReport$1.doInBackground(SourceFile:366)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
08-17 21:46:32.414 1073-1073/? D/ScreenElementRoot: findScale: ScaleMetrics sw:1080 den:480 sizeType:0 scale:-1.0
08-17 21:46:32.414 1073-1073/? I/ScreenElementRoot: set scale: 0.6666667
08-17 21:46:32.424 848-864/? I/Timeline: Timeline: App_transition_ready time:303490
08-17 21:46:32.434 848-864/? I/Timeline: Timeline: App_transition_stopped time:303490
08-17 21:46:32.434 848-864/? E/WindowState: Error happens during resized
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.view.IWindow$Stub$Proxy.resized(IWindow.java:327)
at com.android.server.wm.WindowState.reportResized(WindowState.java:1391)
at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9999)
at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8779)
at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8721)
at com.android.server.wm.WindowManagerService.setNewConfiguration(WindowManagerService.java:3914)
at com.android.server.am.ActivityManagerService.updateConfigurationLocked(ActivityManagerService.java:16596)
at com.android.server.am.ActivityStack.resumeTopActivityInnerLocked(ActivityStack.java:1819)
at com.android.server.am.ActivityStack.resumeTopActivityLocked(ActivityStack.java:1491)
at com.android.server.am.ActivityStackSupervisor.resumeTopActivitiesLocked(ActivityStackSupervisor.java:2523)
at com.android.server.am.ActivityStackSupervisor.resumeTopActivitiesLocked(ActivityStackSupervisor.java:2512)
at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:4818)
at com.android.server.am.ActivityManagerService.appDiedLocked(ActivityManagerService.java:4959)
at com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied(ActivityManagerService.java:1163)
at android.os.BinderProxy.sendDeathNotice(Binder.java:551)
08-17 21:46:32.434 848-864/? E/WindowState: Error happens during resized
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.view.IWindow$Stub$Proxy.resized(IWindow.java:327)
at com.android.server.wm.WindowState.reportResized(WindowState.java:1391)

问题已解决:
原因:3.12使用clang编译器bug,改回gcc编译就OK了,官方bug已经确认并修复了,看来以后要多关注官方的github了。

改了两个地方:
1、cocos2d-x-3.12\tools\cocos2d-console\plugins\plugin_compile\build_android.py 201行修改为 return ‘4.9’
2、frameworks\cocos2d-x\cocos\2d\CCFontAtlas.cpp 修改
参考 https://github.com/cocos2d/cocos2d-x/commit/66fac82f007514e9ec4021515e325c49d129a45b