Crash shortly after using boolean path effect (Composite filter primitive with Background image and source graphic)
Summary:
Inkscape crashes shortly after selecting the operand for a boolean path effect.
Steps to reproduce:
- Have a large monitor with scaling enabled or set GDK_SCALE=2
- Open Inkscape
- New document
- Create object A (e.g., rectangle)
- Create object B (e.g., another rectangle), overlapping with A
- Change B's fill style to be different from A's
- Set up path effect for B:
- Select A, hit CMD+C
- Select B
- Open Path Effects window
- Click "+" (add path effect)
- Select "Boolean Operation"
- Click "Link to item"
- If haven't crashed by this moment, Zoom in with MacBook's touchpad 2-finger gesture
- If haven't crashed by this moment, try moving objects around and resizing them. Then zoom in with the gesture
What happened?
Crash
Terminal output
Fontconfig warning: ignoring UTF-8: not a valid region tag
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.218: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.222: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.227: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.229: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.232: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.234: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.236: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.238: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.240: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.242: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.244: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.246: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.248: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.250: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.251: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.254: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.257: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.260: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.265: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.268: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.273: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.275: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.278: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.280: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.282: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.284: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.285: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.287: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.293: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.296: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.298: g_date_time_format: assertion 'datetime != NULL' failed
(org.inkscape.Inkscape:13317): GLib-CRITICAL **: 01:06:22.299: g_date_time_format: assertion 'datetime != NULL' failed
Shortcut::add_shortcut: duplicate shortcut found for: <Primary>comma Old: app.preferences New: app.transform-scale(0.5) !
(org.inkscape.Inkscape:13317): Gtk-CRITICAL **: 01:06:24.641: gtk_box_gadget_distribute: assertion 'size >= 0' failed in gtkmm__GtkNotebook
(org.inkscape.Inkscape:13317): Gtk-CRITICAL **: 01:06:24.642: gtk_box_gadget_distribute: assertion 'size >= 0' failed in gtkmm__GtkNotebook
Emergency save activated!
Emergency save document locations:
/Users/user/New document 1.2022_09_02_01_07_13.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
2022-09-02 01:07:13.601 inkscape[13317:1195566] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff22f6b851 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1 AppKit 0x00007fff22f56422 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1296
2 AppKit 0x00007fff22f55f0b -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 AppKit 0x00007fff2326018c -[NSWindow initWithContentRect:styleMask:backing:defer:screen:] + 52
4 libgdk-3.0.dylib 0x0000000109a0b46b -[GdkQuartzNSWindow initWithContentRect:styleMask:backing:defer:screen:] + 59
5 libgdk-3.0.dylib 0x0000000109a194dd _gdk_quartz_display_create_window_impl + 1757
6 libgdk-3.0.dylib 0x00000001099f6088 gdk_window_new + 936
7 libgtk-3.0.dylib 0x000000010933ea03 gtk_window_realize + 1203
8 libgobject-2.0.0.dylib 0x0000000107ce77d5 _g_closure_invoke_va + 309
9 libgobject-2.0.0.dylib 0x0000000107cfe4ec g_signal_emit_valist + 1244
10 libgobject-2.0.0.dylib 0x0000000107cfefe2 g_signal_emit + 130
11 libgtk-3.0.dylib 0x00000001093191d3 gtk_widget_realize + 291
12 libgtk-3.0.dylib 0x000000010933dea2 gtk_window_show + 210
13 libgobject-2.0.0.dylib 0x0000000107ce7556 g_closure_invoke + 278
14 libgobject-2.0.0.dylib 0x0000000107cfd83b signal_emit_unlocked_R + 1067
15 libgobject-2.0.0.dylib 0x0000000107cfeafe g_signal_emit_valist + 2798
16 libgobject-2.0.0.dylib 0x0000000107cfefe2 g_signal_emit + 130
17 libgtk-3.0.dylib 0x0000000109318953 gtk_widget_show + 307
18 libgtk-3.0.dylib 0x00000001090deabf gtk_dialog_run + 255
19 libinkscape_base.dylib 0x0000000106579629 _ZN8Inkscape11Application13crash_handlerEi + 2857
20 libsystem_platform.dylib 0x00007fff20686d7d _sigtramp + 29
21 ??? 0x0000000000000001 0x0 + 1
22 libomp.dylib 0x0000000109d92d93 __kmp_invoke_microtask + 147
23 libomp.dylib 0x0000000109d4006f __kmp_invoke_task_func + 351
24 libomp.dylib 0x0000000109d3f154 __kmp_launch_thread + 420
25 libomp.dylib 0x0000000109d7a620 _ZL19__kmp_launch_workerPv + 304
26 libsystem_pthread.dylib 0x00007fff206418fc _pthread_start + 224
27 libsystem_pthread.dylib 0x00007fff2063d443 thread_start + 15
What should have happened?
No crash
Sample attachments:
Version info
Inkscape 1.2.1 (9c6d41e4, 2022-07-14)
Edited by Nathan Lee