Freeze and crash applying LPE Offset on this open path
Steps to reproduce:
- open Inkscape
- open offset_tests.svg
- select the red path
- add an offset LPE
- apply 22 mm offset (see settings below)
- freezes and eventually crashes
What happened?
- takes too long or freezes inkscape
- eventually segfaults
- excessive number of calls to removeIntersects
Backtrace
Update: segfault output before the backtrace:
(org.inkscape.Inkscape:193777): Gtk-CRITICAL **: 21:31:34.354: gtk_list_store_iter_next: assertion 'priv->stamp == iter->stamp' failed
[Thread 0x7fffe728e700 (LWP 193872) exited]
Thread 1 "inkscape" received signal SIGSEGV, Segmentation fault.
0x00007ffff6d3b2a2 in Geom::bounds_local<Geom::Bezier> (a=..., t=...) at ../src/3rdparty/2geom/include/2geom/d2.h:101
101 T const & operator[](unsigned i) const { return f[i]; }
Note: from the comments... Taking a roundabout approach and going to 0 to 200mm or 200px, then to 22 mm does not lead to a crash. The temporary freeze still happens though
What should have happened?
- No crash
Version Info:
- Inkscape 1.1-dev (1009b2be, 2020-11-16) Linux Mint 20
Edited by Nathan Lee