Hi,
I'm using the newest newton version from gitlab and getting "Multiple Floating Point Traps".
In my scenario, I'm using several joint connections: ballandsocket -> hinge -> hinge
The error occurs in dbBroadphase. Stacktrace:
- Code: Select all
> newton.dll!dgBroadPhaseNode::SetAABB(const dgVector & minBox, const dgVector & maxBox) Zeile 96 C++
newton.dll!dgBroadPhase::UpdateBody(dgBody * const body, int) Zeile 740 C++
newton.dll!dgBody::UpdateCollisionMatrix(float timestep, int) Zeile 264 C++
newton.dll!dgWorldDynamicUpdate::IntegrateVelocity(const dgBodyCluster * const cluster, float timestep, float) Zeile 606 C++
newton.dll!dgWorldDynamicUpdate::ResolveClusterForces(dgBodyCluster * const cluster, int threadID, float timestep) Zeile 912 C++
newton.dll!dgWorldDynamicUpdate::CalculateClusterReactionForcesKernel(void * const context, void * const worldContext, int threadID) Zeile 435 C++
[Inlineframe] newton.dll!dgThreadHive::dgWorkerThread::RunNextJobInQueue(int) Zeile 224 C++
[Inlineframe] newton.dll!dgThreadHive::dgWorkerThread::ConcurrentWork(int) Zeile 242 C++
newton.dll!dgThreadHive::dgWorkerThread::Execute(int threadId) Zeile 259 C++
newton.dll!dgThread::dgThreadSystemCallback(void * threadData) Zeile 202 C++
[Externer Code]
[Inlineframe] newton.dll!invoke_thread_procedure(unsigned int(__stdcall*)(void *)) Zeile 91 C++
newton.dll!thread_start<unsigned int (__stdcall*)(void *)>(void * const parameter) Zeile 115 C++
[Externer Code]
[Die unten aufgeführten Frames sind möglicherweise nicht korrekt und/oder fehlen, für "kernel32.dll" wurden keine Symbole geladen.] Unbekannt
Line 96:
m_minBox = p0.Floor() * m_broadInvPhaseScale;
// m_broadInvPhaseScale = 0.125
but p0 has really weird values:
p0 = {m_f= {8.95627014e+13, -8.55390080e+12, -1.57280402e+13, 0.000000000} m_i= {1453517282, -721882233, ...} ...}
Its always the same place, it crashes.
Best Regards
Lax