Android Port: Game Crashes / Other?

3itg3itg Member, PRO Posts: 382
edited July 2012 in Working with GS (Mac)
Screen Shot 2012 07 05 at 11 06 41 AM

First Question, what is other?
Anyone know if it can be reduced?

Secondly, I have a game that is working well on iOS and I have started to attempt to port to android. Every time I started the game it crashed, I deleted a rule that I thought may have been the problem, and now the menus load.
Once I select a level, it crashes again.
I resized my background (reduced the source image size by 50%), I tried deleting the main actor from the scene entirely, and the background, and the objective. Nothing seems to fix the crash.

Best Answer

  • JustMe74JustMe74 Posts: 542
    Accepted Answer
    If you're using the Viewer and not a real .APK, you have no idea whether or not this is a viewer problem or something wrong with your game. I have noticed differences in the viewer vs. an actual build on both iOS and Android.

    You should contact GS support and send them your project file (click "Contact Support" at the bottom of the page).

Answers

  • 3itg3itg Member, PRO Posts: 382
    I am testing on a Samsung Galaxy S 4G and a Samsung Galaxy Tab 7".
    Also, I am using Android Viewer. (I am specifically trying to figure how much more work goes into getting android working before I buy a pro license)
  • 3itg3itg Member, PRO Posts: 382
    I truncated this down to try to avoid a horrible wall of debug text...
    but this is the output from logcat while using GS Viewer on my android device, and attempting to load a level. the first lines are gs debug commands, the asterisks are where the crash takes place.
    I deleted everything in the scene and it still crashes.
    Any help on where to start even would be greatly appreciated.



    D/GSLogDebugStatement(25715): Log(Actor: level select): Chime Played OK.
    D/GSLogDebugStatement(25715): Log(Actor: level select): Loading OK.
    D/GSLogDebugStatement(25715): Log(Actor: level select): Level 1 loaded OK.
    V/WindowManager( 2476): Dsptch > Window{48547918 com.gamesalad.viewer/com.gamesalad.viewer.GSViewerPlayerActivity paused=false}
    V/InputDevice( 2476): ID[0]=0(0) Up(1=>0)
    I/PowerManagerService( 2476): Ulight 3->7|0
    D/dalvikvm(25715): GC_FOR_MALLOC freed 992 objects / 1932448 bytes in 28ms
    D/dalvikvm(25715): GC_FOR_MALLOC freed 493 objects / 390224 bytes in 27ms
    D/dalvikvm(25715): GC_FOR_MALLOC freed 69 objects / 531984 bytes in 31ms
    D/dalvikvm(25715): GC_FOR_MALLOC freed 717 objects / 533400 bytes in 26ms
    I/DEBUG (24613): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    I/DEBUG (24613): Build fingerprint: 'TMOUS/SGH-T959V/SGH-T959V/SGH-T959V:2.2.1/FROYO/VUVKD1:user/release-keys'
    I/DEBUG (24613): pid: 25715, tid: 25764 >>> com.gamesalad.viewer <<<
    I/DEBUG (24613): signal 11 (SIGSEGV), fault addr 00000000
    I/DEBUG (24613): r0 00f8cb64 r1 00000000 r2 00000001 r3 00000000
    I/DEBUG (24613): r4 00f8cb64 r5 00f8cb60 r6 4db387d8 r7 4db38718
    I/DEBUG (24613): r8 00f7fb08 r9 4db387f8 10 00000001 fp 4db38718
    I/DEBUG (24613): ip 00000002 sp 4db386d0 lr 81da72dc pc 81dabdf0 cpsr 20000010
    I/DEBUG (24613): d0 643a64696f72646e d1 6472656767756265
    I/DEBUG (24613): d2 ffffff0400536767 d3 14954dffffffffff
    I/DEBUG (24613): d4 468e3b401e60b725 d5 e8442dfd4593bad6
    I/DEBUG (24613): d6 71fa1e4f2d0c2847 d7 aa564cb42869baa8
    I/DEBUG (24613): d8 3cc49ba600000007 d9 c26400003cc49ba6
    I/DEBUG (24613): d10 0000000000000000 d11 0000000000000000
    I/DEBUG (24613): d12 0000000000000000 d13 0000000000000000
    I/DEBUG (24613): d14 0000000000000000 d15 0000000000000000
    I/DEBUG (24613): d16 ffffffff47d2c688 d17 7e37e43c8800759c
    I/DEBUG (24613): d18 3fe0000000000000 d19 3fe00000001b7740
    I/DEBUG (24613): d20 3ff0000000000000 d21 8000000000000000
    I/DEBUG (24613): d22 0000000000000000 d23 0007000200060003
    I/DEBUG (24613): d24 0101010101010101 d25 0000000000000000
    I/DEBUG (24613): d26 0007000700070007 d27 0007000700070007
    I/DEBUG (24613): d28 000e000e000e000e d29 3ff0000000000000
    I/DEBUG (24613): d30 0000000000000000 d31 3ff0000000000000
    I/DEBUG (24613): scr 80000012
    I/DEBUG (24613):
    I/DEBUG (24613): #00 pc 81dabdf0 /data/data/com.gamesalad.viewer/lib/libgsengine.so
    I/DEBUG (24613): #01 lr 81da72dc /data/data/com.gamesalad.viewer/lib/libgsengine.so
    I/DEBUG (24613):
    I/DEBUG (24613): code around pc:
    I/DEBUG (24613): 81dabdd0 e092218c daffffeb e880040c e8bd8400
    I/DEBUG (24613): 81dabde0 e880100c e8bd8400 e580100c e5801010
    I/DEBUG (24613): 81dabdf0 e891100c e5922000 e1a0118c e3a0c000
    I/DEBUG (24613): 81dabe00 e0823003 e3c32003 e2033003 e1a03183
    I/DEBUG (24613): 81dabe10 e2633020 e880000e e580c014 e1a0f00e
    I/DEBUG (24613):
    I/DEBUG (24613): code around lr:
    I/DEBUG (24613): 81da72bc e4946004 e1a05000 e1a07001 e1a00004
    I/DEBUG (24613): 81da72cc e5911000 e1a0a002 e596801c eb0012c2
    I/DEBUG (24613): 81da72dc e1a00004 e3a01001 eb0012cd e3500000
    I/DEBUG (24613): 81da72ec 0a000001 e3e00086 e8bd8ff8 e5983008
    I/DEBUG (24613): 81da72fc e3530000 0a00000b e2533001 0a000009
    I/DEBUG (24613):
    I/DEBUG (24613): stack:
    I/DEBUG (24613): 4db38690 00f7fa50 [heap]
    I/DEBUG (24613): 4db38694 4db38718
    I/DEBUG (24613): 4db38698 4db386ac
    I/DEBUG (24613): 4db3869c 81da8938 /data/data/com.gamesalad.viewer/lib/libgsengine.so
    I/DEBUG (24613): 4db386a0 00000200
    I/DEBUG (24613): 4db386a4 00000001
    I/DEBUG (24613): 4db386a8 4db386cc
    I/DEBUG (24613): 4db386ac 00f8cb48 [heap]
    I/DEBUG (24613): 4db386b0 00f8cb48 [heap]
    I/DEBUG (24613): 4db386b4 00f8c84f [heap]
    I/DEBUG (24613): 4db386b8 00000000
    I/DEBUG (24613): 4db386bc 0000001c
    I/DEBUG (24613): 4db386c0 00f8cb48 [heap]
    I/DEBUG (24613): 4db386c4 81da7e50
  • 3itg3itg Member, PRO Posts: 382
    Mac GS, I decided to leave the windows version alone for now.
    Since I'm already trying to port, I figured I should skip switching operating systems and program versions by sticking with GSC for mac.
  • 3itg3itg Member, PRO Posts: 382
    edited July 2012
    I removed all actors from first scene... It works.
    Add any actor it crashes. Main character with lots of rules crashes... Bg with no rules crashes.
    Anyone ever overcome an issue like this.
    I have a significantly more complicated game and it works no problem.

    GSC Mac, gamesalad viewer on htc evo4g, Samsung galaxy s 4g and Samsung galaxy tab 7
Sign In or Register to comment.