game crashes automatically - Please HELP

Put your problem here if it does not fit any of the other categories.

game crashes automatically - Please HELP

Postby sachendra » Mon Mar 30, 2009 6:38 am

i am working on a game.
the problem is that sometimes the game crashes automatically when i run it and gives and gives this LOG



03-30 10:14:54.312: INFO/ActivityManager(58): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x10200000 comp={sach.cs/sach.cs.SpacyMidlet} }
03-30 10:14:54.492: INFO/DEBUG(264): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-30 10:14:54.492: INFO/DEBUG(264): Build fingerprint: 'tmeu/kila_eu/dream/trout:1.1/TMI-RC9/128600:user/ota-rel-keys,release-keys'
03-30 10:14:54.492: INFO/DEBUG(264): pid: 470, tid: 470 >>> sach.cs <<<
03-30 10:14:54.492: INFO/DEBUG(264): signal 11 (SIGSEGV), fault addr 00000024
03-30 10:14:54.492: INFO/DEBUG(264): r0 00081490 r1 0008142c r2 00081454 r3 00000000
03-30 10:14:54.492: INFO/DEBUG(264): r4 00000000 r5 000813e0 r6 ac1261c4 r7 00081454
03-30 10:14:54.492: INFO/DEBUG(264): r8 00081490 r9 00000000 10 00000000 fp 00000000
03-30 10:14:54.492: INFO/DEBUG(264): ip ac05c858 sp befe44f8 lr ac05ca70 pc ac05c874 cpsr 60000010
03-30 10:14:54.562: INFO/DEBUG(264): #00 pc ac05c874 /system/lib/libsgl.so
03-30 10:14:54.562: INFO/DEBUG(264): #01 pc ac05ca6c /system/lib/libsgl.so
03-30 10:14:54.562: INFO/DEBUG(264): #02 pc ac05e398 /system/lib/libsgl.so
03-30 10:14:54.572: INFO/DEBUG(264): #03 pc ac05c13c /system/lib/libsgl.so
03-30 10:14:54.572: INFO/DEBUG(264): #04 pc ad33c9a0 /system/lib/libandroid_runtime.so
03-30 10:14:54.572: INFO/DEBUG(264): #05 pc ad00d9f4 /system/lib/libdvm.so
03-30 10:14:54.572: INFO/DEBUG(264): #06 pc ad04120e /system/lib/libdvm.so
03-30 10:14:54.582: INFO/DEBUG(264): #07 pc ad012748 /system/lib/libdvm.so
03-30 10:14:54.582: INFO/DEBUG(264): #08 pc ad02a92c /system/lib/libdvm.so
03-30 10:14:54.582: INFO/DEBUG(264): #09 pc ad0169d0 /system/lib/libdvm.so
03-30 10:14:54.582: INFO/DEBUG(264): #10 pc ad052096 /system/lib/libdvm.so
03-30 10:14:54.582: INFO/DEBUG(264): #11 pc ad03ccbc /system/lib/libdvm.so
03-30 10:14:54.592: INFO/DEBUG(264): #12 pc ad012748 /system/lib/libdvm.so
03-30 10:14:54.592: INFO/DEBUG(264): #13 pc ad02a92c /system/lib/libdvm.so
03-30 10:14:54.592: INFO/DEBUG(264): #14 pc ad0169d0 /system/lib/libdvm.so
03-30 10:14:54.592: INFO/DEBUG(264): #15 pc ad051f10 /system/lib/libdvm.so
03-30 10:14:54.602: INFO/DEBUG(264): #16 pc ad03f87a /system/lib/libdvm.so
03-30 10:14:54.602: INFO/DEBUG(264): #17 pc ad32832c /system/lib/libandroid_runtime.so
03-30 10:14:54.602: INFO/DEBUG(264): #18 pc ad328db8 /system/lib/libandroid_runtime.so
03-30 10:14:54.612: INFO/DEBUG(264): #19 pc 00008c12 /system/bin/app_process
03-30 10:14:54.612: INFO/DEBUG(264): #20 pc afe1dbd2 /system/lib/libc.so
03-30 10:14:54.612: INFO/DEBUG(264): #21 pc afe0b010 /system/lib/libc.so
03-30 10:14:54.612: INFO/DEBUG(264): #22 pc b0000d70 /system/bin/linker
03-30 10:14:54.622: INFO/DEBUG(264): stack:
03-30 10:14:54.622: INFO/DEBUG(264): befe44b8 00000000
03-30 10:14:54.622: INFO/DEBUG(264): befe44bc 000c3ea8 [heap]
03-30 10:14:54.622: INFO/DEBUG(264): befe44c0 00000000
03-30 10:14:54.622: INFO/DEBUG(264): befe44c4 a9d31375 /system/lib/libutils.so
03-30 10:14:54.622: INFO/DEBUG(264): befe44c8 ad075334 /system/lib/libdvm.so
03-30 10:14:54.622: INFO/DEBUG(264): befe44cc 000c1dd8 [heap]
03-30 10:14:54.622: INFO/DEBUG(264): befe44d0 000bda74 [heap]
03-30 10:14:54.622: INFO/DEBUG(264): befe44d4 000c3ea8 [heap]
03-30 10:14:54.622: INFO/DEBUG(264): befe44d8 00000000
03-30 10:14:54.622: INFO/DEBUG(264): befe44dc 00000000
03-30 10:14:54.622: INFO/DEBUG(264): befe44e0 43fb0028
03-30 10:14:54.622: INFO/DEBUG(264): befe44e4 a9d3139d /system/lib/libutils.so
03-30 10:14:54.622: INFO/DEBUG(264): befe44e8 befe453c [stack]
03-30 10:14:54.622: INFO/DEBUG(264): befe44ec befe4630 [stack]
03-30 10:14:54.622: INFO/DEBUG(264): befe44f0 df002777
03-30 10:14:54.632: INFO/DEBUG(264): befe44f4 e3a070ad
03-30 10:14:54.632: INFO/DEBUG(264): #00 befe44f8 00000004
03-30 10:14:54.632: INFO/DEBUG(264): befe44fc 00000000
03-30 10:14:54.632: INFO/DEBUG(264): befe4500 000bda74 [heap]
03-30 10:14:54.632: INFO/DEBUG(264): befe4504 43fb002c
03-30 10:14:54.632: INFO/DEBUG(264): befe4508 41049cd4
03-30 10:14:54.632: INFO/DEBUG(264): befe450c 00000000
03-30 10:14:54.632: INFO/DEBUG(264): befe4510 43fb002c
03-30 10:14:54.632: INFO/DEBUG(264): befe4514 000bda70 [heap]
03-30 10:14:54.632: INFO/DEBUG(264): befe4518 a9d2d335 /system/lib/libutils.so
03-30 10:14:54.632: INFO/DEBUG(264): befe451c 00081490 [heap]
03-30 10:14:54.632: INFO/DEBUG(264): befe4520 000813e0 [heap]
03-30 10:14:54.632: INFO/DEBUG(264): befe4524 ac1261c4
03-30 10:14:54.632: INFO/DEBUG(264): befe4528 00081454 [heap]
03-30 10:14:54.632: INFO/DEBUG(264): befe452c 000813e0 [heap]
03-30 10:14:54.632: INFO/DEBUG(264): befe4530 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe4534 0008142c [heap]
03-30 10:14:54.642: INFO/DEBUG(264): befe4538 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe453c ac05ca70 /system/lib/libsgl.so
03-30 10:14:54.642: INFO/DEBUG(264): #01 befe4540 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe4544 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe4548 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe454c 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe4550 000003e8
03-30 10:14:54.642: INFO/DEBUG(264): befe4554 a9d27f9b /system/lib/libutils.so
03-30 10:14:54.642: INFO/DEBUG(264): befe4558 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe455c 00ff0000
03-30 10:14:54.642: INFO/DEBUG(264): befe4560 000813e0 [heap]
03-30 10:14:54.642: INFO/DEBUG(264): befe4564 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe4568 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe456c befe45d4 [stack]
03-30 10:14:54.642: INFO/DEBUG(264): befe4570 00000000
03-30 10:14:54.642: INFO/DEBUG(264): befe4574 ac05e39c /system/lib/libsgl.so
03-30 10:14:55.142: INFO/ActivityManager(58): Process sach.cs (pid 470) has died.
03-30 10:14:55.162: DEBUG/Zygote(30): Process 470 terminated by signal (11)
03-30 10:15:36.572: DEBUG/dalvikvm(58): GC freed 14123 objects / 777760 bytes in 177ms
sachendra
Junior Developer
Junior Developer
 
Posts: 18
Joined: Wed Mar 18, 2009 12:25 pm
Location: Mumbai

Top

Postby sachendra » Tue Oct 06, 2009 11:49 am

I figured it out and thought to put it on forum so that someone else may need it.


It was because of wrong call of GC. Actually i was porting a game of j2me on android and in original game they had called GC in a contructor. I just removed that and found that working.
sachendra
Junior Developer
Junior Developer
 
Posts: 18
Joined: Wed Mar 18, 2009 12:25 pm
Location: Mumbai

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 11 guests