Crash releasing alt after sketching closed path
Summary:
i have to use inkscape for an introductory class to digital art/vector art. i opened the latest version and held alt to sketch with freehand tool and it crashed when i let go of the key.
Steps to reproduce:
- open Inkscape
- click the freehand line tool
- hold alt to activate sketch mode
- did a small sketch
- let go of alt
- watch it crash and say it'll close
What happened?
i let go of alt and it crashed immediately.
What should have happened?
it should have finalized the lines i put down
...Sample attachments:
Version info
<pre>
0# boost::stacktrace::basic_stacktrace<std::allocator<boost::stacktrace::frame> >::init(unsigned long long, unsigned long long) in libinkscape_base
1# Inkscape::Application::crash_handler(int) in libinkscape_base
2# 0x00007FF611342422 in inkscape
3# _C_specific_handler in ntdll
4# _chkstk in ntdll
5# _RtlRaiseException in ntdll
6# _KiUserExceptionDispatcher in ntdll
7# Geom::Path::reversed() const in lib2geom
8# Geom::PathVector::reversed(bool) const in lib2geom
9# SPCurve::reversed() const in libinkscape_base
10# Inkscape::UI::Tools::spdc_concat_colors_and_flush(Inkscape::UI::Tools::FreehandBase*, bool) in libinkscape_base
11# Inkscape::UI::Tools::PencilTool::_handleKeyRelease(Inkscape::KeyReleaseEvent const&) in libinkscape_base
12# Inkscape::UI::Tools::PencilTool::root_handler(Inkscape::CanvasEvent const&) in libinkscape_base
13# Inkscape::UI::Widget::CanvasPrivate::emit_event(Inkscape::CanvasEvent&) in libinkscape_base
14# Inkscape::UI::Widget::CanvasPrivate::process_event(Inkscape::CanvasEvent&) in libinkscape_base
15# Inkscape::UI::Widget::Canvas::on_key_release_event(_GdkEventKey*) in libinkscape_base
16# Gtk::Widget_Class::key_release_event_callback(_GtkWidget*, _GdkEventKey*) in libgtkmm_3_0_1
17# 0x00007FFE91C23474 in libgtk_3_0
18# _g_closure_invoke in libgobject_2_0_0
19# _g_param_spec_variant in libgobject_2_0_0
20# _g_signal_emit in libgobject_2_0_0
21# _gtk_requisition_copy in libgtk_3_0
22# _gtk_window_propagate_key_event in libgtk_3_0
23# _gtk_window_propagate_key_event in libgtk_3_0
24# Gtk::Widget::on_key_release_event(_GdkEventKey*) in libgtkmm_3_0_1
25# Gtk::Widget_Class::key_release_event_callback(_GtkWidget*, _GdkEventKey*) in libgtkmm_3_0_1
26# 0x00007FFE91C23474 in libgtk_3_0
27# _g_closure_invoke in libgobject_2_0_0
28# _g_param_spec_variant in libgobject_2_0_0
29# _g_signal_emit in libgobject_2_0_0
30# _gtk_requisition_copy in libgtk_3_0
31# _gtk_lock_button_set_permission in libgtk_3_0
32# _gtk_main_do_event in libgtk_3_0
33# _gdk_event_free in libgdk_3_0
34# _gdk_win32_drag_context_get_type in libgdk_3_0
35# _g_clear_list in libglib_2_0_0
36# _g_get_monotonic_time in libglib_2_0_0
37# _g_main_context_iteration in libglib_2_0_0
38# _g_application_run in libgio_2_0_0
39# 0x00007FF611344052 in inkscape
40# 0x00007FF611341319 in inkscape
41# 0x00007FF611341406 in inkscape
42# _BaseThreadInitThunk in KERNEL32
43# _RtlUserThreadStart in ntdll
</pre>
<details><summary>System info</summary>
Inkscape 1.4.2 (f4327f4, 2025-05-13)
Compile (Run)
GLib version: 2.84.0
GTK version: 3.24.49 (3.24.49)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.12.10
libxslt version: 1.1.43
Cairo version: 1.18.4 (1.18.4)
Pango version: 1.56.3 (1.56.3)
HarfBuzz version: 10.4.0 (10.4.0)
OS version: Windows 10 22H2
</details>
