Fwd: AMD x86_64 dMassCheck() and bNormalizationResult errors
"Bram Stolk" <[email protected]> Sun, 18 Nov 2007 07:58:35 -0800
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
--===============1851409632== Content-Type: multipart/alternative; boundary="----=_Part_15543_2385194.1195401515605" ------=_Part_15543_2385194.1195401515605 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline a copy to the list as well. On Nov 18, 2007 12:08 AM, Funky Fred <[email protected]> wrote: > > ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in > _dNormalize4() [../../include/ode/odemath.h] > > Program received signal SIGABRT, Aborted. > [Switching to Thread 47280432254816 (LWP 8903)] > 0x00002b00550a3765 in raise () from /lib/libc.so.6 > (gdb) bt > #0 0x00002b00550a3765 in raise () from /lib/libc.so.6 > #1 0x00002b00550a51c0 in abort () from /lib/libc.so.6 > #2 0x00002b00546098f6 in dDebug (num=, > msg=) at error.cpp:102 > #3 0x00002b005464283a in dxStepBody (b=0x60e680, h=4.59163468e-41) > at ../../include/ode/odemath.h:304 > #4 0x00002b0054610a6f in dxQuickStepper (world=0x60e010, > body=0x7fff566e2830, > nb=2, _joint=, nj=1, stepsize=1) at quickstep.cpp:868 > #5 0x00002b00546422cd in dxProcessIslands (world=0x60e010, stepsize=1, > stepper=0x2b005460f630 ) at util.cpp:339 > #6 0x00000000004042fe in evolve::PhysicsEngine::doPhysics ( > this=0x7fff566e2920) at PhysicsEngine.cc:240 > #7 0x0000000000409920 in main () at testPhysicsEngine.cc:37 > > It is this normalization in dxStepBody() // normalize the quaternion and convert it to a rotation matrix dNormalize4 (b->q); dQtoR (b->q,b->posr.R); It means that the quaternion calculated by dxStepBody() is 0,0,0,0 Or just maybe it is trying to use NaN values? Please put in line 254 of util.cpp the following assert macro: dVALIDVEC4(b->q); And let us know if it is triggered or not. Bram -- Zapp: Captain's log, stardate...er.. Kif: Ohhh. April 13th. Zapp: April 13th. Point 2. ------=_Part_15543_2385194.1195401515605 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div class="gmail_quote"><div class="gmail_quote"><div class="Ih2E3d">a copy to the list as well.<br><br><br>On Nov 18, 2007 12:08 AM, Funky Fred <<a href="mailto:[email protected]" target="_blank">[email protected] </a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br>ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in _dNormalize4() [../../include/ode/odemath.h]<br><br>Program received signal SIGABRT, Aborted.<br>[Switching to Thread 47280432254816 (LWP 8903)] <br>0x00002b00550a3765 in raise () from /lib/libc.so.6<br>(gdb) bt<br>#0 0x00002b00550a3765 in raise () from /lib/libc.so.6<br>#1 0x00002b00550a51c0 in abort () from /lib/libc.so.6<br>#2 0x00002b00546098f6 in dDebug (num=, <br> msg=) at error.cpp:102<br>#3 0x00002b005464283a in dxStepBody (b=0x60e680, h=4.59163468e-41)<br> at ../../include/ode/odemath.h:304<br>#4 0x00002b0054610a6f in dxQuickStepper (world=0x60e010, body=0x7fff566e2830, <br> nb=2, _joint=, nj=1, stepsize=1) at quickstep.cpp:868<br>#5 0x00002b00546422cd in dxProcessIslands (world=0x60e010, stepsize=1,<br> stepper=0x2b005460f630 ) at util.cpp:339<br>#6 0x00000000004042fe in evolve::PhysicsEngine::doPhysics ( <br> this=0x7fff566e2920) at PhysicsEngine.cc:240<br>#7 0x0000000000409920 in main () at testPhysicsEngine.cc:37<br><br></blockquote></div><div><br><br>It is this normalization in dxStepBody()<br><br> // normalize the quaternion and convert it to a rotation matrix <br> dNormalize4 (b->q);<br> dQtoR (b->q,b->posr.R);<br><br>It means that the quaternion calculated by dxStepBody() is 0,0,0,0<br>Or just maybe it is trying to use NaN values?<br>Please put in line 254 of util.cpp the following assert macro:<br> dVALIDVEC4(b->q);<br>And let us know if it is triggered or not.<br><br><br> Bram<br></div></div><font color="#888888"><br clear="all"><br>-- <br>Zapp: Captain's log, stardate...er.. <br>Kif: Ohhh. April 13th. <br>Zapp: April 13th. Point 2. </font></div><br><br> ------=_Part_15543_2385194.1195401515605-- --===============1851409632== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ODE mailing list [email protected] http://ode.org/mailman/listinfo/ode --===============1851409632==--