← Back to team overview

yade-dev team mailing list archive

Re: [Bug 1314736] Re: Segfault possibly in new parallel collider

 

Bruno, may I add bool sortParallel=True (by default) parameter into
insertionsortcollider to have an opportunity to switch it off, if
the simulation gives warning?

Thanks

Anton


2014-05-18 17:03 GMT+02:00 Anton Gladky <1314736@xxxxxxxxxxxxxxxxxx>:
> Thanks  for the fix. It seems, all is OK now.
>
> Closing the bug.
>
> Anton
>
> ** Changed in: yade
>        Status: New => Fix Released
>
> ** Changed in: yade
>    Importance: Undecided => High
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1314736
>
> Title:
>   Segfault possibly in new parallel collider
>
> Status in Yet Another Dynamic Engine:
>   Fix Released
>
> Bug description:
>   I have got segfault, which is probably due to a new parallel collider.
>   It happened on my "local" version, which is not yet merged to the main
>   branch [1] (with ENABLE_LIQCONTROL=ON option), but it is unlikely due
>   to my changes.
>
>   Before the crash I have got the following warning several times:
>   ERROR /home/gladk/dem/yade/trunk/pkg/common/InsertionSortCollider.cpp:132 insertionSortParallel: parallel sort not guaranteed to succeed; in chunk 1 of 2, bound descending past half-chunk. Consider turning ompThreads=1 for thread safety.
>   ....
>   ....
>   Segmentation fault
>
>   I will try to provide the minimal script, which produces such
>   segfault. Bruno, maybe you have an idea, where it crashes?
>
>   [1] https://github.com/gladk/trunk
>
>   Thanks
>
>
>   Anton
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/yade/+bug/1314736/+subscriptions

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

Title:
  Segfault possibly in new parallel collider

Status in Yet Another Dynamic Engine:
  Fix Released

Bug description:
  I have got segfault, which is probably due to a new parallel collider.
  It happened on my "local" version, which is not yet merged to the main
  branch [1] (with ENABLE_LIQCONTROL=ON option), but it is unlikely due
  to my changes.

  Before the crash I have got the following warning several times:
  ERROR /home/gladk/dem/yade/trunk/pkg/common/InsertionSortCollider.cpp:132 insertionSortParallel: parallel sort not guaranteed to succeed; in chunk 1 of 2, bound descending past half-chunk. Consider turning ompThreads=1 for thread safety.
  ....
  ....
  Segmentation fault

  I will try to provide the minimal script, which produces such
  segfault. Bruno, maybe you have an idea, where it crashes?

  [1] https://github.com/gladk/trunk

  Thanks

  
  Anton

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1314736/+subscriptions


Follow ups

References