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 #25 received at 78537@debbugs.gnu.org (full text, mbox, reply):

Received: (at 78537) by debbugs.gnu.org; 20 Jun 2025 23:42:52 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 20 19:42:51 2025
Received: from localhost ([127.0.0.1]:59023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1uSlNj-0002l2-1m
	for submit@debbugs.gnu.org; Fri, 20 Jun 2025 19:42:51 -0400
Received: from mail-24420.protonmail.ch ([109.224.244.20]:50823)
 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 1uSlNf-0002jW-85
 for 78537@debbugs.gnu.org; Fri, 20 Jun 2025 19:42:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org;
 s=protonmail2; t=1750462960; x=1750722160;
 bh=fhoE5/BfJ1Q4AEZz2RXt0sqqicIoJ7aYiXvVJ60xTwo=;
 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=Bq4IE/PZxXoZXWocpVpQmeWywAmqBIin9CluFJIHO9misV39O0xZtnzKNy11rxYrl
 UPQpzNS1v2oEOH9kNb89EwTUxuHSeYLwMO14ylePVnmUdipgrVTigYV1cHK7zBop1L
 EzmZt88BFgiLH0r0MxqgseHjpRZZus6tknSmmyi7nPFkJ+qmdKGstNgfpZdYCoRyeG
 bhtfRduKGo7H25TFq3xmUZLVGPfynf47/UUGNGrv+w5YpNdFhWiisV4YrKadhXdBsd
 uIh8L1Nr7Yge3ekLQwG+RJS/Bh09bP6WtRdooigF6PLaNdEvZerwIbLcHtDXzSULt8
 kWfxSt8XGu9Og==
Date: Fri, 20 Jun 2025 23:42:36 +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: <87ldpm3rq8.fsf@whispers-vpn.org>
In-Reply-To: <878qlok7re.fsf@whispers-vpn.org>
References: <877c2a3rle.fsf@whispers-vpn.org> <87a56payde.fsf@gmail.com>
 <878qlok7re.fsf@whispers-vpn.org>
Feedback-ID: 119317227:user:proton
X-Pm-Message-ID: 0be9967013e6e93643d44a6b030a9e453b22391a
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.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: -1.0 (-)
Hi Guix!

It wasn't LD_LIBRARY_PATH that needed wrapping finally, it was
XDG_DATA_DIRS.

I just submitted a revised patch.

When I think about this, after this patch, considering the case of
people who have both gtk+ and gimp in their profile, the variable
XDG_DATA_DIRS in the environment of a running gimp should be clobbered
or quasi-clobbered, however you want to call it. Although this should
generally not result in failures, it seems it has in the case of another
variable, bug#77921. I don't think it should be always preferred to use
'=' instead of 'prefix' for wrapping, though. If there's a cleaner way
to do this, let me know.

Regards,

-- 
Runciter





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 08:35:23 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.