crash in simpleShear.py

Bug #810056 reported by Bruno Chareyre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Undecided
Jérôme Duriez

Bug Description

See log.

Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :
Revision history for this message
Jérôme Duriez (jduriez) wrote :

Hello,

I did not understand cleary from the log which version did you use :
"Welcome to Yade 1+2881+27~lucid1"

Was it 2881 ? If yes, I'm not so surprized. Could you try with updated version ? (>= r2882 )

Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :

The result is the same in r2886, ubuntu 10.04.

optimized build with features:
features = 'cgal,gts,log4cxx,opengl,openmp,qt4,vtk'

It seems there is a problem when deleting interactions. No suprise that it randomly doesn't crash (e.g. on your pc) if it is related with junk pointers.

/home/3S-LAB/bchareyre/yade/lib/yade-fresh-mono/py/yade/../../lib/libcore.so(_ZN5boost6detail12shared_countD1Ev+0x49)[0x7f13982ffba9]
/home/3S-LAB/bchareyre/yade/lib/yade-fresh-mono/py/yade/../../lib/libcore.so(_ZN11Interaction5resetEv+0x46)[0x7f1398296386]
/home/3S-LAB/bchareyre/yade/lib/yade-fresh-mono/py/yade/../../lib/libcore.so(_ZN20InteractionContainer12requestEraseEiib+0x6d)[0x7f139829803d]
/home/3S-LAB/bchareyre/yade/lib/yade-fresh-mono/plugins/../plugins/libplugins.so(_ZN55Law2_ScGeom6D_NormalInelasticityPhys_NormalInelasticity2goERN5boost10shared_ptrI5IGeomEERNS1_I5IPhysEEP11Interaction+0x105a)[0x7f138811ebca]

Revision history for this message
Jérôme Duriez (jduriez) wrote :

Ok, I could observe the crash on Emma's PC but still not on mine. I'm trying to perform the same compilation as you to see if I get the crash in this case.

Changed in yade:
assignee: nobody → jduriez (jduriez)
Revision history for this message
Jérôme Duriez (jduriez) wrote :

Ok, I compiled with scons.profile as following :

PREFIX = '/home/3S-LAB/jduriez/YADE'
debug = True
optimize = 1
features = 'cgal,gts,log4cxx,opengl,openmp,qt4,vtk'
jobs = 12
version = 'trunk'
CPPPATH = '/usr/include/vtk-5.0:/usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/vtk-5.6:/usr/include/vtk:/usr/include/eigen2'
CXXFLAGS = []
SHCCFLAGS = ['-fPIC']

So normally the same as yours (?), but still no crash...

Revision history for this message
Jérôme Duriez (jduriez) wrote :

r2907 seems to solve the problem on Emma's PC. I change the status for "Fix Released". Please re open if you observe the contrary...

Changed in yade:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.