Crash/Freeze edting PowerStroke path with stacked corners effect
Summary:
Inkscape crashes or freezes if I move the powerstroke control point away from the end of the path. How long it takes to trigger and the movement seem to vary, but it reliably brings inkscape down. On a freeze it effectively does so with data loss (no way to force an emergency save in that frozen state before killing the process that I'm aware of).
Steps to reproduce:
- open Inkscape
- open example file
- double-click the white object
- open the Path Effects dialog
- select the Power Stroke effect
- select and move the control highlighted in the screenshot upwards away from the end of the path and keep dragging it around until "it" triggers
What happened?
After moving a variable amount of time/distance it will either freeze or crash.
Info from popup (on a crash):
0# Inkscape::Application::crash_handler(int) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 1# 0x000076168F051090 in /tmp/.mount_InkscaEad7pe/lib/x86_64-linux-gnu/libc.so.6 2# KnotHolder::knot_moved_handler(SPKnot*, Geom::Point const&, unsigned int) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 3# SPKnot::setPosition(Geom::Point const&, unsigned int) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 4# SPKnot::requestPosition(Geom::Point const&, unsigned int) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 5# SPKnot::handler_request_position(Inkscape::MotionEvent const&) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 6# SPKnot::eventHandler(Inkscape::CanvasEvent const&) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 7# Inkscape::UI::Widget::CanvasPrivate::emit_event(Inkscape::CanvasEvent&) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 8# Inkscape::UI::Widget::CanvasPrivate::process_event(Inkscape::CanvasEvent&) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 9# Inkscape::UI::Widget::Canvas::on_motion_notify_event(_GdkEventMotion*) in /tmp/.mount_InkscaEad7pe/usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so.1.4.0.0 10# Gtk::Widget_Class::motion_notify_event_callback(_GtkWidget*, _GdkEventMotion*) in /tmp/.mount_InkscaEad7pe/usr/lib/libgtkmm-3.0.so.1 11# 0x000076168D3E736F in /tmp/.mount_InkscaEad7pe/usr/lib/libgtk-3.so.0 12# 0x000076168F475A56 in /tmp/.mount_InkscaEad7pe/usr/lib/libgobject-2.0.so.0 13# g_signal_emit_valist in /tmp/.mount_InkscaEad7pe/usr/lib/libgobject-2.0.so.0 14# g_signal_emit in /tmp/.mount_InkscaEad7pe/usr/lib/libgobject-2.0.so.0 15# 0x000076168D3919B3 in /tmp/.mount_InkscaEad7pe/usr/lib/libgtk-3.so.0 16# 0x000076168D24CED8 in /tmp/.mount_InkscaEad7pe/usr/lib/libgtk-3.so.0 17# gtk_main_do_event in /tmp/.mount_InkscaEad7pe/usr/lib/libgtk-3.so.0 18# 0x000076168D8F0F69 in /tmp/.mount_InkscaEad7pe/usr/lib/libgdk-3.so.0 19# 0x000076168D94F926 in /tmp/.mount_InkscaEad7pe/usr/lib/libgdk-3.so.0 20# g_main_context_dispatch in /tmp/.mount_InkscaEad7pe/usr/lib/libglib-2.0.so.0 21# 0x0000761691B49400 in /tmp/.mount_InkscaEad7pe/usr/lib/libglib-2.0.so.0 22# g_main_context_iteration in /tmp/.mount_InkscaEad7pe/usr/lib/libglib-2.0.so.0 23# g_application_run in /tmp/.mount_InkscaEad7pe/usr/lib/libgio-2.0.so.0 24# 0x0000761691C30390 in /tmp/.mount_InkscaEad7pe/usr/bin/inkscape 25# __libc_start_main in /tmp/.mount_InkscaEad7pe/lib/x86_64-linux-gnu/libc.so.6 26# 0x0000761691C30AAE in /tmp/.mount_InkscaEad7pe/usr/bin/inkscapeSystem info
Inkscape 1.4-beta (e50e9eea, 2024-05-07)Compile (Run) GLib version: 2.64.6 GTK version: 3.24.20 (3.24.20) glibmm version: 2.64.2 gtkmm version: 3.24.2 libxml2 version: 2.9.10 libxslt version: 1.1.34 Cairo version: 1.16.0 (1.16.0) Pango version: 1.44.7 (1.44.7) HarfBuzz version: 2.6.4 (2.6.4) OS version: Ubuntu 24.04 LTS
What should have happened?
Editing without crashing.
...
Version info
Inkscape 1.4-beta (e50e9ee, 2024-05-07)
Edited by Josh Andler