For futur readers, including myself: it seems a "if (p)" before a "p->" would help...
#7 0x00007ffcc32a6941 in *__GI___assert_fail (assertion=0x7ffcbb0eff24 "px != 0", file=<value optimized out>, line=418, function=0x7ffcbb113240 "T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = Body]") at assert.c:81 #8 0x00007ffcbaec0d63 in boost::shared_ptr<Body>::operator-> (this=0x2197670) at /usr/include/boost/smart_ptr/shared_ptr.hpp:418 #9 0x00007ffcbae641d1 in InteractionContainer::clear (this=0x2197f60) at /home/francoisk/yade/core/InteractionContainer.cpp:32 #10 0x00007ffcbae6535c in InteractionContainer::postLoad__calledFromScene (this=0x2197f60, bb=...) at /home/francoisk/yade/core/InteractionContainer.cpp:158
For futur readers, including myself: it seems a "if (p)" before a "p->" would help...
#7 0x00007ffcc32a6941 in *__GI___assert_fail (assertion= 0x7ffcbb0eff24 "px != 0", file=<value optimized out>, line=418, function= 0x7ffcbb113240 "T* boost::shared_ptr< <template- parameter- 1-1> >::operator->() const [with T = Body]") at assert.c:81 shared_ ptr<Body> ::operator- > (this=0x2197670) at /usr/include/ boost/smart_ ptr/shared_ ptr.hpp: 418 ainer:: clear (this=0x2197f60) at /home/francoisk /yade/core/ InteractionCont ainer.cpp: 32 ainer:: postLoad_ _calledFromScen e (this=0x2197f60, bb=...) at /home/francoisk /yade/core/ InteractionCont ainer.cpp: 158
#8 0x00007ffcbaec0d63 in boost::
#9 0x00007ffcbae641d1 in InteractionCont
#10 0x00007ffcbae6535c in InteractionCont