yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17228
Re: [Question #668274]: erase particles(segmentation fault)
Question #668274 on Yade changed:
https://answers.launchpad.net/yade/+question/668274
Status: Open => Answered
Jan Stránský proposed the following answer:
Hi Azim,
the important part of the output is:
Backtrace:
/home/honzik/lib/x86_64-linux-gnu/yade-2017.01a/libyade.so(_ZN4Shop13growParticlesEdbb+0x188)[0x7ff0c3fb7368]
/home/honzik/lib/x86_64-linux-gnu/yade-2017.01a/libyade.so(_ZN24TriaxialStressController6actionEv+0x60e)[0x7ff0c41626be]
meaning that the problem is really TriaxialStressController, calling
growParticles [1] where the existence of Body is not tested in the for
loops. Please report a bug if you want to have it corrected.
cheers
Jan
[1] https://github.com/yade/trunk/blob/master/pkg/dem/Shop_02.cpp#L819
--
You received this question notification because your team yade-users is
an answer contact for Yade.