Bug#960955: inkscape: crash when resizing canvas on a system running wayland

2020-05-20 Thread Mattia Rizzolo
On Tue, May 19, 2020 at 10:19:40AM -0700, Diane Trout wrote:
> I mentioned this in the upstream report but the flatpak version from
> flathub does seem to work.

That's because the Debian toolchain by default passes
-DCMAKE_BUILD_TYPE=None
to cmake while building, which in the case of inkscape is pretty much
the same as passing -DCMAKE_BUILD_TYPE=Debug.
The flatpak is built with -DCMAKE_BUILD_TYPE=Release, which disables the
asserts therefore it doesn't crash.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
More about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#960955: inkscape: crash when resizing canvas on a system running wayland

2020-05-19 Thread Diane Trout
On Tue, 2020-05-19 at 16:59 +0200, Mattia Rizzolo wrote:
> I believe this report is the same of the one I linked above, so I
> added
> a comment there.

Yep looks right to me.

> 
> I recommend you follow up directly with upstream to seek a solution
> to
> this.

Ok.

I mentioned this in the upstream report but the flatpak version from
flathub does seem to work.

> 
> >   APT policy: (500, 'testing-debug'), (500, 'oldstable-debug'),
> > (500, 'testing'), (500, 'stable'), (110, 'unstable'), (100,
> > 'experimental')
> 
> BTW, I recommned you get rid of at least oldsable here ^^
> (and I trust you know what you are doing mixing several release
> repositories…)

Oops. I should clean out my sources.list.d directory. Thanks for
pointing that out.

Diane


signature.asc
Description: This is a digitally signed message part


Bug#960955: inkscape: crash when resizing canvas on a system running wayland

2020-05-19 Thread Mattia Rizzolo
Control: forwarded -1 https://gitlab.com/inkscape/inkscape/-/issues/1472
Control: tags -1 upstream

On Mon, May 18, 2020 at 11:22:23AM -0700, Diane Trout wrote:
> 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.

Thank you.
I believe this report is the same of the one I linked above, so I added
a comment there.

I recommend you follow up directly with upstream to seek a solution to
this.

>   APT policy: (500, 'testing-debug'), (500, 'oldstable-debug'), (500, 
> 'testing'), (500, 'stable'), (110, 'unstable'), (100, 'experimental')

BTW, I recommned you get rid of at least oldsable here ^^
(and I trust you know what you are doing mixing several release
repositories…)

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
More about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#960955: inkscape: crash when resizing canvas on a system running wayland

2020-05-18 Thread Diane Trout
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