← Back to team overview

yade-users team mailing list archive

Yade crash due to a new data class!



I was trying to improve the StiffnessMatrix class, by simply adding a 
new Vector3r to represent the rotational stiffness. It crashed when I 
tried to run the simulation. So I have kept intact the old 
StiffnessMatrix class - which work - and I have created a new class 
called GlobalStiffness which was just to include the new Vector3r data 
ans see what happens.
The result is, Yade crashes again with the message :
yade: /usr/include/boost/shared_ptr.hpp:253: T* 
boost::shared_ptr<T>::operator->() const [with T = PhysicalAction]: 
Assertion `px != 0' failed.

If I remove the libGlobalStiffness.so from YADE/lib/DEM, everything 
works well...
I have tried to completely uninstall Yade and re-install, same crash 

Could you try to compile this class on your system and see what happens?

Chareyre Bruno
Maître de conférence

Institut National Polytechnique de Grenoble
Laboratoire 3S (Soils Solids Structures) - bureau I08
BP 53 - 38041, Grenoble cedex 9 - France     
Tél :

Yade-users mailing list

Follow ups