← Back to team overview

yade-dev team mailing list archive

Re: [Bug 493236] [NEW] CohesiveTriaxialTest crashes

 

I'll fix that, and rename CFBP -> CohesiveMater.
Thanks for spotting the pb.

Bruno


Václav Šmilauer a écrit :
> <pre wrap>Public bug reported:
>
> 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  &lt;signal handler called&gt;
> #5  0x00007f8b116574b5 in *__GI_raise (sig=&lt;value optimized 
> out&gt;) 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&lt;Loki::Typelist&lt;Material, 
> Loki::Typelist&lt;Material, Loki::NullType&gt; &gt;, 
> InteractionPhysicsFunctor, void, 
> Loki::Typelist&lt;boost::shared_ptr&lt;Material&gt; const&amp;, 
> Loki::Typelist&lt;boost::shared_ptr&lt;Material&gt; const&amp;, 
> Loki::Typelist&lt;boost::shared_ptr&lt;Interaction&gt; const&amp;, 
> Loki::NullType&gt; &gt; &gt;, true&gt;::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&lt;Loki::Typelist&lt;Material, 
> Loki::Typelist&lt;Material, Loki::NullType&gt; &gt;, 
> InteractionPhysicsFunctor, void, 
> Loki::Typelist&lt;boost::shared_ptr&lt;Material&gt; const&amp;, 
> Loki::Typelist&lt;boost::shared_ptr&lt;Material&gt; const&amp;, 
> Loki::Typelist&lt;boost::shared_ptr&lt;Interaction&gt; const&amp;, 
> Loki::NullType&gt; &gt; &gt;, true&gt;::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
>
> ** Affects: yade
>      Importance: Medium
>      Assignee: Chareyre (bruno-chareyre)
>          Status: Confirmed
>
> ** Changed in: yade
>        Status: New =&gt; Confirmed
>
> ** Changed in: yade
>    Importance: Undecided =&gt; Medium
>
> ** Changed in: yade
>      Assignee: (unassigned) =&gt; Chareyre (bruno-chareyre)
>
> </pre></body>
> </html>
> </html>


-- 
 
_______________
Chareyre Bruno
Maître de Conférences

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________

-- 
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: Confirmed

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