Ok, how about this one? On the ragdoll testbed, I see sporadic freezes of bodies. I think it is the same problem as before (i.e. premature TOI), but now it is only manifesting when the regular solver fails to keep bodies separate.
Observe the attached .swf
Attachment:
File comment: Demonstration of problem
Box2DFlashAS3.zip [111.79 KiB]
Downloaded 25 times
Assuming it replays the same as my computer, you should see a ragdolls head hit a block, causing the head to freeze for several frames. I've slowed the frame rate to make it clear. Here I played around until I got a good example, and turned off warm starting to make it even harder for the solver, but 1 or 2 frame glitches happen under many more circumstances (e.g. watch the legs near the beginning).
I interpret the problem that when solving joints + contacts, it ultimately ends up with the head penetrating the large static block, i.e. a minor solver failure, to be expected during the running of a program. But then it tries to TOI the head vs the block, and comes up with a very small time, so the head doesn't move to its solved position. Following frames are essentially the same, until the solved position of the head doesn't involve much penetration.
The body flies off so dramatically as during the solver the head slides considerably.
I haven't tried in C++ as reproducing exactly is hard for such a large example. I notice there isn't a ragdoll example in the testbed. I've found the ragdoll example in flash often yields problems compared with other cases, probably because it stresses the solver in a different way from a huge pile of objects.