GNU bug report logs - #78537
GIMP startup crash on minimal xorg/wm unless gtk+ in profile

Previous Next

Package: guix;

Reported by: Runciter <runciter <at> whispers-vpn.org>

Date: Wed, 21 May 2025 15:36:03 UTC

Severity: normal

Merged with 78667

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Runciter <runciter <at> whispers-vpn.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 78537 <at> debbugs.gnu.org
Subject: bug#78537: GIMP startup crash on minimal xorg/wm unless gtk+ in profile
Date: Sun, 29 Jun 2025 15:26:14 +0000
Hi,

"Maxim Cournoyer" <maxim.cournoyer <at> gmail.com> writes:

> Are you able to run it this way?
>
> --8<---------------cut here---------------start------------->8---
> ./pre-inst-env guix shell --pure gimp -- gimp
> --8<---------------cut here---------------end--------------->8---
>
> For me it still fails to run, apparently it fails to load its PNG icons.
> Maybe it also needs to be wrapped with GDK_PIXBUF_MODULE_FILE ?
>
> --
> Thanks,
> Maxim

So... No revised patch and I guess I won't be able to make progress in
the near future. I'm kind of at the end of my wits with this, and
definitely lacking knowledge about gtk. Here's where I'm at:

After applying my patch V3, that is to say wrapping the data files
directory of the gtk+ package into XDG_DATA_DIRS, you can get GIMP to
complete startup in a more minimal profile; most minimally, it can be
obtained with the following command:

./pre-inst-env guix shell --pure gimp gdk-pixbuf -- gimp

gdk-pixbuf pulls glib in its propagated inputs. Trials showed that gimp
needs glib in the profile in order to load PNG icons, and it also needs
gdk-pixbuf in the profile in order to load SVG icons.

Yet, trying your suggestion of wrapping GDK_PIBUF_MODULE_FILE has been
unsuccessful, both for SVG and PNG icons.

Creating a propagated input or a chain of propagated inputs from gimp to
gdk-pixbuf while applying the path V3 and leaving gtk+ out of the
propagated inputs of gimp should work, if that's acceptable.

Regards,

-- 
Runciter





This bug report was last modified 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.