Bug#935604: gimp: Crash during selection to drawing

2019-08-24 Thread Stephane

Hello Bernhard,

Le 24/08/2019 à 17:28, Bernhard Übelacker a écrit :

I tried to get some more information from the backtrace and think
it would look like shown below [1].

It would show at least that there was some issue with the communication
to the X-server and it points to xcb_io.c, line 260 [2]:

throw_thread_fail_assert("Unknown sequence "
 "number while "
 "processing queue",

If you can trigger that crash reliably, you could start gimp
from a terminal with this command:

 script -a ~/gimp_$(date +%Y-%m-%d_%H-%M-%S).log -c "gimp"

This will create a file gimp_*.log in your home directory
and contains all output written from gimp to the terminal and
might contain the assert message above and maybe
even some error before.


I'll try to reproduce the crash... but I did many other similar 
selections->path->paint_along after and no crash happened.

I'm not sure I'll succeed...


Regards.

--

--
Stephane



Bug#935604: gimp: Crash during selection to drawing

2019-08-24 Thread Bernhard Übelacker
Hello steph,
I tried to get some more information from the backtrace and think
it would look like shown below [1].

It would show at least that there was some issue with the communication
to the X-server and it points to xcb_io.c, line 260 [2]:

throw_thread_fail_assert("Unknown sequence "
 "number while "
 "processing queue",

If you can trigger that crash reliably, you could start gimp
from a terminal with this command:

script -a ~/gimp_$(date +%Y-%m-%d_%H-%M-%S).log -c "gimp"

This will create a file gimp_*.log in your home directory
and contains all output written from gimp to the terminal and
might contain the assert message above and maybe
even some error before.

Kind regards,
Bernhard



[1]
>From submitter:| Reconstructed:
libgimpbase-2.0.so.0(gimp_stack_trace_print+0x391)[0xb7883461] | 0xb785e45c 
0xb785e461 in gimputils.c, line 1378. 0xb785e45c <+908>:   call   0xb7853e50 

gimp(+0x8f61f)[0x0049161f] | 0x0057a61a 
0x0057a61f in errors.c, line 377. 0x0057a61a <+730>:   call   0x5747c0 

gimp(+0x8faa1)[0x00491aa1] | 0x0057aa9c 
0x0057aaa1 in errors.c, line 234. 0x0057aa9c :call   
0x57a340 
gimp(+0x901cc)[0x004921cc] | 0x0057b1c7 
0x0057b1cc in signals.c, line 165. 0x0057b1c7 :   
call   0x57aa80 
   linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7f74d7c] | 
linux-gate.so.1(__kernel_vsyscall+0x9)[0xb7f74d71] | 
   libc.so.6(gsignal+0xc2)[0xb6b5a382] | 0xb6b4037b 
0xb6b40382 in ../sysdeps/unix/sysv/linux/internal-signals.h, line 84. 
0xb6b4037b <__GI_raise+187>: call   *%gs:0x10
 libc.so.6(abort+0xf0)[0xb6b442b6] | 0xb6b2a2b1 
0xb6b2a2b6 in abort.c, line 79. 0xb6b2a2b1 <__GI_abort+235>: call   0xb6b402c0 
<__GI_raise>
   libc.so.6(+0x191c1)[0xb6b441c1] | 0xb6b2a1bc 
0xb6b2a1c1 in assert.c, line 92. 0xb6b2a1bc <__assert_fail_base+-57300>:  
call   0xb6b2a1c6 <__GI_abort>
   libc.so.6(+0x27339)[0xb6b52339] | 0xb6b38334 
0xb6b38339 in assert.c, line 101. 0xb6b38334 <__GI___assert_fail+52>:  call   
0xb6b38190 <__assert_fail_base>
 libX11.so.6(+0x39fe4)[0xb6a0dfe4] | 0xb69f3fdf 
0xb69f3fe4 in poll_for_event () at ../../src/xcb_io.c:260; 0xb69f3fdf 
: call   0xb69ce810 <__assert_fail@plt>
 libX11.so.6(+0x3a0e4)[0xb6a0e0e4] | 0xb69f40df 
0xb69f40e4 in poll_for_response () at ../../src/xcb_io.c:303
  libX11.so.6(_XEventsQueued+0x72)[0xb6a0e432] | 0xb69f442d 
0xb69f4432 in _XEventsQueued () at ../../src/xcb_io.c:363
libX11.so.6(XPending+0x62)[0xb69ffae2] | 0xb69e5add 
0xb69e5ae2 in XPending () at ../../src/Pending.c:55
 libgdk-x11-2.0.so.0(+0x52208)[0xb793d208] | 0xb7918203 
0xb7918208 in gdk_event_check / gdk_check_xpending () at 
./gdk/x11/gdkevents-x11.c:159
  libglib-2.0.so.0(g_main_context_check+0x19a)[0xb6e80b5a] | 0xb6e66b58 
0xb6e66b5a in g_main_context_check () at ../../../glib/gmain.c:3753
libglib-2.0.so.0(+0x4b175)[0xb6e81175] | 0xb6e67170 
0xb6e67175 in g_main_context_iterate () at ../../../glib/gmain.c:3917
libglib-2.0.so.0(g_main_loop_run+0xe9)[0xb6e81609] | 0xb6e67604 
0xb6e67609 in g_main_loop_run () at ../../../glib/gmain.c:4116
   gimp(app_run+0x37d)[0x00490e0d] | 0x00579e08 
0x00579e0d in app_run () at app.c:440
  gimp(main+0x389)[0x004905e9] | 0x005795e4 
0x005795e9 in main () at main.c:524
 libc.so.6(__libc_start_main+0xf1)[0xb6b45b41] | 0xb6b2bb3d 
0xb6b2bb41 in __libc_start_main () at ../csu/libc-start.c:308
 gimp(_start+0x31)[0x004907c1] | 0x005797bc 
0x005797c1 in _start ()


[2] https://sources.debian.org/src/libx11/2:1.6.7-1/src/xcb_io.c/#L260



Bug#935604: gimp: Crash during selection to drawing

2019-08-24 Thread steph
Package: gimp
Version: 2.10.8-2
Severity: normal

Dear Maintainer,

I did a ellipsoidal selection and in Path_dialog,
Selection_to_path, Paint_along_the_path and then gimp 2.10 crashed.
I get this message:

```
GNU Image Manipulation Program version 2.10.8
git-describe: GIMP_2_10_6-294-ga967e8d2c2
C compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
8.2.0-13' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-
languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-
major-version-only --program-suffix=-8 --program-prefix=i686-linux-gnu-
--enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-
included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-
verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib
--with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-
multiarch --disable-werror --with-arch-32=i686 --with-multilib-
list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-
checking=release --build=i686-linux-gnu --host=i686-linux-gnu
--target=i686-linux-gnu
Thread model: posix
gcc version 8.2.0 (Debian 8.2.0-13)

using GEGL version 0.4.16 (compiled against version 0.4.12)
using GLib version 2.58.3 (compiled against version 2.58.1)
using GdkPixbuf version 2.38.1 (compiled against version 2.38.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.42.3 (compiled against version 1.42.3)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.16.0 (compiled against version 1.16.0)

```
> fatal error: Abandon

Stack trace:
```
/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x391)[0xb7883461]
gimp(+0x8f61f)[0x49161f]
gimp(+0x8faa1)[0x491aa1]
gimp(+0x901cc)[0x4921cc]
linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7f74d7c]
linux-gate.so.1(__kernel_vsyscall+0x9)[0xb7f74d71]
/lib/i386-linux-gnu/libc.so.6(gsignal+0xc2)[0xb6b5a382]
/lib/i386-linux-gnu/libc.so.6(abort+0xf0)[0xb6b442b6]
/lib/i386-linux-gnu/libc.so.6(+0x191c1)[0xb6b441c1]
/lib/i386-linux-gnu/libc.so.6(+0x27339)[0xb6b52339]
/usr/lib/i386-linux-gnu/libX11.so.6(+0x39fe4)[0xb6a0dfe4]
/usr/lib/i386-linux-gnu/libX11.so.6(+0x3a0e4)[0xb6a0e0e4]
/usr/lib/i386-linux-gnu/libX11.so.6(_XEventsQueued+0x72)[0xb6a0e432]
/usr/lib/i386-linux-gnu/libX11.so.6(XPending+0x62)[0xb69ffae2]
/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0(+0x52208)[0xb793d208]
/usr/lib/i386-linux-
gnu/libglib-2.0.so.0(g_main_context_check+0x19a)[0xb6e80b5a]
/usr/lib/i386-linux-gnu/libglib-2.0.so.0(+0x4b175)[0xb6e81175]
/usr/lib/i386-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0xe9)[0xb6e81609]
gimp(app_run+0x37d)[0x490e0d]
gimp(main+0x389)[0x4905e9]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0xb6b45b41]
gimp(_start+0x31)[0x4907c1]

```
Regards.



-- System Information:
Debian Release: 10.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.19.0-5-686-pae (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gimp depends on:
ii  gimp-data2.10.8-2
ii  libaa1   1.4p5-46
ii  libbabl-0.1-01:0.1.66-dmo1
ii  libbz2-1.0   1.0.6-9.1
ii  libc62.28-10
ii  libcairo21.16.0-4
ii  libfontconfig1   2.13.1-2
ii  libfreetype6 2.9.1-3
ii  libgcc1  1:8.3.0-6
ii  libgdk-pixbuf2.0-0   2.38.1+dfsg-1
ii  libgegl-0.4-01:0.4.16-dmo1
ii  libgexiv2-2  0.10.9-1
ii  libgimp2.0   2.10.8-2
ii  libglib2.0-0 2.58.3-2
ii  libgs9   9.27~dfsg-2+deb10u1
ii  libgtk2.0-0  2.24.32-3
ii  libgudev-1.0-0   232-2
ii  libharfbuzz0b2.3.1-1
ii  libheif1 1.3.2-2~deb10u1
ii  libilmbase23 2.2.1-2
ii  libjpeg62-turbo  1:1.5.2-2+b1
ii  liblcms2-2   2.9-3
ii  liblzma5 5.2.4-1
ii  libmng1  1.0.10+dfsg-3.1+b5
ii  libmypaint-1.3-0 1:1.3.0-dmo6
ii  libopenexr23 2.2.1-4.1
ii  libopenjp2-7 2.3.0-2
ii  libpango-1.0-0   1.42.4-7~deb10u1
ii  libpangocairo-1.0-0  1.42.4-7~deb10u1
ii  libpangoft2-1.0-01.42.4-7~deb10u1
ii  libpng16-16  1.6.36-6
ii  libpoppler-glib8 0.71.0-5
ii  librsvg2-2   2.44.10-2.1
ii  libstdc++6   8.3.0-6
ii  libtiff5 4.0.10-4
ii  libwebp6 0.6.1-2
ii  libwebpdemux20.6.1-2
ii  libwebpmux3