Crash in InsertionSortCollider with zero-width bbox (vertical facet) (?)

Bug #402098 reported by Anton Gladky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
High
Unassigned

Bug Description

When I start attached script without "visualisation" it works. But when I do it with it, I get crash.

Seems somewhere in InsertionSortCollider.

Revision history for this message
Anton Gladky (gladky-anton) wrote :

In attachment output from console

Revision history for this message
Anton Gladky (gladky-anton) wrote :

It crashes not only with visualisation. Sometime it happens and without it.

Revision history for this message
Anton Gladky (gladky-anton) wrote :

I have updated the "test-script", as the previous one is not working any more (axisalighedFacetBox->facetBox).

Revision history for this message
Anton Gladky (gladky-anton) wrote :

Hmm, when I change
"O.bodies.append(utils.facetBox((0,0,0),(a*boxCoef,b*boxCoef,h*boxCoef),wallMask=31,**kw_facets))"
to
"O.bodies.append(utils.facetBox((0,0,0),(a*boxCoef*1.00001,b*boxCoef,h*boxCoef),wallMask=31,**kw_facets))"

Everything works with no problem. So, I think the questions is in vertical facets.

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Are you running up-to-date version? I was already solving this problem once, with vertical facets, related to zero-width bbox and swapping lower and upper bound by std::sort in the first collision check.

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 402098] Re: YADE crashes when start a "visualisation"

Yes, of course. The latest SVN.
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy

2009/7/22 Václav Šmilauer <email address hidden>

> Are you running up-to-date version? I was already solving this problem
> once, with vertical facets, related to zero-width bbox and swapping
> lower and upper bound by std::sort in the first collision check.
>
> --
> YADE crashes when start a "visualisation"
> https://bugs.launchpad.net/bugs/402098
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> When I start attached script without "visualisation" it works. But when I
> do it with it, I get crash.
>
> Seems somewhere in InsertionSortCollider.
>

Revision history for this message
Václav Šmilauer (eudoxos) wrote : Re: YADE crashes when start a "visualisation"

Hmm, not getting the crash here. If it still happens for you, can you save the simulation at the end of the script via O.save('something.xml.bz2') and post that xml file here? V.

Changed in yade:
importance: Undecided → High
summary: - YADE crashes when start a "visualisation"
+ Crash in InsertionSortCollider with zero-width bbox (vertical facet) (?)
Revision history for this message
Anton Gladky (gladky-anton) wrote :

Yes, I still have a crash.

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Still no crash here. I sort-of figured what happens (maybe), try with r1899 and let me know.

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 402098] Re: Crash in InsertionSortCollider with zero-width bbox (vertical facet) (?)

R1899 works perfect with the scripts :)
I will try to test it again.

Thank you
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy

2009/7/29 Václav Šmilauer <email address hidden>

> Still no crash here. I sort-of figured what happens (maybe), try with
> r1899 and let me know.
>
> --
> Crash in InsertionSortCollider with zero-width bbox (vertical facet) (?)
> https://bugs.launchpad.net/bugs/402098
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> When I start attached script without "visualisation" it works. But when I
> do it with it, I get crash.
>
> Seems somewhere in InsertionSortCollider.
>

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

(Mark the bug as Fix Released once you know it is OK for you. Thx)

Changed in yade:
status: New → Fix Released
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Please can you check that r1938 doesn't reistroduce the issue? I changed the alogorithm a little bit, it works for me, but just to make sure. Thanks!

Revision history for this message
Anton Gladky (gladky-anton) wrote :

No crash.

PS Just specimen explodes :)
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy

2009/8/12 Václav Šmilauer <email address hidden>

> Please can you check that r1938 doesn't reistroduce the issue? I changed
> the alogorithm a little bit, it works for me, but just to make sure.
> Thanks!
>
> --
> Crash in InsertionSortCollider with zero-width bbox (vertical facet) (?)
> https://bugs.launchpad.net/bugs/402098
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Yet Another Dynamic Engine: Fix Released
>
> Bug description:
> When I start attached script without "visualisation" it works. But when I
> do it with it, I get crash.
>
> Seems somewhere in InsertionSortCollider.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.