Bug#952440: gimp: crashes on Edit then Copy

Philip subs at christiantena.net
Mon Feb 24 13:43:20 GMT 2020

Package: gimp
Version: 2.10.8-2
Severity: important

Dear Maintainer,

If I open this image in Gimp


then I use the rectangle select tool to select a box
then I click Edit then Copy then Gimp immediately dies.

When I run from strace this is the last few lines:-

recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\3\336y\6\0\300\1\0\0\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
writev(3, [{iov_base="+\0\1\0", iov_len=4}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 4
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\2\337y\0\0\0\0\342\1\300\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
openat(AT_FDCWD, "/usr/share/X11/XErrorDB", O_RDONLY) = 16
fstat(16, {st_mode=S_IFREG|0644, st_size=42077, ...}) = 0
read(16, "!\n! Copyright 1993, 1995, 1998  "..., 42077) = 42077
close(16)                               = 0
write(2, "The program 'gimp' received an X"..., 562The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 96734 error_code 3 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
) = 562
exit_group(1)                           = ?

(script-fu:2420): LibGimpBase-WARNING **: 13:21:10.733: script-fu: gimp_wire_read(): error
+++ exited with 1 +++

My system is running LXQT but I don't know if that is relevant...

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gimp depends on:
ii  gimp-data            2.10.8-2
ii  libaa1               1.4p5-46
ii  libbabl-0.1-0        0.1.62-1
ii  libbz2-1.0           1.0.6-9.2~deb10u1
ii  libc6                2.28-10
ii  libcairo2            1.16.0-4
ii  libfontconfig1       2.13.1-2
ii  libfreetype6         2.9.1-3+deb10u1
ii  libgcc1              1:8.3.0-6
ii  libgdk-pixbuf2.0-0   2.38.1+dfsg-1
ii  libgegl-0.4-0        0.4.12-2
ii  libgexiv2-2          0.10.9-1
ii  libgimp2.0           2.10.8-2
ii  libglib2.0-0         2.58.3-2+deb10u2
ii  libgs9               9.27~dfsg-2+deb10u3
ii  libgtk2.0-0          2.24.32-3
ii  libgudev-1.0-0       232-2
ii  libharfbuzz0b        2.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.3.0-2.1
ii  libopenexr23         2.2.1-4.1
ii  libopenjp2-7         2.3.0-2+deb10u1
ii  libpango-1.0-0       1.42.4-7~deb10u1
ii  libpangocairo-1.0-0  1.42.4-7~deb10u1
ii  libpangoft2-1.0-0    1.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.1.0+git191117-2~deb10u1
ii  libwebp6             0.6.1-2
ii  libwebpdemux2        0.6.1-2
ii  libwebpmux3          0.6.1-2
ii  libwmf0.2-7
ii  libx11-6             2:1.6.7-1
ii  libxcursor1          1:1.1.15-2
ii  libxext6             2:1.3.3-1+b2
ii  libxfixes3           1:5.0.3-1
ii  libxmu6              2:1.1.2-2+b3
ii  libxpm4              1:3.5.12-1
ii  xdg-utils            1.1.3-1
ii  zlib1g               1:1.2.11.dfsg-1

Versions of packages gimp recommends:
ii  ghostscript  9.27~dfsg-2+deb10u3

Versions of packages gimp suggests:
pn  gimp-data-extras          <none>
pn  gimp-help-en | gimp-help  <none>
pn  gimp-python               <none>
ii  gvfs-backends             1.38.1-5
ii  libasound2                1.1.8-1

-- no debconf information

More information about the pkg-gnome-maintainers mailing list