I install my game in Samsung Galaxy SII and I got crash. It is a random crash, no lua syntax error, no force close. I dont know why. This is part of logcat.
[text]
02-02 19:31:00.865: I/DEBUG(8020): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-02 19:31:00.865: I/DEBUG(8020): Build fingerprint: ‘samsung/GT-I9100T/GT-I9100T:2.3.3/GINGERBREAD/DCKF4:user/release-keys’
02-02 19:31:00.865: I/DEBUG(8020): pid: 16755, tid: 16768 >>> com.company.games.mygame <<<
02-02 19:31:00.865: I/DEBUG(8020): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
02-02 19:31:00.865: I/DEBUG(8020): r0 00000027 r1 deadbaad r2 a0000000 r3 00000000
02-02 19:31:00.865: I/DEBUG(8020): r4 00000001 r5 00000000 r6 00221460 r7 0000a000
02-02 19:31:00.865: I/DEBUG(8020): r8 00000021 r9 00000030 10 001a5df8 fp 001efe80
02-02 19:31:00.865: I/DEBUG(8020): ip afd46688 sp 46f3f810 lr afd19471 pc afd15f40 cpsr 60000030
02-02 19:31:00.865: I/DEBUG(8020): d0 000000003f800000 d1 3f8000004093e054
02-02 19:31:00.865: I/DEBUG(8020): d2 4093e05400000000 d3 3f80000080000000
02-02 19:31:00.865: I/DEBUG(8020): d4 4047e4b1bf07dd7c d5 403c000000000000
02-02 19:31:00.865: I/DEBUG(8020): d6 40d731ea0c49ba5e d7 40d731fef9db22d1
02-02 19:31:00.870: I/DEBUG(8020): d8 0000000000000190 d9 0000000000000000
02-02 19:31:00.870: I/DEBUG(8020): d10 0000000000000000 d11 0000000000000000
02-02 19:31:00.870: I/DEBUG(8020): d12 0000000000000000 d13 0000000000000000
02-02 19:31:00.870: I/DEBUG(8020): d14 0000000000000000 d15 0000000000000000
02-02 19:31:00.870: I/DEBUG(8020): d16 0000000000000000 d17 7e37e43c8800759c
02-02 19:31:00.870: I/DEBUG(8020): d18 3fd50e2c12ad81ae d19 3fd4031ceaf251c2
02-02 19:31:00.870: I/DEBUG(8020): d20 3fe3333340000000 d21 3fd3333340000000
02-02 19:31:00.870: I/DEBUG(8020): d22 3fd51ee240000000 d23 40e01d2ffd740000
02-02 19:31:00.870: I/DEBUG(8020): d24 40dd4c2013880000 d25 40ed4c1013880000
02-02 19:31:00.870: I/DEBUG(8020): d26 40cd4c4013880000 d27 b9938b6d15331805
02-02 19:31:00.870: I/DEBUG(8020): d28 c000000000000002 d29 3ff0000000000000
02-02 19:31:00.870: I/DEBUG(8020): d30 0000000000000000 d31 3ff0000000000000
02-02 19:31:00.870: I/DEBUG(8020): scr 80000010
02-02 19:31:01.025: I/DEBUG(8020): #00 pc 00015f40 /system/lib/libc.so
02-02 19:31:01.025: I/DEBUG(8020): #01 pc 000138b0 /system/lib/libc.so
02-02 19:31:01.030: I/DEBUG(8020): #02 pc 00014776 /system/lib/libc.so
02-02 19:31:01.030: I/DEBUG(8020): #03 pc 000f5e5c /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.030: I/DEBUG(8020): #04 pc 00062034 /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.030: I/DEBUG(8020): #05 pc 0005eafc /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.030: I/DEBUG(8020): #06 pc 0005ed5c /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.030: I/DEBUG(8020): #07 pc 0005f16c /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.030: I/DEBUG(8020): #08 pc 00054c40 /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.030: I/DEBUG(8020): #09 pc 00058110 /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.030: I/DEBUG(8020): #10 pc 0005d054 /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.035: I/DEBUG(8020): #11 pc 0006d7a0 /data/data/com.opendream.games.lovenotyet2/lib/libcorona.so
02-02 19:31:01.035: I/DEBUG(8020): code around pc:
02-02 19:31:01.035: I/DEBUG(8020): afd15f20 2c006824 e028d1fb b13368db c064f8df
02-02 19:31:01.035: I/DEBUG(8020): afd15f30 44fc2401 4000f8cc 49124798 25002027
02-02 19:31:01.035: I/DEBUG(8020): afd15f40 f7f57008 2106eb46 ecbaf7f6 460aa901
02-02 19:31:01.035: I/DEBUG(8020): afd15f50 f04f2006 95015380 95029303 e820f7f6
02-02 19:31:01.035: I/DEBUG(8020): afd15f60 462aa905 f7f62002 f7f5e82c 2106eb32
02-02 19:31:01.035: I/DEBUG(8020): code around lr:
02-02 19:31:01.035: I/DEBUG(8020): afd19450 4a0e4b0d e92d447b 589c41f0 26004680
02-02 19:31:01.035: I/DEBUG(8020): afd19460 686768a5 f9b5e006 b113300c 47c04628
02-02 19:31:01.035: I/DEBUG(8020): afd19470 35544306 37fff117 6824d5f5 d1ef2c00
02-02 19:31:01.035: I/DEBUG(8020): afd19480 e8bd4630 bf0081f0 000280cc ffffff88
02-02 19:31:01.035: I/DEBUG(8020): afd19490 b086b570 f602fb01 9004460c a804a901
02-02 19:31:01.035: I/DEBUG(8020): stack:
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7d0 afd42684
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7d4 000b1978
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7d8 00000015
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7dc afd18539 /system/lib/libc.so
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7e0 afd4272c
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7e4 afd426d8
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7e8 00000000
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7ec afd19471 /system/lib/libc.so
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7f0 00000001
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7f4 46f3f824
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7f8 00221460
02-02 19:31:01.035: I/DEBUG(8020): 46f3f7fc 0000a000
02-02 19:31:01.035: I/DEBUG(8020): 46f3f800 00000021
02-02 19:31:01.035: I/DEBUG(8020): 46f3f804 afd18793 /system/lib/libc.so
02-02 19:31:01.035: I/DEBUG(8020): 46f3f808 df002777
02-02 19:31:01.035: I/DEBUG(8020): 46f3f80c e3a070ad
02-02 19:31:01.035: I/DEBUG(8020): #00 46f3f810 00000010
02-02 19:31:01.035: I/DEBUG(8020): 46f3f814 afd464a4
02-02 19:31:01.035: I/DEBUG(8020): 46f3f818 00000000
02-02 19:31:01.035: I/DEBUG(8020): 46f3f81c 00000000
02-02 19:31:01.035: I/DEBUG(8020): 46f3f820 00221460
02-02 19:31:01.035: I/DEBUG(8020): 46f3f824 fffffbdf
02-02 19:31:01.035: I/DEBUG(8020): 46f3f828 00000021
02-02 19:31:01.035: I/DEBUG(8020): 46f3f82c afd46470
02-02 19:31:01.035: I/DEBUG(8020): 46f3f830 00000000
02-02 19:31:01.035: I/DEBUG(8020): 46f3f834 afd138b5 /system/lib/libc.so
02-02 19:31:01.035: I/DEBUG(8020): #01 46f3f838 00000000
02-02 19:31:01.035: I/DEBUG(8020): 46f3f83c 00000000
02-02 19:31:01.035: I/DEBUG(8020): 46f3f840 001a5df8
02-02 19:31:01.035: I/DEBUG(8020): 46f3f844 00000020
02-02 19:31:01.035: I/DEBUG(8020): 46f3f848 00000021
02-02 19:31:01.035: I/DEBUG(8020): 46f3f84c afd14779 /system/lib/libc.so[/text]
In my game, I use ‘enterFrame’ event to run my game. This is part of code.
[lua]local gameLoop
local gameUpdate
local previousTime = 0
gameUpdate = function( deltaTime, totalTime )
– Update my game objects (position, state)
end
gameLoop = function( event )
gameUpdate( event.time - previousTime, event.time )
previousTime = event.time
end
Runtime:addEventListener( “enterFrame”, gameLoop )[/lua]
Please help [import]uid: 30117 topic_id: 21256 reply_id: 321256[/import]