crash selecting a Power Stroke path in previously saved file with node tool
Summary:
Working with Power Stroke using certain settings/values (cannot narrow down enough as of writing) makes it so that when you save the file, close, re-open and select the Power Stroke path again with the node editor tool, Inkscape crashes. Selecting the path with the normal Select tool doesn't produce any problems unless you press Spacebar to switch to node editor.
Steps to reproduce:
- open Inkscape
- make a path with more than 2 nodes
- bend segments so they're all curved
- add Power Stroke LPE
- move Power Stoke width nodes closest to start and end length positions to their very limit (ie: first node to position 0 (can't confirm if width matters))
- save file
- close
- open again
- select the path with the node editor
- crash
unnecessary workaround:
- open file again
- select path with normal Selector tool
- toggle Power Stroke LPE visibility Off an On
- change to node editor
- select path
- that specific path won't make it crash anymore
What happened?
Inkscape crashes
What should have happened?
it shouldn't crash
Sample attachments:
here's where the crash first happened to me, i use Power Stroke AND Corners LPEs in some strokes (pretty much most dark pink strokes in the hair layers) in it but in the second attachment i reproduced it WITHOUT using Corners LPE, first attachment uses px measurement and second one uses mm because i tried to reproduce the crash with the most default of settings in a document this_is_where_it_originally_happened_to_me_2021_08_03_20_50_49.1.svg
this is the second attachment mentioned above powerstroke_bug2.svg
Version info
Inkscape 1.1 (c68e22c387, 2021-05-23)
GLib version: 2.68.2
GTK version: 3.24.29
glibmm version: 2.66.0
gtkmm version: 3.24.3
libxml2 version: 2.9.12
libxslt version: 1.1.34
Cairo version: 1.17.4
Pango version: 1.48.5
HarfBuzz version: 2.8.1
Poppler version: 20.12.1
OS version: Windows 10 2009