Hi all,
I’m having a crash issue regarding physics. Here you can see the crash:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.Box2D.Box2D 0x001960f7 b2ContactManager::Collide() + 219
1 org.Box2D.Box2D 0x001987aa b2World::Step(float, int, int) + 160
2 com.anscamobile.Corona\_Simulator 0x00077ed9 0x1000 + 487129
3 com.anscamobile.Corona\_Simulator 0x00078052 0x1000 + 487506
4 com.anscamobile.Corona\_Simulator 0x000280b9 0x1000 + 159929
5 com.apple.Foundation 0x9af70d03 \_\_NSFireTimer + 166
6 com.apple.CoreFoundation 0x9c580996 \_\_CFRUNLOOP\_IS\_CALLING\_OUT\_TO\_A\_TIMER\_CALLBACK\_FUNCTION\_\_ + 22
7 com.apple.CoreFoundation 0x9c580327 \_\_CFRunLoopDoTimer + 743
8 com.apple.CoreFoundation 0x9c55f3e0 \_\_CFRunLoopRun + 1888
9 com.apple.CoreFoundation 0x9c55e8ec CFRunLoopRunSpecific + 332
10 com.apple.CoreFoundation 0x9c55e798 CFRunLoopRunInMode + 120
11 com.apple.HIToolbox 0x9a7bda7f RunCurrentEventLoopInMode + 318
12 com.apple.HIToolbox 0x9a7c4d9b ReceiveNextEventCommon + 381
13 com.apple.HIToolbox 0x9a7c4c0a BlockUntilNextEventMatchingListInMode + 88
14 com.apple.AppKit 0x93eab040 \_DPSNextEvent + 678
15 com.apple.AppKit 0x93eaa8ab -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
16 com.apple.AppKit 0x93ea6c22 -[NSApplication run] + 911
17 com.apple.AppKit 0x9413b18a NSApplicationMain + 1054
18 com.anscamobile.Corona\_Simulator 0x000023c5 0x1000 + 5061
This crash is shown randomly. I guess this issue is related physics because I can see b2ContactManager::Collide() + 219 on the top of stack trace. I’ve tried to look for box2d code on Internet, but apparently CoronaSDK embeds Box2D differently, the line codes don’t match each other.
So, I have no idea why my game is crashing randomly. Has any developer had this problem too? Any ideas?
Thanks. [import]uid: 81082 topic_id: 18281 reply_id: 318281[/import]
[import]uid: 52491 topic_id: 18281 reply_id: 70109[/import]