deshan
19-12-2009 07:07:17
Hi
I am getting a strage error. This is not happening always. But some times when I exit the application. The error occus when it reached the following line.
NxOgre log
In my application I have set of enemy characters. And I am using a separate thread to handle each and every character physics and movements. But I am make sure threads are stopped before application is closed.
Any idea what may cause this?
EIDT : There is a voting mechanism u may very interesting
http://www.ogre3d.org/forums/viewtopic. ... 56&start=0
I am getting a strage error. This is not happening always. But some times when I exit the application. The error occus when it reached the following line.
void MemoryDebugger::writeAllocationsToFile(const char* fileName)
{
...
unsigned char c = ((unsigned char*)allocation->_Ptr)[i];
....
}
NxOgre log
-Error -----------------------------------------------------------
From: f:\p4physx\experimental\PhysX_2.8.1_GPU\novodex\SDKs\Physics\src\NpActor.cpp(268)
PhysX error:
PhysicsSDK: NpActor::setLinearVelocity: WriteLock is still acquired. Procedure call skipped to avoid a deadlock!
NxErroCode:A method was called at a time when an operation is not possible
------------------------------------------------------------------
In my application I have set of enemy characters. And I am using a separate thread to handle each and every character physics and movements. But I am make sure threads are stopped before application is closed.
Any idea what may cause this?
EIDT : There is a voting mechanism u may very interesting
http://www.ogre3d.org/forums/viewtopic. ... 56&start=0