Bug#903514:

James Van Zandt jim.vanzandt at gmail.com
Sat Jul 14 18:44:18 BST 2018


Package: gimp
Version: 2.10.2-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I may have the same problem.  I updated many packages yesterday, and today
gimp will not launch.


Christoph reported that opening a .png file generated a splash screen
then error messages about babl and python.  However, I get nothing (no
error message or splash screen) for any of these:

gimp
gimp foo.png        # file does not exist
gimp g14601.png     # file does exist

In each case, I got a segfault when I interrupted with ^C:

  home:~$ gimp foo.png
  ^CSegmentation fault (core dumped)

I initially did not have gimp-python installed, but installing it didn't
help.


I then tried launching gimp with strace:
  strace -o /tmp/log gimp

This time I got a splash screen (the first one I'd seen), with a progress
bar
stuck at 70%, the progress statement

 Querying new Plug-ins
 resynthesizer

plus these messages:

  GEGL-Message: 12:45:41.515: Module
'/usr/lib/x86_64-linux-gnu/gegl-0.4/ff-load.so' load error:
/usr/lib/x86_64-linux-gnu/libhogweed.so.4: undefined symbol:
__gmpn_cnd_sub_n
  GEGL-Message: 12:45:41.534: Module
'/usr/lib/x86_64-linux-gnu/gegl-0.4/ff-save.so' load error:
/usr/lib/x86_64-linux-gnu/libhogweed.so.4: undefined symbol:
__gmpn_cnd_sub_n
  Missing fast-path babl conversion detected, Implementing missing babl
fast paths
  accelerates GEGL, GIMP and other software using babl, warnings are
printed on
  first occurance of formats used where a conversion has to be synthesized
  programmatically by babl based on format description

  *WARNING* missing babl fast path(s): "R'G'B' double" to "CIE Lab double"

The strace file showed that the last file opened was
/usr/lib/gimp/2.0/plug-ins/plugin-uncrop.py:

home:~$ grep -n  "open" /tmp/log |tail -22
  39878:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/cml-explorer",
O_RDONLY) = 14
  39961:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/checkerboard",
O_RDONLY) = 14
  40059:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/cartoon", O_RDONLY) =
14
  40147:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/border-average",
O_RDONLY) = 14
  40250:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/blur", O_RDONLY) = 14
  40317:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/blinds", O_RDONLY) = 14
  40413:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/animation-play",
O_RDONLY) = 14
  40505:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/animation-optimize",
O_RDONLY) = 14
  40712:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/align-layers",
O_RDONLY) = 14
  40799:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/webexport", O_RDONLY)
= 14
  40912:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/gap_wr_trans",
O_RDONLY) = 14
  41229:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/gap_wr_resynth",
O_RDONLY) = 14
  41337:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/gap_wr_opacity",
O_RDONLY) = 14
  41441:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/gap_wr_color_levels",
O_RDONLY) = 14
  41613:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/gap_wr_color_huesat",
O_RDONLY) = 14
  41765:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/wavelet-denoise",
O_RDONLY) = 14
  41874:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/streak", O_RDONLY) = 14
  41955:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/separate_import",
O_RDONLY) = 14
  42063:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/separate", O_RDONLY) =
14
  42610:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/resynthesizer_gui",
O_RDONLY) = 14
  42759:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/resynthesizer",
O_RDONLY) = 14
  42875:openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/plugin-uncrop.py",
O_RDONLY) = 14


The next time gimp froze again after opening the same file, but the
progress statement in the splash screen was:

  Querying new Plug-ins
  plugin-uncrop.py

(The last line is from memory.  The splash screen got covered by other
windows, and was not re-rendered when uncovered.)

