Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#903514: gimp: completely broken

94 views
Skip to first unread message

Christoph Anton Mitterer

unread,
Jul 10, 2018, 5:10:03 PM7/10/18
to
Package: gimp
Version: 2.10.2-1
Severity: grave
Justification: renders package unusable


Hi.

Since some time the GIMP is completely broken.

In most cases it does not even start (e.g. when invoking
it from another program) or when:
$ gimp
or
$ gimp 0.jpg
(with 0.jpg not existing)
it simply hangs (with no GUI coming up)

when doing e.g.:
$ gimp Screenshot\ from\ 2018-06-02\ 04-36-57.png
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"
GIMP-Error: Unable to run plug-in "plugin-uncrop.py"
(/usr/lib/gimp/2.0/plug-ins/plugin-uncrop.py)

Failed to execute child process “python” (No such file or directory)

GIMP-Error: Unable to run plug-in "plugin-resynth-sharpen.py"
(/usr/lib/gimp/2.0/plug-ins/plugin-resynth-sharpen.py)

Failed to execute child process “python” (No such file or directory)

GIMP-Error: Unable to run plug-in "plugin-resynth-fill-pattern.py"
(/usr/lib/gimp/2.0/plug-ins/plugin-resynth-fill-pattern.py)

Failed to execute child process “python” (No such file or directory)

GIMP-Error: Unable to run plug-in "plugin-resynth-enlarge.py"
(/usr/lib/gimp/2.0/plug-ins/plugin-resynth-enlarge.py)

Failed to execute child process “python” (No such file or directory)

gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "plugin-map-style.py"
(/usr/lib/gimp/2.0/plug-ins/plugin-map-style.py)

Failed to execute child process “python” (No such file or directory)

GIMP-Error: Unable to run plug-in "plugin-heal-transparency.py"
(/usr/lib/gimp/2.0/plug-ins/plugin-heal-transparency.py)

Failed to execute child process “python” (No such file or directory)

GIMP-Error: Unable to run plug-in "plugin-heal-selection.py"
(/usr/lib/gimp/2.0/plug-ins/plugin-heal-selection.py)

Failed to execute child process “python” (No such file or directory)

One get's these weird python errors...

Even when Ctrl+C or killall gimp and so on, processes like:
10423 ? Sl 0:00 /usr/lib/gimp/2.0/plug-ins/file-jpeg -gimp 35 33 -run 0
10443 ? Sl 0:00 /usr/lib/gimp/2.0/plug-ins/file-jpeg -gimp 39 37 -run 0
10556 ? Sl 0:00 /usr/lib/gimp/2.0/plug-ins/file-jpeg -gimp 47 45 -run 0
10571 ? Sl 0:00 /usr/lib/gimp/2.0/plug-ins/file-jpeg -gimp 51 49 -run 0

are left behind

Trying to open or save files from within gimp, often leads to the GUI simply
hanging.

And even tools like the Free Select Tool are broken... on can start a selection
but not connect the two endpoints.

All this happens even with .config/GIMP and friends completel removed.


Cheers,
Chris.

-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gimp depends on:
ii gimp-data 2.10.2-1
ii libaa1 1.4p5-44+b2
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-9
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.8.2-2
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-9
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-de [gimp-help] 2.8.2-0.1
ii gimp-help-en [gimp-help] 2.8.2-0.1
pn gimp-python <none>
ii gvfs-backends 1.36.1-1+b1
ii libasound2 1.1.6-1

-- no debconf information

Jeremy Bicha

unread,
Jul 10, 2018, 5:30:02 PM7/10/18
to
On Tue, Jul 10, 2018 at 4:59 PM, Christoph Anton Mitterer
<cale...@scientia.net> wrote:
> Since some time the GIMP is completely broken.

I don't know. It works fine here. Could you try to be more specific
about *when* things stopped working?

> GIMP-Error: Unable to run plug-in "plugin-uncrop.py"
> (/usr/lib/gimp/2.0/plug-ins/plugin-uncrop.py)
>
> Failed to execute child process “python” (No such file or directory)

Does it help if you install gimp-python?

Do you have anything unusual with your python install? Does python
otherwise work?

Thanks,
Jeremy Bicha

Christoph Anton Mitterer

unread,
Jul 10, 2018, 5:40:02 PM7/10/18
to
On Tue, 2018-07-10 at 17:20 -0400, Jeremy Bicha wrote:
> I don't know. It works fine here. Could you try to be more specific
> about *when* things stopped working?

I'm afraid I have no idea... I noticed it a week ago, which doesn't
mean though, that it wasn't introduced earlier.

