← Back to team overview

yade-dev team mailing list archive

[Bug 493236] Re: CohesiveTriaxialTest crashes

 

** Changed in: yade
       Status: Fix Committed => Fix Released

-- 
CohesiveTriaxialTest crashes
https://bugs.launchpad.net/bugs/493236
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Fix Released

Bug description:
CohesiveTriaxialTest crashes in r1860 (and earlier). The cause is apparently that bodies with GranularMat are being created in the generator, whereas CohesiveFrictionalBodyParameters is expected in the dispatcher.

===

#4  <signal handler called>
#5  0x00007f8b116574b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f8b1165af50 in *__GI_abort () at abort.c:92
#7  0x00007f8b111bbcc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/x86_64-linux-gnu/4.4.1/libstdc++.so
#8  0x00007f8b111ba0f6 in ?? () from /usr/lib/gcc/x86_64-linux-gnu/4.4.1/libstdc++.so
#9  0x00007f8b111ba123 in std::terminate() () from /usr/lib/gcc/x86_64-linux-gnu/4.4.1/libstdc++.so
#10 0x00007f8b111ba1a6 in __cxa_rethrow () from /usr/lib/gcc/x86_64-linux-gnu/4.4.1/libstdc++.so
#11 0x00007f8b0cb5523c in Material::getBaseClassIndex (this=0x21b8d00) at /home/vaclav/yade/trunk/core/Material.hpp:46
#12 0x00007f8b027d0a30 in ElasticMat::getBaseClassIndex (this=0x214bb90, depth=1) at /home/vaclav/yade/build-trunk-dbg/include/yade-trunk/yade/pkg-common/ElasticMat.hpp:14
#13 0x00007f8b027d1140 in GranularMat::getBaseClassIndex (this=0x7f8af40ff640, depth=2) at /home/vaclav/yade/build-trunk-dbg/include/yade-trunk/yade/pkg-common/ElasticMat.hpp:26
#14 0x00007f8b02787af9 in DynLibDispatcher<Loki::Typelist<Material, Loki::Typelist<Material, Loki::NullType> >, InteractionPhysicsFunctor, void, Loki::Typelist<boost::shared_ptr<Material> const&, Loki::Typelist<boost::shared_ptr<Material> const&, Loki::Typelist<boost::shared_ptr<Interaction> const&, Loki::NullType> > >, true>::locateMultivirtualFunctor2D (this=0x7f8af40ed500, index1=@0x7f8af36e603c, index2=@0x7f8af36e6038, base1=..., base2=...) at /home/vaclav/yade/build-trunk-dbg/include/yade-trunk/yade/lib-multimethods/DynLibDispatcher.hpp:511
#15 0x00007f8b027fef53 in DynLibDispatcher<Loki::Typelist<Material, Loki::Typelist<Material, Loki::NullType> >, InteractionPhysicsFunctor, void, Loki::Typelist<boost::shared_ptr<Material> const&, Loki::Typelist<boost::shared_ptr<Material> const&, Loki::Typelist<boost::shared_ptr<Interaction> const&, Loki::NullType> > >, true>::operator() (this=0x7f8af40ed500, base1=..., base2=..., p3=...) at /home/vaclav/yade/build-trunk-dbg/include/yade-trunk/yade/lib-multimethods/DynLibDispatcher.hpp:922
#16 0x00007f8b027ceef9 in InteractionPhysicsDispatcher::action (.omp_data_i=0x7f8af26e3dd0) at /home/vaclav/yade/trunk/pkg/common/Engine/Dispatcher/InteractionPhysicsDispatcher.cpp:39





References