Inkscape crashes when using path trace
Summary:
Inkscape
Steps to reproduce:
- Open Inkscape
- Use defaults for setup dialog/window
- Click "New Document"
- Open this image (File -> Open...) file attached in attachments
- Click image
- Open "Trace Bitmap..."
- Choose options:
- Multicolor
- Detection Mode: Autotrace (slower)
- Scans: 256
- Smooth: checked
- Remove Background: checked
- Speckles: 1000
- Smooth Corners: 1.34
- Optimize: 5.0000
- Hit "Apply"
Inkscape immediately crashes. I've reproduced it like 5 times.
What happened?
When using maximum settings on Trace Bitmap, on this image, the software crashes.
What should have happened?
I would have expected it to either: a. do the trace correctly b. if my computer isn't capable for some reason, to show a warning at least.
Sample attachments:
Version info
<pre>
0# Inkscape::Application::crash_handler(int) in /usr/bin/../lib64/inkscape/libinkscape_base.so.1.4.0.0
1# 0x00007FEBCCA25DD0 in /lib64/libc.so.6
2# 0x00007FEBCCB64153 in /lib64/libc.so.6
3# quantize in /usr/bin/../lib64/inkscape/libinkscape_base.so.1.4.0.0
4# at_splines_new_full in /usr/bin/../lib64/inkscape/libinkscape_base.so.1.4.0.0
5# Inkscape::Trace::Autotrace::AutotraceTracingEngine::trace(Glib::RefPtr<Gdk::Pixbuf> const&, Inkscape::Async::Progress<double>&) in /usr/bin/../lib64/inkscape/libinkscape_base.so.1.4.0.0
6# Inkscape::Trace::TraceTask::do_async_work(std::unique_ptr<Inkscape::Trace::TraceTask, std::default_delete<Inkscape::Trace::TraceTask> >) in /usr/bin/../lib64/inkscape/libinkscape_base.so.1.4.0.0
7# 0x00007FEBCD7E1E1B in /usr/bin/../lib64/inkscape/libinkscape_base.so.1.4.0.0
8# std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) in /usr/bin/../lib64/inkscape/libinkscape_base.so.1.4.0.0
9# 0x00007FEBCCA8207B in /lib64/libc.so.6
10# pthread_once in /lib64/libc.so.6
11# 0x00007FEBCD7DBE7F in /usr/bin/../lib64/inkscape/libinkscape_base.so.1.4.0.0
12# 0x00007FEBCCC4B524 in /lib64/libstdc++.so.6
13# 0x00007FEBCCA7CCD7 in /lib64/libc.so.6
14# 0x00007FEBCCB00C8C in /lib64/libc.so.6
</pre>
<details><summary>System info</summary>
Inkscape 1.4 (e7c3feb100, 2024-10-09)
Compile (Run)
GLib version: 2.82.1
GTK version: 3.24.43 (3.24.43)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.12.8
libxslt version: 1.1.42
Cairo version: 1.18.0 (1.18.2)
Pango version: 1.54.0 (1.54.0)
HarfBuzz version: 9.0.0 (9.0.0)
OS version: Fedora Linux 41 (KDE Plasma)
</details>
