Package: inkscape
Version: 1.0-1
Severity: normal
Dear Maintainer,
On a system running wayland with dual monitors, when I open an inkscape
document and press 5 to resize to my screen inkscape crashes.
Originally I thought it was my document that was causing problems but I could
reproduce it with the default blank document you get when running inkscape with
no arguments.
Here's the output of:
inkscape command:
$inkscape
** (org.inkscape.Inkscape:16310): WARNING **: 11:07:16.617: Fonts dir
'/usr/share/inkscape/fonts' does not exist and will be ignored.
** (org.inkscape.Inkscape:16310): WARNING **: 11:07:16.617: Fonts dir
'/home/diane/.config/inkscape/fonts' does not exist and will be ignored.
(org.inkscape.Inkscape:16310): Gtk-CRITICAL **: 11:07:17.965:
gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
(org.inkscape.Inkscape:16310): Gtk-CRITICAL **: 11:07:18.167:
gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
(org.inkscape.Inkscape:16310): Gtk-CRITICAL **: 11:07:18.639:
gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
(org.inkscape.Inkscape:16310): Gtk-CRITICAL **: 11:07:18.720:
gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
inkscape: /build/inkscape-lcFFbl/inkscape-1.0/src/display/sp-canvas.cpp:2631:
void SPCanvas::scrollTo(const Geom::Point&, unsigned int, bool): Assertion
`device_scale == _device_scale' failed.
Emergency save activated!
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.
(org.inkscape.Inkscape:16310): Gtk-CRITICAL **: 11:07:20.010:
gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
(org.inkscape.Inkscape:16310): Gtk-CRITICAL **: 11:07:20.245:
gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
(org.inkscape.Inkscape:16310): Gtk-CRITICAL **: 11:07:20.453:
gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
Aborted (core dumped)
$ coredumpctl gdb
gdb> thread apply all bt
Thread 8 (Thread 0x7f86cbfff700 (LWP 16317)):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7f86e149470c
) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f86e14942e0
, cond=0x7f86e14946e0 ) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x7f86e14946e0 , mutex=0x7f86e14942e0
) at pthread_cond_wait.c:638
#3 0x7f86e1473df7 in GC_wait_marker () at pthread_support.c:2200
#4 0x7f86e1469bb2 in GC_help_marker (my_mark_no=my_mark_no@entry=11) at
mark.c:1231
#5 0x7f86e1473dac in GC_mark_thread (id=) at
pthread_support.c:379
#6 0x7f86e03e1f27 in start_thread (arg=) at
pthread_create.c:479
#7 0x7f86e1f892ef in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 7 (Thread 0x7f86d97ca700 (LWP 16315)):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7f86e149470c
) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f86e14942e0
, cond=0x7f86e14946e0 ) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x7f86e14946e0 , mutex=0x7f86e14942e0
) at pthread_cond_wait.c:638
#3 0x7f86e1473df7 in GC_wait_marker () at pthread_support.c:2200
#4 0x7f86e1469bb2 in GC_help_marker (my_mark_no=my_mark_no@entry=11) at
mark.c:1231
#5 0x7f86e1473dac in GC_mark_thread (id=) at
pthread_support.c:379
#6 0x7f86e03e1f27 in start_thread (arg=) at
pthread_create.c:479
#7 0x7f86e1f892ef in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 6 (Thread 0x7f86d8fc9700 (LWP 16316)):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7f86e149470c
) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
--Type for more, q to quit, c to continue without paging--c
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f86e14942e0
, cond=0x7f86e14946e0 ) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x7f86e14946e0 , mutex=0x7f86e14942e0
) at pthread_cond_wait.c:638
#3 0x7f86e1473df7 in GC_wait_marker () at pthread_support.c:2200
#4 0x7f86e1469bb2 in GC_help_marker (my_mark_no=my_mark_no@entry=11) at
mark.c:1231
#5 0x7f86e1473dac in GC_mark_thread (id=) at
pthread_support.c:379
#6 0x7f86e03e1f27 in start_thread (arg=) at
pthread_create.c:479
#7 0x7f86e1f892ef in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 5 (Thread 0x7f86da1e6700 (LWP 16314)):
#0 0x7f86e1f7eb4f in __GI___poll (fds=0x55df7040dc90, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x7f86e32147fe in g_main_context_poll (priority=,
n_fds=1, fds=0x55df7040dc90, timeout=, context=0x55df7040dd90)
at ../../../glib/gmain.c:4346
#2 g_main_context_iterate (context=context@entry=0x55df7040dd90,
block=block@entry=1, dispatch=dispatch@entry=1, self=) at