Open thomasp85 opened 1 year ago
Is it a segfault or an Assertion_exception :shrug:
ah, well... It is a seg fault when compiled with -DNDEBUG, but as provided here I assume that part is pretty murky
Ah, yeah in CGAL I often find when assertions are off and the assertion isn't met, the behaviour is undefined. It's an assertion failure bug really.
yeah, that makes sense - sorry for the confusing description
If it helps, the sl_iter
is populated from curve->hint()
, which returns m_hint
which is set via set_hint
, the set_hint function is called from either _init_curve
, _handle_right_curves
or _remove_curve_from_status_line
. Both _init_curve, and _remove_curve_from_status_line set the hint to m_statusLine.end(), which is what the assertion fails with, so presumably, _handle_right_curves is not being called when it should be?
@sloriot is it related to #7235 ?
No it's not. Here the problem is that during the sweep a curved is declared as being on the left of an event but that curve is not in the status line.
Issue Details
When attempting to inset some polygons using the
approximated_inset_2()
method from the 2D Minkowski Sums package you get a segmentation fault in the line sweeping done when uniting the the cycles after offsetting. I have not been able to find any issues in the polygons that provoke the issue and failed at finding the root cause.Source Code
Environment