Wasn't there recently some change in the python packaging, when Python
2 was split out into python2* packages (which the normal "python*"
packages depend upon however)?


> Does it help if you install gimp-python?

Hmm, at least not at a first glance...

When starting plain:
$ gimp
or when opening some
$ gimp foo.png
it hangs at it's GUI splash screen at "python-eval.py".

After Ctrl+C there's a
24556 pts/6 Sl 0:00 /usr/bin/python2 /usr/lib/gimp/2.0/plug-ins/python-eval.py -gimp 14 13 -query 0
left.


> Do you have anything unusual with your python install?
Nothing that I'd know of (I'm actually not using Python myself, so it's
only plain package installations as required for dependencies)


> Does python
> otherwise work?
It seems so... or at least soooo many other things in a normal desktop
Debian use python... nothing of that shows any issues recently.


Thanks!

Harald Wenninger

unread,
Jul 12, 2018, 3:40:02 AM7/12/18
to
Package: gimp
Version: 2.10.2-1
Followup-For: Bug #903514

Dear Maintainer,

I have the same problem.
Last week gimp was functioning normally, now it doesn’t even start up
and segfaults when interrupted by Ctrl+C.
My python installation is fully functional, I use python every day.

Regards,
Harald

-- System Information:
Debian Release: buster/sid
APT prefers unstable

APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)


Shell: /bin/sh linked to /bin/dash

Init: sysvinit (via /sbin/init)

Versions of packages gimp depends on:
ii gimp-data 2.10.2-1
ii libaa1 1.4p5-44+b2

ii libbabl-0.1-0 1:0.1.52-dmo1


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-9
ii libgdk-pixbuf2.0-0 2.36.11-2

ii libgegl-0.4-0 1:0.4.4-dmo1


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.8.2-2
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:1.3.0-dmo6

pn gimp-data-extras <none>
pn gimp-help-en | gimp-help <none>
ii gimp-python 2.10.2-1
pn gvfs-backends <none>

James Van Zandt

unread,
Jul 14, 2018, 1:50:03 PM7/14/18
to

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.va...@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

Pascal Giard

unread,
Jul 18, 2018, 8:40:03 AM7/18/18
to
Dear maintainer,

In case that may shed some light...

Before having gimp-python installed, gimp would start.
I could modify images and save them in the native gimp format.
Attempting to export to png or jpg would freeze though.
(With the exportation processes visible with `ps` but not doing anything, it appears).

After installing gimp-python, attempting to start gimp, I get stuck on the splash screen with status message "Interrogation des nouveaux greffons" (python-eval.py).
Sorry, attempting to start with LC_ALL=C doesn't work; this loosely translates to "Querying new plugins". Killing gimp, either of the following process remains active
/usr/bin/python2 /usr/lib/gimp/2.0/plug-ins/py-slice.py -gimp 12 11 -query 0
/usr/bin/python2 /usr/lib/gimp/2.0/plug-ins/python-eval.py -gimp 12 11 -query 0

Best regards,

