program crashes on NewtonDestroyAllBodies() under debugger

artm

22-08-2006 12:20:03

hi

i'm trying to debug the crash I've implemented using OgreNewt ;-)

if i start Debug version of the application I can walk in the dungeon untill i get to the problematic snack and try to eat it (collide with it)

but if I try to start the same application in the debugger (mingw version of gdb) it never starts up, getting illegal instruction error in NewtonDestroyAllBodies() (which i didn't intend to be called).

the backtrace seems very odd as well - several frames in NewtonDestroyAllBodies() and many frames that the debugger can't figure out.

any ideas what could be causing it?

cheers,
artm

artm

25-08-2006 12:58:42

ah, nevermind, if i continue from there i get to my own crashes.