The second strace output ended like this:

  home:~$ tail -50 /tmp/log2
  poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, 0) = 0 (Timeout)
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3,
revents=POLLOUT}])
  writev(3,
[{iov_base="5\30\4\0,\2\300\3\3\0\300\3\0\5e\0\213\4\6\0-\2\300\3,\2\300\3\204\1\0\0"...,
iov_len=1688}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) =
1688
  recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
  pipe([10, 11])                          = 0
  pipe([12, 13])                          = 0
  fcntl(10, F_GETFD)                      = 0
  fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
  fcntl(13, F_GETFD)                      = 0
  fcntl(13, F_SETFD, FD_CLOEXEC)          = 0
  fstat(10, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  fcntl(10, F_GETFL)                      = 0 (flags O_RDONLY)
  fstat(13, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  fcntl(13, F_GETFL)                      = 0x1 (flags O_WRONLY)
  fstat(12, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  fcntl(12, F_GETFL)                      = 0 (flags O_RDONLY)
  fstat(11, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  fcntl(11, F_GETFL)                      = 0x1 (flags O_WRONLY)
  openat(AT_FDCWD, "/usr/lib/gimp/2.0/plug-ins/plugin-uncrop.py", O_RDONLY)
= 14
  fstat(14, {st_mode=S_IFREG|0755, st_size=6040, ...}) = 0
  read(14, "#!/usr/bin/env python\n\n'''\nGimp "..., 4095) = 4095
  close(14)                               = 0
  vfork()                                 = 21499
  wait4(21499, 0x7ffe9e2b8844, WNOHANG, NULL) = 0
  close(12)                               = 0
  close(11)                               = 0
  read(10, 0x7ffe9e2b8960, 4)             = ? ERESTARTSYS (To be restarted
if SA_RESTART is set)
  --- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
  futex(0x7f3bd51fe9e0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
  write(2, "gimp: terminated: Interrupt\n", 28) = 28
  futex(0x7f3bafff8d60, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7f3bafff8de0, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7f3bafff8d90, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7f3bafff8e60, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7f3bafff8e10, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7f3badd8c9d0, FUTEX_WAIT, 21357, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
  munmap(0x7f3b877ff000, 8392704)         = 0
  munmap(0x7f3bab58b000, 33554496)        = 0
  munmap(0x7f3ba958a000, 33554496)        = 0
  munmap(0x7f3ba1fff000, 33554496)        = 0
  exit_group(1)                           = ?
  +++ exited with 1 +++
  home:~$


The third attempt generated no splash screen, and froze much earlier
in the launch process:


  home:~$ wc /tmp/log*
    42896  244437 2739803 /tmp/log
    42738  243377 2728490 /tmp/log2
     3157   15677  215550 /tmp/log3
    88791  503491 5683843 total


My Debian installation appears okay, except for one package which
might conceivably be related to this problem:

  home:~$ sudo apt-get check
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  home:~$ sudo dpkg --configure -a
  Setting up jython-stilts (3.1.4-1) ...
  Exception in thread "main" java.lang.NoSuchMethodError:
java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;
  at jline.internal.InputStreamReader.<init>(InputStreamReader.java:104)
  at jline.console.ConsoleReader.setInput(ConsoleReader.java:330)
  at jline.console.ConsoleReader.<init>(ConsoleReader.java:248)
  at org.python.util.JLineConsole.install(JLineConsole.java:107)
  at org.python.core.Py.installConsole(Py.java:1744)
  at org.python.core.PySystemState.initConsole(PySystemState.java:1258)
  at org.python.core.PySystemState.doInitialize(PySystemState.java:1109)
  at org.python.core.PySystemState.initialize(PySystemState.java:1023)
  at org.python.core.PySystemState.initialize(PySystemState.java:979)
  at org.python.core.PySystemState.initialize(PySystemState.java:974)
  at org.python.util.jython.run(jython.java:263)
  at org.python.util.jython.main(jython.java:142)
  dpkg: error processing package jython-stilts (--configure):
   installed jython-stilts package post-installation script subprocess
returned error exit status 1
  Errors were encountered while processing:
   jython-stilts
  home:~$ sudo apt-get install --reinstall jython-stilts
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 900 not
upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  E: Internal Error, No file name for jython-stilts:amd64
  home:~$ dpkg -l jyth\*
  Desired=Unknown/Install/Remove/Purge/Hold
  |
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                         Version             Architecture
Description

+++-============================-===================-===================-==============================================================
  ii  jython                       2.7.1+repack-3      all
 Python seamlessly integrated with Java
  un  jython-doc                   <none>              <none>
(no description available)
  iF  jython-stilts                3.1.4-1             all
 Starlink Tables Infrastructure Library Tool Set (Jython packag



Please let me know if there's anything I can do to help.

       - Jim Van Zandt  <jim.vanzandt at gmail.com>


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gimp depends on:
ii  gimp-data            2.10.2-1
ii  libaa1               1.4p5-44+b1
ii  libbabl-0.1-0        0.1.50-1
ii  libbz2-1.0           1.0.6-8.1
ii  libc6                2.27-4
ii  libcairo2            1.15.10-3
ii  libfontconfig1       2.13.0-5
ii  libfreetype6         2.8.1-2
ii  libgcc1              1:8.1.0-10
ii  libgdk-pixbuf2.0-0   2.36.11-2
ii  libgegl-0.4-0        0.4.2-1
ii  libgexiv2-2          0.10.8-1
ii  libgimp2.0           2.10.2-1
ii  libglib2.0-0         2.56.1-2
ii  libgs9               9.22~dfsg-2.1
ii  libgtk2.0-0          2.24.32-2
ii  libgudev-1.0-0       232-2
ii  libharfbuzz0b        1.7.6-1
ii  libheif1             1.3.2-1
ii  libilmbase23         2.2.1-2
ii  libjpeg62-turbo      1:1.5.2-2+b1
ii  liblcms2-2           2.9-2
ii  liblzma5             5.2.2-1.3
ii  libmng1              1.0.10+dfsg-3.1+b5
ii  libmypaint-1.3-0     1.3.0-2
ii  libopenexr23         2.2.1-4
ii  libopenjp2-7         2.3.0-1
ii  libpango-1.0-0       1.42.1-2
ii  libpangocairo-1.0-0  1.42.1-2
ii  libpangoft2-1.0-0    1.42.1-2
ii  libpng16-16          1.6.34-2
ii  libpoppler-glib8     0.63.0-2
ii  librsvg2-2           2.40.20-2
ii  libstdc++6           8.1.0-10
ii  libtiff5             4.0.9-6
ii  libwebp6             0.6.1-2
ii  libwebpdemux2        0.6.1-2
ii  libwebpmux3          0.6.1-2
ii  libwmf0.2-7          0.2.8.4-12
ii  libx11-6             2:1.6.5-1
ii  libxcursor1          1:1.1.15-1
ii  libxext6             2:1.3.3-1+b2
ii  libxfixes3           1:5.0.3-1
ii  libxmu6              2:1.1.2-2
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.22~dfsg-2.1

Versions of packages gimp suggests:
ii  gimp-data-extras          1:2.0.2-1
ii  gimp-help-en [gimp-help]  2.8.2-0.1
ii  gimp-python               2.10.2-1
ii  gvfs-backends             1.36.1-1
ii  libasound2                1.1.6-1

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20180714/6d7c3c5d/attachment-0001.html>


More information about the pkg-gnome-maintainers mailing list