Crash when undoing changes to a text object with a reverse mask applied to it on EndeavourOS (Linux)
<!-- See our full bug reporting guidelines at https://inkscape.org/contribute/report-bugs/ Writing a good bug report will ensure we'll be able to help efficiently. 🙂 --> #### Summary: <!-- Summarize the issue/suggestion concisely: --> Inkscape crashes when undoing changes to a text object in a group with a reverse mask applied to it, on EndeavourOS. #### Steps to reproduce: <!-- Describe what you did (step-by-step) so we can reproduce: --> - open Inkscape - open the attached file - modify the BOD text - undo and redo a few times #### What happened? - Inkscape crashes Sample attachments: ![WICKED_Logos.svg](/uploads/145106d5a689ac82ceee7b4f89e17714/WICKED_Logos.svg) <!-- Attach the sample file(s) highlighting the issue, if appropriate. --> #### Version info <!-- Open 'Help > About' and click on the little bug icon in the bottom right corner that copies the debug information to your clipboard. (If it is absent, you are likely running an older version of Inkscape. Please update to the latest version and report if the issue persists.) For command line users, run 'inkscape --debug-info'. Paste the information in the empty space between the apostrophes below: --> ``` Inkscape 1.3.2 (091e20ef0f, 2023-11-25, custom) GLib version: 2.80.3 GTK version: 3.24.42 glibmm version: 2.66.7 gtkmm version: 3.24.9 libxml2 version: 2.13.0 libxslt version: 1.1.40 Cairo version: 1.18.0 Pango version: 1.54.0 HarfBuzz version: 8.5.0 OS version: EndeavourOS ``` The following is the crash log given when using the attached sample file: ``` <pre> 0# Inkscape::Application::crash_handler(int) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0 1# 0x00007AE1BDE50AE0 in /usr/lib/libc.so.6 2# 0x00007AE1BDEA8E44 in /usr/lib/libc.so.6 3# gsignal in /usr/lib/libc.so.6 4# abort in /usr/lib/libc.so.6 5# 0x00007AE1BE6D00FB in /usr/lib/libglib-2.0.so.0 6# g_assertion_message_expr in /usr/lib/libglib-2.0.so.0 7# Inkscape::XML::SimpleNode::removeChild(Inkscape::XML::Node*) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0 8# Inkscape::XML::replay_log_to_observer(Inkscape::XML::Event const*, Inkscape::XML::NodeObserver&) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0 9# sp_repr_replay_log(Inkscape::XML::Event*) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0 10# Inkscape::DocumentUndo::redo(SPDocument*) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0 11# 0x00007AE1BE588107 in /usr/lib/libgiomm-2.4.so.1 12# g_closure_invoke in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0 13# 0x00007AE1BD61604F in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0 14# 0x00007AE1BD6065DC in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0 15# g_signal_emit_valist in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0 16# g_signal_emit in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0 17# 0x00007AE1BD718176 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0 18# gtk_window_activate_key in /usr/bin/../lib/inkscape/../libgtk-3.so.0 19# 0x00007AE1BC36A227 in /usr/bin/../lib/inkscape/../libgtk-3.so.0 20# Gtk::Widget::on_key_press_event(_GdkEventKey*) in /usr/bin/../lib/inkscape/../libgtkmm-3.0.so.1 21# Gtk::Widget_Class::key_press_event_callback(_GtkWidget*, _GdkEventKey*) in /usr/bin/../lib/inkscape/../libgtkmm-3.0.so.1 22# 0x00007AE1BC07396A in /usr/bin/../lib/inkscape/../libgtk-3.so.0 23# 0x00007AE1BD606732 in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0 24# g_signal_emit_valist in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0 25# g_signal_emit in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0 26# 0x00007AE1BC357D25 in /usr/bin/../lib/inkscape/../libgtk-3.so.0 27# 0x00007AE1BC1E558A in /usr/bin/../lib/inkscape/../libgtk-3.so.0 28# gtk_main_do_event in /usr/bin/../lib/inkscape/../libgtk-3.so.0 29# 0x00007AE1BC8463C7 in /usr/bin/../lib/inkscape/../libgdk-3.so.0 30# 0x00007AE1BC880B90 in /usr/bin/../lib/inkscape/../libgdk-3.so.0 31# 0x00007AE1BE70EA89 in /usr/lib/libglib-2.0.so.0 32# 0x00007AE1BE7709B7 in /usr/lib/libglib-2.0.so.0 33# g_main_context_iteration in /usr/lib/libglib-2.0.so.0 34# g_application_run in /usr/bin/../lib/inkscape/../libgio-2.0.so.0 35# main in /usr/bin/inkscape 36# 0x00007AE1BDE39C88 in /usr/lib/libc.so.6 37# __libc_start_main in /usr/lib/libc.so.6 38# _start in /usr/bin/inkscape </pre> <details><summary>System info</summary> Inkscape 1.3.2 (091e20ef0f, 2023-11-25, custom) GLib version: 2.80.3 GTK version: 3.24.42 glibmm version: 2.66.7 gtkmm version: 3.24.9 libxml2 version: 2.13.0 libxslt version: 1.1.40 Cairo version: 1.18.0 Pango version: 1.54.0 HarfBuzz version: 8.5.0 OS version: EndeavourOS </details> ``` <!-- ❤️ Thank you for filling in a new bug report, we appreciate the help! ❤️ Please be patient while we try to find the time to look into your issue. Remember that Inkscape is developed by volunteers in their spare time, we'll try our best to respond to all reports. --> <!-- Please be careful when/after writing # for example in logs, code, or versions of linux - use inline code span - single backticks (`) before and after it, like this - `#1618` - use multi-line code block - triple backticks (```) to fence/enclose console logs - attach long logs as a text file. -->
issue