← Back to team overview

yade-dev team mailing list archive

Re: [Bug 585898] Re: bzr2255 crash on examples/rotatingCylinder.py

 

Thanks, Vaclav.

I have just defined, that the crash appears on r2237 and later.
http://bazaar.launchpad.net/~yade-dev/yade/trunk/revision/2237

*Bruno*, please, have a look, it is a really serious!
http://bazaar.launchpad.net/~yade-dev/yade/trunk/annotate/head:/pkg/dem/Engine/GlobalEngine/ElasticContactLaw.cpp#L119
I think the problem is somewhere here. For some reasons, the force becomes
Vector3(nan,nan,nan), then acceleration, velocity and.... Kaput.

So, it is not, probably, an Eigen problem.

Vaclav, you are right, we should seriously think about regression tests. It
will prevent a lot of mistakes.

_____________________________

Anton Gladkyy


2010/5/27 Václav Šmilauer <eudoxos@xxxxxxxx>

> Cout is buffered and might not be flushed when the crash happens. Use
> cerr, which is not buffered, hence displayed immediately.
>
> --
> 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!
>
>
>

-- 
bzr2255 crash on examples/rotatingCylinder.py
https://bugs.launchpad.net/bugs/585898
You received this bug notification because you are a member of Yade
developers, which is 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!





References