cocos2djs app后台进到前台会被强制杀死重运行。

@minggo
软件环境
cocos2djs v3.6.1 android

机型:三星 Note 3 型号:SM-N9002
系统版本:Android OS 4.4.2 分辨率:1920*1080 ROM版本:KOT49H.N9002ZNUFNK1

现象
新建空项目 app从后台进到前台且不停的点击滑动会被强制杀死重运行.
但是cocos2djs v3.3不会出现这个问题 v3.5以上都有问题包括刚出的v3.12

locat.txt.zip (99.8 KB)

08-17 17:14:15.114: W/AudFlgTh(349): Using by PID 7633, ProcessName:com.candy.dujiadui  
08-17 17:14:15.114: V/SRS_Proc(349): ParamSet string: beats_icon=on
08-17 17:14:15.124: V/SRS_Proc(349): ParamSet string: audio_start=ON
08-17 17:14:15.124: D/PMS(998): acquireWL(426df298): PARTIAL_WAKE_LOCK  AudioMix 0x1 349 1013
08-17 17:14:15.134: V/AudioService(998): Receive BEATS_NATIVE_NOTIFICATION from Native AudioTrack!!! notificationOn=true
08-17 17:14:15.134: V/AudioService(998): Receive BEATS_NATIVE_NOTIFICATION from Native AudioTrack!!! notificationOn=true
08-17 17:14:15.134: D/AudioService(998): [HtcBeatsEffect]onMessageBeatsNotify active=true effect=800
08-17 17:14:15.134: D/AudioService(998): [HtcBeatsEffect]onMessageBeatsNotify active=true effect=800
08-17 17:14:15.134: A/libc(7633): Fatal signal 11 (SIGSEGV) at 0x00000030 (code=1), thread 7877 (Thread-797)
08-17 17:14:15.134: E/msm8974_platform(349): platform_get_output_snd_device: enter: output devices(0x2)
08-17 17:14:15.134: V/WiredAccessoryManager(998): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=1, DEVPATH=/devices/virtual/switch/Beats, SEQNUM=15794, ACTION=change, SWITCH_NAME=Beats}
08-17 17:14:15.134: E/NetlinkEvent(330): NetlinkEvent::FindParam(): Parameter 'CDROM_TYPE' not found
08-17 17:14:15.134: W/Vold(330): Ignoring unknown switch 'Beats'
08-17 17:14:15.134: V/WiredAccessoryManager(998): Beats UEVENT: STATE:1
08-17 17:14:15.134: V/WiredAccessoryManager(998): Beats UEVENT: bests_status:true
08-17 17:14:15.134: V/WiredAccessoryManager(998): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=1, DEVPATH=/devices/virtual/switch/Beats, SEQNUM=15794, ACTION=change, SWITCH_NAME=Beats}
08-17 17:14:15.134: V/WiredAccessoryManager(998): Beats UEVENT: STATE:1
08-17 17:14:15.134: V/WiredAccessoryManager(998): Beats UEVENT: bests_status:true
08-17 17:14:15.194: I/DEBUG(345): Build fingerprint: 'htc/htccn_chs_cmcc/htc_a3tl:4.4.2/KOT49H/364881.1:user/release-keys'
08-17 17:14:15.194: I/DEBUG(345): Revision: '0'
08-17 17:14:15.194: I/DEBUG(345): pid: 7633, tid: 7877, name: Thread-797  >>> com.candy.dujiadui <<<
08-17 17:14:15.194: I/DEBUG(345): debuggerd: checkTellHTCSettings
08-17 17:14:15.194: I/DEBUG(345): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000030
08-17 17:14:15.194: V/HtcNativeCrashUtil(998): Read id1=-1243796867 id2=-217320719, they are start flags. This is HTC header
08-17 17:14:15.314: E/MP-Decision(1591): Update arg 1
08-17 17:14:15.354: I/DEBUG(345):     r0 5a8dd5ec  r1 5a8e0dd0  r2 00000000  r3 00000000
08-17 17:14:15.354: I/DEBUG(345):     r4 5a8dd5ec  r5 00000003  r6 00000001  r7 00000000
08-17 17:14:15.354: I/DEBUG(345):     r8 00000000  r9 5a8de8c0  sl 5b3210c0  fp ffffff88
08-17 17:14:15.354: I/DEBUG(345):     ip 58392b10  sp 5a8dd588  lr 57976038  pc 57976040  cpsr 800b0010
08-17 17:14:15.354: I/DEBUG(345):     d0  0000000000000000  d1  0000000000000000
08-17 17:14:15.354: I/DEBUG(345):     d2  0000000000000000  d3  0000000000000000
08-17 17:14:15.354: I/DEBUG(345):     d4  fe8000003f000001  d5  000122e800000000
08-17 17:14:15.354: I/DEBUG(345):     d6  0000000000000000  d7  3f8000003f800000
08-17 17:14:15.354: I/DEBUG(345):     d8  416fca0555555555  d9  416fca0540000000
08-17 17:14:15.354: I/DEBUG(345):     d10 0000000000000000  d11 0000000000000000
08-17 17:14:15.354: I/DEBUG(345):     d12 0000000000000000  d13 0000000000000000
08-17 17:14:15.354: I/DEBUG(345):     d14 0000000000000000  d15 0000000000000000
08-17 17:14:15.354: I/DEBUG(345):     d16 006f006900640075  d17 006e0069006c0046
08-17 17:14:15.354: I/DEBUG(345):     d18 002e00640069006f  d19 006900640065006d
08-17 17:14:15.354: I/DEBUG(345):     d20 00410049002e0061  d21 006f006900640075
08-17 17:14:15.354: I/DEBUG(345):     d22 006e0069006c0046  d23 0000007200650067
08-17 17:14:15.354: I/DEBUG(345):     d24 bf2a00524eff3a19  d25 3f7d6556e3e72d0c
08-17 17:14:15.354: I/DEBUG(345):     d26 bfb5a947821623b9  d27 bf43ec1b094bf62b
08-17 17:14:15.354: I/DEBUG(345):     d28 3f0b00ee6a7d9444  d29 3ec6cd878c3b46a7
08-17 17:14:15.354: I/DEBUG(345):     d30 be60cfcb3e2d7500  d31 3ef99342e0ee5069
08-17 17:14:15.354: I/DEBUG(345):     scr 68000013
08-17 17:14:15.364: I/DEBUG(345): backtrace:
08-17 17:14:15.364: I/DEBUG(345):     #00  pc 003cd040  /data/app-lib/com.candy.dujiadui-1/libcocos2djs.so
08-17 17:14:15.364: I/DEBUG(345):     #01  pc 003cd034  /data/app-lib/com.candy.dujiadui-1/libcocos2djs.so
08-17 17:14:15.364: I/DEBUG(345): stack:
08-17 17:14:15.364: I/DEBUG(345):          5a8dd548  00000000  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd54c  5a8dd6b0  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd550  00000003  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd554  00000001  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd558  5a8dd6c0  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd55c  5a8dd8b8  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd560  5a8de8c0  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd564  5b3210c0  [anon:js-gc-heap]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd568  ffffff88  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd56c  57a59b14  /data/app-lib/com.candy.dujiadui-1/libcocos2djs.so
08-17 17:14:15.364: I/DEBUG(345):          5a8dd570  5a8dd6b0  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd574  00000003  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd578  00000001  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd57c  00000000  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd580  e3a070ad  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd584  ef9000ad  
08-17 17:14:15.364: I/DEBUG(345):     #00  5a8dd588  5a8dd6b0  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          ........  ........
08-17 17:14:15.364: I/DEBUG(345):     #01  5a8dd588  5a8dd6b0  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd58c  57dbcf74  /data/app-lib/com.candy.dujiadui-1/libcocos2djs.so
08-17 17:14:15.364: I/DEBUG(345):          5a8dd590  00001104  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd594  5a8dd694  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd598  5da71a48  [anon:libc_malloc]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd59c  00008000  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5a0  5a8dd694  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5a4  00000200  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5a8  5da71a58  [anon:libc_malloc]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5ac  5da71a70  [anon:libc_malloc]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5b0  5a8dd6c0  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5b4  4008ad89  /system/lib/libc.so (malloc+12)
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5b8  0000000f  
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5bc  57ca044c  /data/app-lib/com.candy.dujiadui-1/libcocos2djs.so
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5c0  5a8dd6c0  [stack:7877]
08-17 17:14:15.364: I/DEBUG(345):          5a8dd5c4  5da71a48  [anon:libc_malloc]
08-17 17:14:15.364: I/DEBUG(345): memory near r0:
08-17 17:14:15.364: I/DEBUG(345):     5a8dd5cc 57d5d3c4 7fffffff 00000000 00000174  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd5dc 5b21508c 5b216460 5b26f400 00000000  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd5ec 00000000 00000000 582ac014 5a8dd600  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd5fc 5a8dd938 5a8dd6d0 00000080 582cfe1c  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd60c 582cfe1c 582cfe1c 57ca044c 5a8dd67c  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd61c 5da71a58 5b2164a8 5a8dd6b0 5da71a58  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd62c 5a8dd638 00000000 00000000 5b37f080  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd63c 5b135b48 5a8dd67c 5a8dd6b0 5a8dd694  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd64c 5da71a58 5a8dd6b0 5b37f080 5a8dd694  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd65c 00000001 5b135b48 00000000 5a8de8c0  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd66c 5b3210c0 ffffff88 57d5a4cc 59c273b9  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd67c 5b135b48 5da71a58 5b215008 5b26f400  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd68c 00000000 00000001 5da71a48 5da71a48  
08-17 17:14:15.364: I/DEBUG(345):     5a8dd69c 5b635008 00000001 00001000 00009000  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd6ac 00009000 5b135b48 5b37f080 5b2a05a5  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd6bc 0000010f 5a8dd6d0 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345): memory near r1:
08-17 17:14:15.374: I/DEBUG(345):     5a8e0db0 415bf41d 4008a304 59f49488 5d2c6010  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0dc0 5a8e0dd0 0000000b 00000078 4008a49c  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0dd0 5a8e0dd0 5d2c6010 00000000 4036eaf0  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0de0 00000000 1d9720e5 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0df0 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e00 00000000 00000000 00000000 59f49488  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e10 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e20 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e30 5b5ad260 00000000 00000000 5c855da8  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e40 00000000 00000000 59fc0240 59558460  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e50 00000000 5a8dd67c 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e60 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e70 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e80 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0e90 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8e0ea0 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345): memory near r4:
08-17 17:14:15.374: I/DEBUG(345):     5a8dd5cc 57d5d3c4 7fffffff 00000000 00000174  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd5dc 5b21508c 5b216460 5b26f400 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd5ec 00000000 00000000 582ac014 5a8dd600  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd5fc 5a8dd938 5a8dd6d0 00000080 582cfe1c  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd60c 582cfe1c 582cfe1c 57ca044c 5a8dd67c  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd61c 5da71a58 5b2164a8 5a8dd6b0 5da71a58  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd62c 5a8dd638 00000000 00000000 5b37f080  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd63c 5b135b48 5a8dd67c 5a8dd6b0 5a8dd694  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd64c 5da71a58 5a8dd6b0 5b37f080 5a8dd694  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd65c 00000001 5b135b48 00000000 5a8de8c0  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd66c 5b3210c0 ffffff88 57d5a4cc 59c273b9  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd67c 5b135b48 5da71a58 5b215008 5b26f400  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd68c 00000000 00000001 5da71a48 5da71a48  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd69c 5b635008 00000001 00001000 00009000  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd6ac 00009000 5b135b48 5b37f080 5b2a05a5  
08-17 17:14:15.374: I/DEBUG(345):     5a8dd6bc 0000010f 5a8dd6d0 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345): memory near r9:
08-17 17:14:15.374: I/DEBUG(345):     5a8de8a0 5b26f400 00000000 00000020 57be82f8  
08-17 17:14:15.374: I/DEBUG(345):     5a8de8b0 5b3d8b08 58364e78 59467640 00000001  
08-17 17:14:15.374: I/DEBUG(345):     5a8de8c0 5a8de930 00000001 5a8ded9c 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8de8d0 000000c1 5b135b48 5a8ded9c 57bed430  
08-17 17:14:15.374: I/DEBUG(345):     5a8de8e0 59c1cdfe 57b81700 5b3ad790 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8de8f0 00000000 5b379ab0 5a8de930 00000001  
08-17 17:14:15.374: I/DEBUG(345):     5a8de900 5a8e07d0 fffffff6 5b135b54 5b320040  
08-17 17:14:15.374: I/DEBUG(345):     5a8de910 5b135b48 5a8de920 00000003 00000008  
08-17 17:14:15.374: I/DEBUG(345):     5a8de920 5b382660 ffffff88 5b3210c0 ffffff88  
08-17 17:14:15.374: I/DEBUG(345):     5a8de930 5db36da0 ffffff85 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8de940 00000000 00000000 00000000 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8de950 5b135b48 5a8debec 000000c1 5a8ded9c  
08-17 17:14:15.374: I/DEBUG(345):     5a8de960 000000c1 00000000 00000001 57bee730  
08-17 17:14:15.374: I/DEBUG(345):     5a8de970 57b81d9c 00ffffff 000000c1 00000000  
08-17 17:14:15.374: I/DEBUG(345):     5a8de980 00000000 00000001 00000000 00000004  
08-17 17:14:15.374: I/DEBUG(345):     5a8de990 00000000 00000000 00000000 57b81700  
08-17 17:14:15.374: I/DEBUG(345): memory near sl:
08-17 17:14:15.384: I/DEBUG(345):     5b3210a0 5b32cc10 5b31d600 5b255908 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b3210b0 5b3321c0 5b31d500 5b285dd8 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b3210c0 594682f8 5b31d160 5cebd1b0 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b3210d0 5b332280 5b31d160 5b1ebd58 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b3210e0 5b3715e0 5b31d160 5b298b38 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b3210f0 5b371688 5b31d160 5b2d4658 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321100 5b38bac0 5b31d160 5c8c1360 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321110 5b371730 5b31d160 5b2d46e8 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321120 5b3c8520 5b31d160 5cf646e0 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321130 5b37b898 5b31d160 5b29e1e0 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321140 5b3c80d0 5b31d500 5b288768 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321150 5db0f220 5b31d3a0 58ea2c98 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321160 5b3ad7f0 5b31d500 5cfe78d0 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321170 594627c0 5b3a68e0 5cfe79d8 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321180 5b3c8070 5b31d160 5d0b7ec0 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345):     5b321190 5b3adaf0 5b3a68e0 5cfe7be0 583b6fa0  
08-17 17:14:15.384: I/DEBUG(345): memory near ip:
08-17 17:14:15.384: I/DEBUG(345):     58392af0 400a3c9d 400a3d2d 400a3651 40092169  
08-17 17:14:15.384: I/DEBUG(345):     58392b00 529a3c51 40090cf5 4008a844 4008aab0  
08-17 17:14:15.384: I/DEBUG(345):     58392b10 4008aa90 4009f890 400ab7ed 4009dfdc  
08-17 17:14:15.384: I/DEBUG(345):     58392b20 4009211d 4009e0b0 4004900d 40049191  
08-17 17:14:15.384: I/DEBUG(345):     58392b30 400490e1 4004905d 400ab6dd 400b8fb7  
08-17 17:14:15.384: I/DEBUG(345):     58392b40 400a8dd9 4009e8dc 4008c124 4008b96c  
08-17 17:14:15.384: I/DEBUG(345):     58392b50 4008ba70 4008ada5 400a41b1 400abf5d  
08-17 17:14:15.384: I/DEBUG(345):     58392b60 400a65dd 400a6acf 400b6091 4009eee8  
08-17 17:14:15.384: I/DEBUG(345):     58392b70 4009f078 4009ef2c 400b5599 4009ef74  
08-17 17:14:15.384: I/DEBUG(345):     58392b80 4009ef94 400abc4d 400b5585 4009eb98  
08-17 17:14:15.384: I/DEBUG(345):     58392b90 40090ad1 400eb368 400a8f31 400a0d31  
08-17 17:14:15.384: I/DEBUG(345):     58392ba0 400a93e5 4009f560 4008adb9 400a35d5  
08-17 17:14:15.384: I/DEBUG(345):     58392bb0 40093b95 400927e1 400a35ed 40092701  
08-17 17:14:15.384: I/DEBUG(345):     58392bc0 400edca0 400f6078 400f9690 400b8f39  
08-17 17:14:15.384: I/DEBUG(345):     58392bd0 400a33d9 40092d65 400a6b59 4009e7dc  
08-17 17:14:15.384: I/DEBUG(345):     58392be0 400928cd 4009eb38 4009c911 4009c88f  
08-17 17:14:15.384: I/DEBUG(345): memory near sp:
08-17 17:14:15.384: I/DEBUG(345):     5a8dd568 ffffff88 57a59b14 5a8dd6b0 00000003  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd578 00000001 00000000 e3a070ad ef9000ad  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd588 5a8dd6b0 57dbcf74 00001104 5a8dd694  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd598 5da71a48 00008000 5a8dd694 00000200  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd5a8 5da71a58 5da71a70 5a8dd6c0 4008ad89  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd5b8 0000000f 57ca044c 5a8dd6c0 5da71a48  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd5c8 5a8de1a0 57d5d3c4 7fffffff 00000000  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd5d8 00000174 5b21508c 5b216460 5b26f400  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd5e8 00000000 00000000 00000000 582ac014  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd5f8 5a8dd600 5a8dd938 5a8dd6d0 00000080  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd608 582cfe1c 582cfe1c 582cfe1c 57ca044c  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd618 5a8dd67c 5da71a58 5b2164a8 5a8dd6b0  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd628 5da71a58 5a8dd638 00000000 00000000  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd638 5b37f080 5b135b48 5a8dd67c 5a8dd6b0  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd648 5a8dd694 5da71a58 5a8dd6b0 5b37f080  
08-17 17:14:15.384: I/DEBUG(345):     5a8dd658 5a8dd694 00000001 5b135b48 00000000  
08-17 17:14:15.384: I/DEBUG(345): code around pc:
08-17 17:14:15.384: I/DEBUG(345):     57976020 e5803004 e5801008 e5c0200c e59f001c  
08-17 17:14:15.384: I/DEBUG(345):     57976030 e79f0000 ebf946ba e1a03000 e1a00004  
08-17 17:14:15.384: I/DEBUG(345):     57976040 e5932030 e5842010 e5834030 e8bd8010  
08-17 17:14:15.394: I/DEBUG(345):     57976050 00a40f6c e92d4038 e1a04000 e59f0054  
08-17 17:14:15.394: I/DEBUG(345):     57976060 e79f0000 ebf946ae e5d4200c e3520000  
08-17 17:14:15.394: I/DEBUG(345):     57976070 e1a03000 1a00000b e594c000 e35c0000  
08-17 17:14:15.394: I/DEBUG(345):     57976080 0a000008 e5945004 e92d0080 e1a0000c  
08-17 17:14:15.394: I/DEBUG(345):     57976090 e1a01005 e3a0780f e2877002 e3a02000  
08-17 17:14:15.394: I/DEBUG(345):     579760a0 ef000000 e8bd0080 e5942010 e1a00004  
08-17 17:14:15.394: I/DEBUG(345):     579760b0 e5832030 e8bd8038 00a40f3c e92d4070  
08-17 17:14:15.394: I/DEBUG(345):     579760c0 e1a06000 e5904030 e3540002 8a000016  
08-17 17:14:15.394: I/DEBUG(345):     579760d0 e5964038 e3540002 98bd8070 e5945090  
08-17 17:14:15.394: I/DEBUG(345):     579760e0 e3550000 18bd8070 e5943038 e3530000  
08-17 17:14:15.394: I/DEBUG(345):     579760f0 08bd8070 e5943034 e0841105 e594202c  
08-17 17:14:15.394: I/DEBUG(345):     57976100 e7913003 e0842002 e0820003 e7923003  
08-17 17:14:15.394: I/DEBUG(345):     57976110 e2855001 e593301c e12fff33 e5943038  
08-17 17:14:15.394: I/DEBUG(345): code around lr:
08-17 17:14:15.394: I/DEBUG(345):     57976018 e1a04000 e5803000 e5803004 e5801008  
08-17 17:14:15.394: I/DEBUG(345):     57976028 e5c0200c e59f001c e79f0000 ebf946ba  
08-17 17:14:15.394: I/DEBUG(345):     57976038 e1a03000 e1a00004 e5932030 e5842010  
08-17 17:14:15.394: I/DEBUG(345):     57976048 e5834030 e8bd8010 00a40f6c e92d4038  
08-17 17:14:15.394: I/DEBUG(345):     57976058 e1a04000 e59f0054 e79f0000 ebf946ae  
08-17 17:14:15.394: I/DEBUG(345):     57976068 e5d4200c e3520000 e1a03000 1a00000b  
08-17 17:14:15.394: I/DEBUG(345):     57976078 e594c000 e35c0000 0a000008 e5945004  
08-17 17:14:15.394: I/DEBUG(345):     57976088 e92d0080 e1a0000c e1a01005 e3a0780f  
08-17 17:14:15.394: I/DEBUG(345):     57976098 e2877002 e3a02000 ef000000 e8bd0080  
08-17 17:14:15.394: I/DEBUG(345):     579760a8 e5942010 e1a00004 e5832030 e8bd8038  
08-17 17:14:15.394: I/DEBUG(345):     579760b8 00a40f3c e92d4070 e1a06000 e5904030  
08-17 17:14:15.394: I/DEBUG(345):     579760c8 e3540002 8a000016 e5964038 e3540002  
08-17 17:14:15.394: I/DEBUG(345):     579760d8 98bd8070 e5945090 e3550000 18bd8070  
08-17 17:14:15.394: I/DEBUG(345):     579760e8 e5943038 e3530000 08bd8070 e5943034  
08-17 17:14:15.394: I/DEBUG(345):     579760f8 e0841105 e594202c e7913003 e0842002  
08-17 17:14:15.394: I/DEBUG(345):     57976108 e0820003 e7923003 e2855001 e593301c  
08-17 17:14:15.394: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.414: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.414: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.424: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.424: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.434: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.434: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.444: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.454: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.464: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.464: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.474: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.474: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.484: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.494: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.494: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.504: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.514: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.524: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.524: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.534: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.544: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.554: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.554: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.564: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.574: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.574: D/PMS(998): acquireWL(4279ce80): PARTIAL_WAKE_LOCK  AlarmManager 0x1 998 1000
08-17 17:14:15.574: V/AlarmManager(998): sending alarm PendingIntent{42aca228: PendingIntentRecord{41ee1890 android broadcastIntent}}, i=com.android.internal.wifi.data-stall, t=3, cnt=1, w=216509570, Int=0
08-17 17:14:15.584: D/WifiDataStallTracker(998): onReceive: action=com.android.internal.wifi.data-stall
08-17 17:14:15.584: D/WifiDataStallTracker(998): onActionIntentDataStallAlarm: action=com.android.internal.wifi.data-stall
08-17 17:14:15.584: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.584: D/PMS(998): releaseWL(4279ce80): PARTIAL_WAKE_LOCK  AlarmManager 0x1
08-17 17:14:15.584: D/WifiDataStallTracker(998): updateDataStallInfo: mDataStallTxRxSum={txSum=9450 rxSum=7774} preTxRxSum={txSum=9388 rxSum=7729}
08-17 17:14:15.584: D/WifiDataStallTracker(998): updateDataStallInfo: IN/OUT
08-17 17:14:15.584: D/WifiDataStallTracker(998): onDataStallAlarm: tag=21503 Sent 0 pkts since last received, < watchdogTrigger=10
08-17 17:14:15.584: D/WifiDataStallTracker(998): startDataStallAlarm: tag=21504 delay=30s
08-17 17:14:15.594: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.604: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.604: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.614: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.624: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.624: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.634: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.644: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.654: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.654: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.664: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.664: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.674: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.674: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.684: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.684: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.694: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.694: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.704: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.704: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.714: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.724: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.724: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.734: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.744: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.744: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.754: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.754: I/DEBUG(345): --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
08-17 17:14:15.804: E/ActivityManager(998): App crashed! Process: com.candy.dujiadui
08-17 17:14:15.804: W/ActivityManager(998):   Force finishing activity com.candy.dujiadui/org.cocos2dx.javascript.AppActivity
08-17 17:14:15.814: D/PMS(998): acquireWL(42640040): PARTIAL_WAKE_LOCK  ActivityManager-Launch 0x1 998 1000
08-17 17:14:15.874: W/InputDispatcher(998): channel '425fd058 org.cocos2dx.javascript.AppActivity (s)' ~ Consumer closed input channel or an error occurred.  events=0x9
08-17 17:14:15.874: E/InputDispatcher(998): channel '425fd058 org.cocos2dx.javascript.AppActivity (s)' ~ Channel is unrecoverably broken and will be disposed!
08-17 17:14:15.874: I/ActivityManager(998): Recipient 7633
08-17 17:14:15.874: I/ActivityManager(998): Process com.candy.dujiadui (pid 7633) has died.
08-17 17:14:15.884: E/OMXNodeInstance(349): [Vidc_Omx] In Loaded State
08-17 17:14:15.884: E/OMXNodeInstance(349): [Vidc_Omx] In freeActiveBuffers: mActiveBuffers.size(0)
08-17 17:14:15.884: E/OMXNodeInstance(349): [Vidc_Omx] Calling destroyComponentInstance
08-17 17:14:15.884: E/OMXNodeInstance(349): [Vidc_Omx] DestroyComponentInstance returned err 0
08-17 17:14:15.884: W/InputDispatcher(998): Attempted to unregister already unregistered input channel '425fd058 org.cocos2dx.javascript.AppActivity (s)'
08-17 17:14:15.884: D/PhoneStatusBar(1214): Navigation bar WINDOW_STATE_SHOWING
08-17 17:14:15.884: I/WindowState(998): WIN DEATH: Window{425fd058 u0 com.candy.dujiadui/org.cocos2dx.javascript.AppActivity}
08-17 17:14:15.884: D/WifiService(998): Client connection lost with reason: 4
08-17 17:14:15.884: D/PMS(998): acquireWL(429b8f70): PARTIAL_WAKE_LOCK  AudioOffload 0x1 349 1013
08-17 17:14:15.884: W/WindowManager(998): Force-removing child win Window{429df7b0 u0 SurfaceView} from container Window{425fd058 u0 com.candy.dujiadui/org.cocos2dx.javascript.AppActivity}
08-17 17:14:15.894: W/WindowManager(998): Force-removing child win Window{42a3b460 u0 SurfaceView} from container Window{428a0480 u0 com.candy.dujiadui/org.cocos2dx.javascript.AppActivity}
1赞

