← Back to team overview

yade-dev team mailing list archive

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

 

It should be workarounded in r2259. Can you confirm?
No time for more investigations now.
I didn't get any problems with this code, even after 200k iterations in 
periodic tests, and I can't find a way to run the crashing example, see 
below. So, I cannot "see" the bug.

Bruno

1st try :

File "examples/rotatingCylinder.py", line 32
 SyntaxError: Non-ASCII character '\xc2' in file 
examples/rotatingCylinder.py on line 32, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details 
(rotatingCylinder.py, line 32)

--> Fixed

2nd try :

SyntaxError: Non-ASCII character '\xe2' in file 
examples/rotatingCylinder.py on line 36, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details 
(rotatingCylinder.py, line 36)

--> Fixed

3rd try :

 File "examples/rotatingCylinder.py", line 31, in <module>
    cyl=unitCylinder(); sq=unitSquare(); sq.translate(0,0,-1); cyl.copy(sq)
  File "examples/rotatingCylinder.py", line 28, in unitCylinder
    return pack.sweptPolylines2gtsSurface([ptsBase,ptsTop])
  File "/home/bruno/YADE/lib/yade-true-true/py/yade/pack.py", line 125, 
in sweptPolylines2gtsSurface
    vtxs=[[gts.Vertex(x,y,z) for x,y,z in pts1] for pts1 in pts]
NameError: global name 'gts' is not defined

--> Huh?!

-- 
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!





Follow ups

References