[ODE] Fwd: AMD x86_64 dMassCheck() and bNormalizationResult errors

Bram Stolk b.stolk at gmail.com
Sun Nov 18 08:58:35 MST 2007


a copy to the list as well.


On Nov 18, 2007 12:08 AM, Funky Fred <funkyfredmale at hotmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ode.org/pipermail/ode/attachments/20071118/336ec14f/attachment.htm


More information about the ODE mailing list