Error in/after ~Shape destructor...

brightemo

20-10-2008 01:30:04

Can anyone see any reason why this would crash in the ~Shape destructor? Am I missing something? The ninja displays fine on screen.

NxOgre 1.0-21 compiled to DLL
Ogre 1.6.0RC1 (Shoggoth)
PhysX v2.8.1
Visual Studio 2005
Vista x64

Ogre log has no errors. NxOgre log is empty for some reason.

In my constructor
mSceneManager = Ogre::Root::getSingletonPtr()->createSceneManager(Ogre::ST_GENERIC, "MainGameScene");
mWorld = std::auto_ptr<NxOgre::World>(new NxOgre::World("time-controller: ogre, log: yes"));
mScene = mWorld->createScene("MainGameScene", mSceneManager, "gravity: yes, floor: yes, renderer: ogre");
mNinja = mScene->createBody("Ninja; ninja.mesh", new NxOgre::Cube(5), NxOgre::Pose(0.0f, 0.0f, 0.0f), NxOgre::ActorParams("mass: 10"));


Callstack


~Shape destructor


HEAP[Sockets_d.exe]: Invalid address specified to RtlValidateHeap( 029A0000, 02AA12B8 )
Windows has triggered a breakpoint in Sockets_d.exe.

This may be due to a corruption of the heap, and indicates a bug in Sockets_d.exe or any of the DLLs it has loaded.