Marioko - MogreNewt instability since non-bekas version?


08-04-2008 10:09:29

Hi All,

I've just been finishing off an exhibit that uses Mogre, but I've noticed a few problems with MogreNewt that seem to have started appearing since I upgraded to the latest version of Mogre (I was using 0.2.0 / 1.4.0 before). It might be conincidence but I'm pretty sure these are only happening with the new version:

The first problem is that there is an exception thrown when using the TreeCollision constructor. This can be described here:


I'm getting the following problem happening after a while of being used:

System.Runtime.InteropServices.SEHException : External Component has thrown an exception.
at NewtonUpdate(NewtonWorld*, Single)
at MogreNewt.World.Update(Single t_step)

Thirdly, I'm getting an occasional problem when disposing of MogreNewt vehicles:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at NewtonVehicleRemoveTire(NewtonJoint* , Void* )
at MogreNewt.Vehicle.DetachTire(Tire tire)
at MogreNewt.Vehicle.DetachAllTires()
at MogreNewt.Vehicle.Destroy()

Marioko, do you think you might have time to look into why the first problem is happening? Maybe that would explain why the rest of these are occurring?

Thanks again for all your help!



10-04-2008 19:55:07

ok i will check MogreNewt, and try to fix that..

thanks.. :D


10-04-2008 21:59:52

ok i will check MogreNewt, and try to fix that..

thanks.. :D

Great, thanks for looking into it :)