-Pascal
--
Homepage (http://giard.info)
Debian GNU/Linux (http://www.debian.org)
TCL: École polytechnique fédérale de Lausanne (http://tcl.epfl.ch)


Pascal Giard

unread,
Jul 25, 2018, 10:00:03 AM7/25/18
to
Hi,

Exact same results as Benedict Geihe, i.e., removing libopenblas-base solves the issue.
Thanks A LOT for pointing this out Benedict!

James Van Zandt

unread,
Aug 10, 2018, 6:10:02 PM8/10/18
to
Awesome, thanks! 

On Fri, Aug 10, 2018, 5:27 PM Alexis Murzeau <amu...@gmail.com> wrote:
On 09/08/2018 00:22, Alexis Murzeau wrote:
> On 08/08/2018 00:59, Alexis Murzeau wrote:
>> severity 903514 important
>> thanks
>>
>>> Reassigning to glibc with affects on openblas and gimp as this is caused
>>> by a deadlock inside glibc.
>>
>> Done.
>>
>> Lowering severity as this does not render any package unusable by
>> themselves, but only a combination of them (GIMP + OpenBLAS).
>>
>> I think a workaround solution against GIMP OpenBLAS should be done as
>> I'm not sure a good solution will emerge in glibc given attempts done in
>> the past. The work to be done seems non trivial.
>>
>> My though on possible solutions:
>>  * Add a breaks between GIMP and OpenBLAS
>>  * Disable TLS in OpenBLAS build (if possible, but this would cause a
>> performance loss for users that use OpenBLAS without gimp)
>>  * Add a delay in GIMP to not load then close libraries too fast (so
>> OpenBLAS threads are fully initialized when dl_close is called on it)
>>
>
> Hi,
>
> I've posted a issue on openblas upstream project [0] and they suggested
> some solutions.
> One of them is to disable the use of compiler supported TLS and instead
> use pthreads.
>
> I tested this and it seems to fix deadlocks while starting gimp (I tried
> without arguments, with a non existing file and with an existing file).
>
> I've pushed a merge request with the patch at [1].
> I've also asked openblas upstream if this patch could be a good solution.
>
> In that case would it be possible to have this patch tested for ones who
> have major instabilities with gimp + openblas ?
>
> Thanks :)
>

Hi,

I've updated the merge request [0] with the upstream proposed patch [1].

@openblas maintainers, maybe someone can build a package with this patch
and upload to experimental so others can check if gimp works fine with it ?

I've myself tested it and gimp does not deadlock.

I can provide a binary package that include this patch, but I'm not sure
this is the best thing to do (I'm not the official maintainer, nor know
a good place to upload it).

[0] https://salsa.debian.org/science-team/openblas/merge_requests/1
[1] https://github.com/xianyi/OpenBLAS/pull/1726

--
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F

Jackie

unread,
Aug 12, 2018, 10:10:03 AM8/12/18
to
Great. It works. 
To make it clear, this is what I did to test:

1. Install libopenblas-base:amd64 (0.3.2+ds-1) and libopenblas-dev:amd64 (0.3.2+ds-1) from official repo. After installation complete, open a terminal and type gimp + ENTER. The cmd hangs forever and Ctrl-C gets a segment fault.
2. sudo apt purge libopenblas-base libopenblas-dev. Upon finish, open a terminal and type gimp + ENTER. Gimp lanuches without problem.
3. Add the repo you offered and install libopenblas-base:amd64 (0.3.2+ds-1.1~1patchTLS) and libopenblas-dev:amd64 (0.3.2+ds-1.1~1patchTLS). The installations go well, after that, open a terminal and type gimp + ENTER.  Gimp again lanuches without any problem.

I think this validates both the existence of the bug and your solution. Thank you very much.

Jiang Jun

On Sun, Aug 12, 2018 at 9:31 PM, Alexis Murzeau <amu...@gmail.com> wrote:
On 10/08/2018 23:27, Alexis Murzeau wrote:
I can provide a binary package that include this patch, but I'm not sure this is the best thing to do (I'm not the official maintainer, nor know a good place to upload it).
As I was requested to provide binary package to test the patch, I'm providing this as version `0.3.2+ds-1.1~1patchTLS` built with sbuild at [0]. Instructions are on the same page [0]: execute: `apt-key adv --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys 0x3F7A2FA142E434FE06622560B05266B2EB68F001` and add `deb https://amurzeau.github.io/apt-repository unstable main` to sources.list. This APT repository contains both the source and amd64 binary packages. If you try it, please tell if it works. [0] https://amurzeau.github.io/apt-repository/

Sébastien Villemot

unread,
Sep 7, 2018, 11:10:03 AM9/7/18
to
Le vendredi 10 août 2018 à 23:27 +0200, Alexis Murzeau a écrit :
> On 09/08/2018 00:22, Alexis Murzeau wrote:
> > On 08/08/2018 00:59, Alexis Murzeau wrote:
> > > severity 903514 important
> > > thanks
> > >
> > > > Reassigning to glibc with affects on openblas and gimp as this is caused
> > > > by a deadlock inside glibc.

> > I've posted a issue on openblas upstream project [0] and they suggested
> > some solutions.
> > One of them is to disable the use of compiler supported TLS and instead
> > use pthreads.

I have just uploaded openblas 0.3.3+ds-1, which has TLS disabled.

I think this should fix the original issue, i.e. the gimp+openblas
deadlock. Please let me know if this is not the case.

Best,

--
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org
signature.asc

Aurelien Jarno

unread,
Mar 31, 2019, 9:30:02 AM3/31/19
to
This bug is very likely a bug present in old glibc versions. It has been
brought to light when enabling TLS support in openblas and not by a new
glibc version.

Right now the bug has been workarounded by disabling TLS support in
openblas. The way to handle this bug is to write a small testcase that
can be forwarded upstream. It's not an easy task though.

--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aure...@aurel32.net http://www.aurel32.net
signature.asc

Wang Jianlin

unread,
Apr 28, 2019, 6:30:03 PM4/28/19
to


Ich beabsichtige, Ihnen einen Teil meines Vermögens als freiwillige finanzielle Spende zukommen zu lassen.
Wang Jianlin
Wanda-Gruppe

0 new messages