Comment 5 for bug 585898

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 585898] Re: bzr2255 crash on examples/rotatingCylinder.py

I have just checked. There are now NANs in string 62 before crash.

2010/5/27 Václav Šmilauer <email address hidden>

> Although I can't check for time reasons now, I strongly suspect this
> line (pkg/common/Engine/PartialEngine/RotationEngine.cpp:62):
>
> state->vel=state->angVel.cross(l);
>
> As you recall, Eigen doesn't handle cross product with zero vectro
> specially; if angVel is zero (at the beginning), state->vel will be NaN.
>
> --
> bzr2255 crash on examples/rotatingCylinder.py
> https://bugs.launchpad.net/bugs/585898
> You received this bug notification because you are subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> When I run examples/rotatingCylinder.py with bzr2255 (default profile) I
> got a crash after several iterations. Seems it related with velocityBins
> mechanism:
>
> Yade [1]: INFO yade.VelocityBins
> /home/sega/work/yade/trunk/pkg/common/DataClass/VelocityBins.cpp:33 setBins:
> New number of bins: 5
> FATAL yade.VelocityBins
> /home/sega/work/yade/trunk/pkg/common/DataClass/VelocityBins.cpp:77 setBins:
> Body #4483, velSq=nan not put in any bin!?
> Crash!
>
>
>