Yes, it seems, it is working without crashes now.
Will test later again.
Thank you.
______________________________
Anton Gladkyy
2010/5/28 Chareyre <email address hidden>
> Can you confirm that last commit fixes the bug? I have really no time to
> recompile and check.
> There is no cross product in my code, and I see no division by zero,
> except if 0>0 or NaN>0. In the second case it would mean NaN is
> generated outside the function.
>
> --
> 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: Confirmed
>
> 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!
>
>
>
Yes, it seems, it is working without crashes now.
Will test later again.
Thank you. _______ _______ _______ __
_______
Anton Gladkyy
2010/5/28 Chareyre <email address hidden>
> Can you confirm that last commit fixes the bug? I have really no time to 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:
> recompile and check.
> There is no cross product in my code, and I see no division by zero,
> except if 0>0 or NaN>0. In the second case it would mean NaN is
> generated outside the function.
>
> --
> bzr2255 crash on examples/
> https:/
> You received this bug notification because you are subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: Confirmed
>
> 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!
>
>
>