Box2D Forums

It is currently Sun May 19, 2013 3:41 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Aug 16, 2011 1:22 pm 
Offline

Joined: Tue Aug 16, 2011 1:10 pm
Posts: 3
Hey guys, sorry if this is too generic of a question for this forum but here it goes:

I am making a game for Android through AndEngine. It has quite a few circle bodies moving around:
1 is dynamic (user)
when off screen(out of play) the others are static
when onscreen (in play) they're kinematic

My issue is this: random time during the game (sometimes not at all) the Box2D will crash my game :?: Now I believe I've moved all body manipulation to the proper threads, and alleviated any null references; yet it still happens now and then.

When it stops it doesn't error out, or give me ANR, it simply stops my activity and returns to the main menu like nothing bad happened. The only hint of what's going on is the dump in LogCat which I for the life of me can't wrap my head around decoding. Thus I'm here with you educated individuals trying to see if I can get even a glimmer of hope.

Thanks for any advice or documentation :!:

LogCat Dump:
Code:
08-16 15:52:23.755: INFO/DEBUG(1003): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-16 15:52:23.755: INFO/DEBUG(1003): Build fingerprint: 'verizon/voles/sholes/sholes:2.2.2/FRG83G/91102:user/release-keys'
08-16 15:52:23.755: INFO/DEBUG(1003): pid: 4285, tid: 4420  >>> com.android.andEngineBIC <<<
08-16 15:52:23.755: INFO/DEBUG(1003): signal 11 (SIGSEGV), fault addr 004f8d24
08-16 15:52:23.755: INFO/DEBUG(1003):  r0 418640de  r1 00000000  r2 418640de  r3 00000000
08-16 15:52:23.755: INFO/DEBUG(1003):  r4 00478bc0  r5 00478bc0  r6 00000000  r7 004f8d20
08-16 15:52:23.755: INFO/DEBUG(1003):  r8 0000400b  r9 00080160  10 00000000  fp 40c00000
08-16 15:52:23.755: INFO/DEBUG(1003):  ip 0000007e  sp 48ad2ac8  lr 80936700  pc 8093670c  cpsr 90000010
08-16 15:52:23.755: INFO/DEBUG(1003):  d0  6472656767756265  d1  006f005242c00000
08-16 15:52:23.755: INFO/DEBUG(1003):  d2  41c0000042da0039  d3  0000000042da0000
08-16 15:52:23.755: INFO/DEBUG(1003):  d4  41c0000042b20000  d5  0000000042b20000
08-16 15:52:23.755: INFO/DEBUG(1003):  d6  00000000426c0000  d7  0000000000000000
08-16 15:52:23.755: INFO/DEBUG(1003):  d8  0000000042800000  d9  4418846600000000
08-16 15:52:23.755: INFO/DEBUG(1003):  d10 42065a893d8f4f81  d11 3f58e9d000000000
08-16 15:52:23.755: INFO/DEBUG(1003):  d12 4000000044188466  d13 3f0000003e263ac2
08-16 15:52:23.755: INFO/DEBUG(1003):  d14 000000003e263ac2  d15 0000000000000000
08-16 15:52:23.755: INFO/DEBUG(1003):  d16 00469d1c00000001  d17 be94442d17ffffa9
08-16 15:52:23.755: INFO/DEBUG(1003):  d18 bf2a00f9e2cae76b  d19 3ec6cd878c3b46a7
08-16 15:52:23.755: INFO/DEBUG(1003):  d20 bbe041eccac5b88a  d21 3a8497adfda1cc79
08-16 15:52:23.755: INFO/DEBUG(1003):  d22 0000000000000000  d23 0000000000000000
08-16 15:52:23.755: INFO/DEBUG(1003):  d24 0000000000000000  d25 0000000000000000
08-16 15:52:23.755: INFO/DEBUG(1003):  d26 0100010001000100  d27 0100010001000100
08-16 15:52:23.755: INFO/DEBUG(1003):  d28 0100010001000100  d29 0100010001000100
08-16 15:52:23.755: INFO/DEBUG(1003):  d30 03d1c00003cf4000  d31 03d7400003d48000
08-16 15:52:23.755: INFO/DEBUG(1003):  scr 20000012
08-16 15:52:23.864: INFO/DEBUG(1003):          #00  pc 0003670c  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.864: INFO/DEBUG(1003):          #01  pc 00036aa8  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.864: INFO/DEBUG(1003):          #02  pc 00036cf4  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.864: INFO/DEBUG(1003):          #03  pc 000323b4  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.864: INFO/DEBUG(1003):          #04  pc 0003d698  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.864: INFO/DEBUG(1003):          #05  pc 0003c3f0  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.864: INFO/DEBUG(1003):          #06  pc 00016e34  /system/lib/libdvm.so
08-16 15:52:23.864: INFO/DEBUG(1003): code around pc:
08-16 15:52:23.864: INFO/DEBUG(1003): 809366ec e1a0100b eb00728e e3c01102 e1a00007
08-16 15:52:23.864: INFO/DEBUG(1003): 809366fc eb00728c e1a09288 e0857009 e1a02000
08-16 15:52:23.864: INFO/DEBUG(1003): 8093670c e5971004 e597000c e58d2004 eb007285
08-16 15:52:23.864: INFO/DEBUG(1003): 8093671c e3a0143f eb007314 e59d100c eb007280
08-16 15:52:23.864: INFO/DEBUG(1003): 8093672c e7951288 e3c03102 e5970008 e58d3008
08-16 15:52:23.864: INFO/DEBUG(1003): code around lr:
08-16 15:52:23.864: INFO/DEBUG(1003): 809366e0 eb007293 e3a0143f eb007322 e1a0100b
08-16 15:52:23.864: INFO/DEBUG(1003): 809366f0 eb00728e e3c01102 e1a00007 eb00728c
08-16 15:52:23.864: INFO/DEBUG(1003): 80936700 e1a09288 e0857009 e1a02000 e5971004
08-16 15:52:23.864: INFO/DEBUG(1003): 80936710 e597000c e58d2004 eb007285 e3a0143f
08-16 15:52:23.864: INFO/DEBUG(1003): 80936720 eb007314 e59d100c eb007280 e7951288
08-16 15:52:23.864: INFO/DEBUG(1003): stack:
08-16 15:52:23.864: INFO/DEBUG(1003):     48ad2a88  42dd31e0 
08-16 15:52:23.864: INFO/DEBUG(1003):     48ad2a8c  0047b240  [heap]
08-16 15:52:23.864: INFO/DEBUG(1003):     48ad2a90  00000001 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2a94  80936528  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2a98  42dd31e0 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2a9c  0047b3c0  [heap]
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2aa0  00000001 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2aa4  80936528  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2aa8  00000001 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2aac  415eeef7 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ab0  4153bbbf 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ab4  415eeef7 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ab8  00000000 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2abc  80953720  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ac0  df002777 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ac4  e3a070ad 
08-16 15:52:23.872: INFO/DEBUG(1003): #00 48ad2ac8  40c4ccd3 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2acc  415eeef7 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ad0  40e7777e 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ad4  40e7777e 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ad8  42dd31e0 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2adc  0000006f 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ae0  4114999a 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ae4  00000de0 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2ae8  42dd31e0 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2aec  0000006f 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2af0  42dd31e0 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2af4  0000000a 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2af8  00000012 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2afc  413d999a 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b00  42ca6dc8 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b04  00468f68  [heap]
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b08  44a156e0  /dev/ashmem/mspace/dalvik-heap/2 (deleted)
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b0c  80936aac  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:23.872: INFO/DEBUG(1003): #01 48ad2b10  00000000 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b14  42dd31e0 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b18  00000012 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b1c  0000002c 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b20  413d999a 
08-16 15:52:23.872: INFO/DEBUG(1003):     48ad2b24  80936cf8  /data/data/com.android.andEngineBIC/lib/libandenginephysicsbox2dextension.so
08-16 15:52:24.802: INFO/DEBUG(1003): ptrace attach failed: Operation not permitted
08-16 15:52:24.802: INFO/BootReceiver(1085): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
08-16 15:52:24.849: DEBUG/Zygote(1005): Process 4285 terminated by signal (11)
08-16 15:52:24.935: INFO/WindowManager(1085): WIN DEATH: Window{449f9538 com.android.andEngineBIC/com.android.andEngineBIC.MAIN paused=false}
08-16 15:52:24.935: INFO/ActivityManager(1085): Process com.android.andEngineBIC (pid 4285) has died.
08-16 15:52:24.950: INFO/WindowManager(1085): WIN DEATH: Window{44a8dab8 com.android.andEngineBIC/com.android.andEngineBIC.GAME paused=false}
08-16 15:52:24.950: INFO/WindowManager(1085): WIN DEATH: Window{44af34c0 SurfaceView paused=false}
08-16 15:52:24.974: INFO/ActivityManager(1085): Start proc com.android.andEngineBIC for activity com.android.andEngineBIC/.MAIN: pid=4441 uid=10024 gids={}
08-16 15:52:25.099: INFO/UsageStats(1085): Unexpected resume of com.android.andEngineBIC while already resumed in com.android.andEngineBIC


Top
 Profile  
 
PostPosted: Tue Aug 16, 2011 6:09 pm 
Offline

Joined: Mon Jun 08, 2009 12:21 pm
Posts: 353
It looks like AndEngine doesn't use JBox2D and actually links with JNI to the original version. I would post in the general forum


Top
 Profile  
 
PostPosted: Wed Aug 17, 2011 9:36 am 
Offline

Joined: Tue Aug 16, 2011 1:10 pm
Posts: 3
Will do, thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group