js端的代码需要优化 不要在一帧里做太多事情 遇到这样的问题 如果代码没出错 基本上就是这样了。

js代码就是显示一张图片 然后点击图片移动功能而已。

Hi guys, please use english in future, thanks.

@edu1211can i use js-tests to reproduce it?

哦,不好意思。这是中文论坛,搞晕了。
能用js-tests重现吗?

Log 里面跟游戏相关的有两个疑点

  1. W/AudFlgTh(349): Using by PID 7633, ProcessName:com.candy.dujiadui
  2. A/libc(7633): Fatal signal 11 (SIGSEGV) at 0x00000030 (code=1), thread 7877 (Thread-797)

在 AudFlgTh 之后请求了 AudioService,然后就发生了错误并崩溃

可以试试把所有的音频关闭之后再测试

@minggo
js-tests能够重现

重现环境
2dx版本:cocos2dx v3.12

手机信息

重现步骤

从后面进入前台后随意点击或滑动就会重现。
在有的机型会弹出“很抱歉,JsTests 已停止运行”,但是app会自己再一次启动。

1赞

@minggo 我刚在优测平台测试了下CppTests没有这个问题

@minggo,针对JsTest耐心测试一下,如果能重现就建立github issue来跟踪吧,别漏掉了这事。

这个问题你们查的怎么样呀~

用了jstest也会这样。怎么关闭编译声音模块呀

这个bug能解决吗?

这样的问题真的引擎组没法帮你 我遇到你这样的问题 修了我两个星期才陆续修改好。
你去把各种能优化的地方全部优化掉,声音确实是很容易崩的地方,特别是关闭声音的同时又打开了声音。
还有卸载声音等等,这些都很容易导致崩溃的。。
仔细看自己的每一个JS文件的每一行吧。只有这样干才能解决这样的问题。

这个问题怎么解决的啊