GNU bug report logs

#78537 GIMP startup crash on minimal xorg/wm unless gtk+ in profile

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #55 received at 78537@debbugs.gnu.org (full text, mbox, reply):

Received: (at 78537) by debbugs.gnu.org; 6 Jul 2025 19:32:56 +0000
From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 06 15:32:56 2025
Received: from localhost ([127.0.0.1]:58863 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1uYV6d-0000yi-Lj
	for submit@debbugs.gnu.org; Sun, 06 Jul 2025 15:32:56 -0400
Received: from mail-24420.protonmail.ch ([109.224.244.20]:51789)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <runciter@whispers-vpn.org>)
 id 1uYV6b-0000y8-4T
 for 78537@debbugs.gnu.org; Sun, 06 Jul 2025 15:32:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org;
 s=protonmail2; t=1751830365; x=1752089565;
 bh=BDEfzonutd1pEi4VabitSCrtfNpoadR4+dCWr4x7ia0=;
 h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
 Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID:BIMI-Selector;
 b=Acol/xeR8IJSbKZTGpYVEzRSEHyo5NRshQv6AfPqP2vlu136C/BbCx2qjon/h1cVN
 qOzPmrJY2jij9MjOB/nthrn0ITIOyqKCPui/oH9BVPF2e4u1VDldAOl7XadJhXhVhW
 QvNTVmMzs1U0PXIuuhrj+wJHKZN2QVdxmRINEyRCDGTK5zjdwP1/ElgurOlv3wCzdv
 9Wporre1tRznOh+pjcptFonLjLWRO0vXLic/pmdfgKS85ertZcxffPUI++W7Lq4gsS
 siiC3VVRDI1491c8O4YwmnSEYurMgjHerIP1jPOnhBlwK50uSe3uQ1Txs1GI0SzbnN
 507YfbauWD3yg==
Date: Sun, 06 Jul 2025 19:32:40 +0000
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
From: Runciter <runciter@whispers-vpn.org>
Subject: Re: bug#78537: GIMP startup crash on minimal xorg/wm unless gtk+ in
 profile
Message-ID: <87ikk5xghc.fsf@whispers-vpn.org>
In-Reply-To: <87jz4omyxi.fsf@guixotic.coop>
References: <877c2a3rle.fsf@whispers-vpn.org> <87a56payde.fsf@gmail.com>
 <878qlok7re.fsf@whispers-vpn.org> <87ldpm3rq8.fsf@whispers-vpn.org>
 <87ldplhbcq.fsf@terra.mail-host-address-is-not-set>
 <87o6uff3dj.fsf@whispers-vpn.org>
 <87pletjoun.fsf@terra.mail-host-address-is-not-set>
 <87seji1se3.fsf@whispers-vpn.org> <87jz4omyxi.fsf@guixotic.coop>
Feedback-ID: 119317227:user:proton
X-Pm-Message-ID: eafeb535f3f440b0341870a12ab2ed18700a9075
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -1.0 (-)
X-Debbugs-Envelope-To: 78537
Cc: 78537@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -2.0 (--)
Hi,

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

> Hi,
>
> Runciter <runciter@whispers-vpn.org> writes:
>
>> Hi,
>>
>> "Maxim Cournoyer" <maxim.cournoyer@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 ?
>
> [...]
>
>> 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
>
> Interesting!  As perhaps one last thing to check, you could compare the
> environment variables set in that profile, or compare the output of
> 'strace -e file -f -s200 gimp' when it works and doesn't.

Thanks for the advice Maxim, that did open new pathways for trial and
error.

I just submitted a patch version 4 which has gimp succeed at starting
without crashing in a pure shell.

Finally, it is very much necessary to export GDK_PIXBUF_MODULE_FILE from
the wrapper script, as you suggested. I must have missed it originally
because it is also imperative that gimp sees the data files of the
shared-mime-info package.

-- 
Runciter





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 00:41:18 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.