Skip to content

Segmentation fault (core dumped) with vtkrecorder

I am using Yadedaily : Yade 1.10.0-72-d9ab58cc~precise

I have this error :

Running script 03-oedometric-test.py ERROR /tmp/buildd/yadedaily-1.10.0-72-d9ab58cc~precise/pkg/common/GravityEngines.cpp:19 action: GravityEngine is deprecated, consider using Newton::gravity instead (unless gravitational energy has to be tracked - not implemented with the newton attribute). Segmentation fault (core dumped)

when I add this line :

VTKRecorder(fileName='3d-vtk-',recorders=['all'],iterPeriod=100),

in the program 03-oedometric-test.py (/trunk/doc/sphinx/tutorial/) or in other script.

I have the same error with this :
Yade [1]: import os,signal

Yade [2]: os.kill(os.getpid(),signal.SIGSEGV)
Segmentation fault (core dumped)

Thanks

Original bug report by Kadiri on 2014-09-13 : https://bugs.launchpad.net/yade/+bug/1368978

Edited by Janek Kozicki