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!
>
>
>
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 Engine/ PartialEngine/ RotationEngine. cpp:62) : vel=state- >angVel. cross(l) ; rotatingCylinde r.py /bugs.launchpad .net/bugs/ 585898 rotatingCylinde r.py with bzr2255 (default profile) I work/yade/ trunk/pkg/ common/ DataClass/ VelocityBins. cpp:33 setBins: work/yade/ trunk/pkg/ common/ DataClass/ VelocityBins. cpp:77 setBins:
> line (pkg/common/
>
> state->
>
> 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/
> https:/
> You received this bug notification because you are subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> When I run examples/
> got a crash after several iterations. Seems it related with velocityBins
> mechanism:
>
> Yade [1]: INFO yade.VelocityBins
> /home/sega/
> New number of bins: 5
> FATAL yade.VelocityBins
> /home/sega/
> Body #4483, velSq=nan not put in any bin!?
> Crash!
>
>
>