I’m encountering an odd crash that is very reproducible.
First the peculiar’s:
It’s a Storyboard App
I’m using Physics for collision detection (gravity at 0,0 since I don’t want gravity)
I’m using touch-drag to move my player through the game space.
If I do the following:
Move the player.
Press the Pause button.
Resume the game.
Move the player.
I get the following crash:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC\_BAD\_ACCESS (SIGSEGV)
Exception Codes: KERN\_INVALID\_ADDRESS at 0x00000000da00925e
VM Regions Near 0xda00925e:
CG backing stores 00000000c8fd7000-00000000c96b7000 [7040K] rw-/rw- SM=SHM
--\>
Submap 00000000ffff0000-00000000ffff2000 r-x/r-x process-only submap
Application Specific Information:
objc[1596]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.Box2D.Box2D 0x001bb2f7 b2Body::SetTransform(b2Vec2 const&, float) + 21
It should be noted that no collisions are involved. I do a physics.start() on storyboard.enterScene, I do a physics.stop() on storyboard.exitScene.
So the whole “don’t modify your object during a collision” bug/limitation isn’t the problem here.
Any ideas on this one?
Thanks
Rob
Now to go find my other crashing bug…
EDIT: Oh, happening with 764 and the last Stable build. [import]uid: 19626 topic_id: 23150 reply_id: 323150[/import]