Bug in constraint solver

Does this make any sense to anyone? The solve function, which adds active objects to a stack and then has a assertion to confirm that the object is active fails... wck in flash is single threaded, right? Anyone have any ideas? This bug is pretty much impossible to reproduce or create testbed code for, as it happens rarely and seemingly at random - which is why I thought it might be a multi-threading or locking issue, but flash is single threaded...

EDIT: Actually, it never checks if a contact object is active or not before it adds it to the stack - perhaps the problem is here (it checks with the joints)?

Assertion failed: (b->IsActive() == true), function Solve, file ../Box2D/Dynamics/b2World.cpp, line 419.

[object AlchemyExit]
at Function/<anonymous>()
at Function/<anonymous>()
at Box2DAS.Dynamics::b2World/HandleStep()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at Box2DAS.Common::b2EventDispatcher/dispatchEvent()
at Box2DAS.Dynamics::b2World/Step()
at wck::World/step()
Assertion failed: (manifold->pointCount > 0), function b2ContactSolver, file ../Box2D/Dynamics/Contacts/b2ContactSolver.cpp, line 52.

[object AlchemyExit]
at Function/<anonymous>()
at Function/<anonymous>()
at Box2DAS.Dynamics::b2World/HandleStep()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at Box2DAS.Common::b2EventDispatcher/dispatchEvent()
at Box2DAS.Dynamics::b2World/Step()
at wck::World/step()

Original thread: https://box2d.org/forum/viewtopic.php?t=8274