Page 1 of 1

Internal Error: Dangling next pointer detected in contact gr

Posted: Wed Jun 10, 2015 11:07 am
by saarbruck
I am seeing this occasional assert in v6.2.1 in cpSpaceProcessComponents(), I haven't been able to repro it reliably.

it looks like the code was refactored since a fix was described for 6.1:
https://github.com/slembcke/Chipmunk2D/ ... 7abf6673de

Does anyone have thoughts on what could cause this? I have a space with damping but no gravity, I am using a sleep threshold and I am filtering collisions. I am also setting velocities on potentially sleeping bodies, but cpBodySetVel() calls cpBodyActivate() so that seems taken care of.

Thanks for any suggestions.