Crash when manipulating path with markers and live path effect presents difficulty in making long sausages.
Summary:
While attempting to emulate a pattern brush feature, I applied three markers to a path stroke, and used the roughen live path effect to increase mid-path marker instances. When attempting to manipulate a path with these markers / LPE applied, Inkscape crashes almost immediately with the following backtrace:
<pre>
0# Inkscape::Application::crash_handler(int) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.2.0
1# 0x000000000003DEF0 in /usr/lib/libc.so.6
2# Inkscape::NRStyle::set(Inkscape::NRStyleData&&) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.2.0
3# Inkscape::Util::FuncLog::exec() in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.2.0
4# Inkscape::UI::Widget::CanvasPrivate::after_redraw() in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.2.0
5# 0x000000000074235A in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.2.0
6# Inkscape::UI::Widget::Synchronizer::on_dispatcher() const in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.2.0
7# Glib::DispatchNotifier::pipe_io_handler(Glib::IOCondition) in /usr/lib/libglibmm-2.4.so.1
8# Glib::IOSource::dispatch(sigc::slot_base*) in /usr/lib/libglibmm-2.4.so.1
9# Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) in /usr/lib/libglibmm-2.4.so.1
10# 0x000000000005E87D in /usr/lib/libglib-2.0.so.0
11# 0x000000000005FCD7 in /usr/lib/libglib-2.0.so.0
12# g_main_context_iteration in /usr/lib/libglib-2.0.so.0
13# g_application_run in /usr/bin/../lib/inkscape/../libgio-2.0.so.0
14# main in inkscape
15# 0x00000000000276B5 in /usr/lib/libc.so.6
16# __libc_start_main in /usr/lib/libc.so.6
17# _start in inkscape
</pre>
<details><summary>System info</summary>
Inkscape 1.4.2 (ebf0e940d0, 2025-05-08)
Compile (Run)
GLib version: 2.84.2
GTK version: 3.24.49 (3.24.49)
glibmm version: 2.66.8
gtkmm version: 3.24.10
libxml2 version: 2.14.3
libxslt version: 1.1.43
Cairo version: 1.18.4 (1.18.4)
Pango version: 1.56.3 (1.56.4)
HarfBuzz version: 11.2.1 (11.2.1)
OS version: EndeavourOS
</details>
It makes no difference whether in outline mode.
Steps to reproduce:
- Create an object to be split into three markers (see sausage in attachment)
- Clone the object thrice
- Apply a clipping mask to each clone (clip beginning, middle, and end of object for use as markers)
- Convert clipped cloned to markers
- Apply these markers to a path
- Apply the roughen LPE such that the middle marker forms one smooth, continuous graphic
- Attempt to manipulate the path with the LPE applied
What happened?
- Crash
What should have happened?
- No crash
Sample attachments:
Version info
Inkscape 1.4.2 (ebf0e940d0, 2025-05-08)