yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #07452
[Bug 759481] Re: Possible "wrong memory access" in many places
** Attachment added: "Output of "grep -nHIir -- 'FOREACH(const shared_ptr<I' ./ >grep_I.output" command"
https://bugs.launchpad.net/bugs/759481/+attachment/2028449/+files/grep_I.output
--
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/759481
Title:
Possible "wrong memory access" in many places
Status in Yet Another Dynamic Engine:
New
Bug description:
Jan Stransky has found and fixed a bug, which leads to wrong memory
access [1].
If we "grep" the code, we will find a lot of places, where the same
issue can appear. See the attachment, this is the output only for
"Interactions".
I think, we have to put those "if(!I) continue;" and "if (!B)
continue;" everywhere to escape crashes.
[1] http://bazaar.launchpad.net/~yade-dev/yade/trunk/revision/2809
References