EmergentOrganization / cell-rpg

:black_square_button: connect to a universe where cellular automata have run rampant
http://emergentorganization.github.io/bridge/
Other
12 stars 1 forks source link

Box2D Crash in Arcade mode #104

Closed BrianErikson closed 8 years ago

BrianErikson commented 8 years ago

When I was wandering around the area in Arcade, a few times I have crashed to desktop with the following stack trace:

[INFO]  13:35:17.795    game.Arcade.<init>  -   enter arcade mode
[INFO]  13:35:26.319    regions.WarpInEventRegion.getNextRegion -   leaving TimedRegion. Time spent in region:7004
[INFO]  13:35:33.343    regions.WarpInEventRegion.getNextRegion -   leaving TimedRegion. Time spent in region:7008
java: /var/lib/jenkins/workspace/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/b2Body.cpp:168: b2Fixture* b2Body::CreateFixture(const b2FixtureDef*): Assertion `m_world->IsLocked() == false' failed.

I haven't pinned down where it goes wrong, but it seems to occur when changing regions?

7yl4r commented 8 years ago

I haven't seen this one before. I'm not sure what causes the world to be locked, and the region change should only be scheduling new entities to warp in, but their creation is delayed until after the warp effect is over.

On Sat, Jun 4, 2016, 7:37 AM Brian Erikson notifications@github.com wrote:

When I was wandering around the area in Arcade, a few times I have crashed to desktop with the following stack trace:

[INFO] 13:35:17.795 game.Arcade. - enter arcade mode [INFO] 13:35:26.319 regions.WarpInEventRegion.getNextRegion - leaving TimedRegion. Time spent in region:7004 [INFO] 13:35:33.343 regions.WarpInEventRegion.getNextRegion - leaving TimedRegion. Time spent in region:7008 java: /var/lib/jenkins/workspace/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/b2Body.cpp:168: b2Fixture* b2Body::CreateFixture(const b2FixtureDef*): Assertion `m_world->IsLocked() == false' failed.

I haven't pinned down where it goes wrong, but it seems to occur when changing regions?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EmergentOrganization/cell-rpg/issues/104, or mute the thread https://github.com/notifications/unsubscribe/ABAK_q7_pD6Og-doIBgd1D7ZtGRaltNqks5qIWN5gaJpZM4IuHKH .

BrianErikson commented 8 years ago

Might be a duplicate with #111. Will close for now, and re-open if I run into it again.