[ODE] why ode crash my app?

David Walters hidden.asbestos at googlemail.com
Fri Apr 20 01:57:27 MST 2007

> Im using HashSpace with 600 boxes (dynamic, so with body) and few trimesh
> (only geoms for collision). How have you correct your crashes?

600 is a lot of boxes and definitely sounds like a quantity that I
would expect to cause a stack overflow - regardless of step function.

You have 3 choices (ranked in ascending order of annoyance) :

1 - make the stack bigger as Lewis described.
2 - use the 'dUSE_MALLOC_FOR_ALLOCA' build option in include/config.h
3 - reduce the number of boxes / bodies.

Hope this helps,
David Walters

More information about the ODE mailing list