Several Errors occured while using tetraPoly elements

Asked by MikeZhao

Hello there,

I have encountered several problems using tetrapoly elements. There are several kinds of errors occuring during the simulation loop and they will terminate the calculation, including:
#
Segmentation Fault(core dumped)
#
Floating point exception(core dumped)
#
Error in `/usr/bin/python': malloc(): memory corruption (fast): 0x00007fe35000dc30

I wonder if anyone has encountered the same problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
MikeZhao
Solved:
Last query:
Last reply:
Revision history for this message
MikeZhao (zhaoyang12) said :
#1

It seems that if you are using four points which are on the same plane to update the position of a tetraPoly, you will encounter the first error. Just found it out coincidently.

Revision history for this message
Jan Stránský (honzik) said :
#2

Hi Mike,
at least some of the errors comes from CGAL, an external library used for
polyhedra intersection computation. Could you please provide a script(s)
reproducing the problems?
thanks
Jan

2016-04-14 19:08 GMT+02:00 MikeZhao <email address hidden>:

> Question #290946 on Yade changed:
> https://answers.launchpad.net/yade/+question/290946
>
> MikeZhao gave more information on the question:
> It seems that if you are using four points which are on the same plane
> to update the position of a tetraPoly, you will encounter the first
> error. Just found it out coincidently.
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Jan Stránský (honzik) said :
#3

See [1] for a reference
Jan

[1] https://bugs.launchpad.net/yade/+bug/1380103

2016-04-14 23:52 GMT+02:00 Jan Stránský <
<email address hidden>>:

> Question #290946 on Yade changed:
> https://answers.launchpad.net/yade/+question/290946
>
> Status: Open => Answered
>
> Jan Stránský proposed the following answer:
> Hi Mike,
> at least some of the errors comes from CGAL, an external library used for
> polyhedra intersection computation. Could you please provide a script(s)
> reproducing the problems?
> thanks
> Jan
>
>
> 2016-04-14 19:08 GMT+02:00 MikeZhao <<email address hidden>
> >:
>
> > Question #290946 on Yade changed:
> > https://answers.launchpad.net/yade/+question/290946
> >
> > MikeZhao gave more information on the question:
> > It seems that if you are using four points which are on the same plane
> > to update the position of a tetraPoly, you will encounter the first
> > error. Just found it out coincidently.
> >
> > --
> > You received this question notification because your team yade-users is
> > an answer contact for Yade.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-users
> > Post to : <email address hidden>
> > Unsubscribe : https://launchpad.net/~yade-users
> > More help : https://help.launchpad.net/ListHelp
> >
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
MikeZhao (zhaoyang12) said :
#4

I have located the position of this bug recently, it seems that segmentation fault bug is caused by CGAL::convex_hull_3(), and it is a known bug. Adjust "DISTANCE_LIMIT" larger according to the size of the mesh and adjust "MERGE_PLANES_LIMIT" larger might reduce this problem.

Sorry for my late reply: I have been working on establishing fem-dem model, and this bug is hard to reproduce, so I have tried to locate and solve it myself.