From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Subject: bug#38544: gparted segfaults Date: Tue, 10 Dec 2019 08:38:50 +0100 Message-ID: References: <87muc16c8x.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50193) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iea7n-00060V-Mt for bug-guix@gnu.org; Tue, 10 Dec 2019 02:40:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iea7m-0000wR-BW for bug-guix@gnu.org; Tue, 10 Dec 2019 02:40:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iea7m-0000wE-6I for bug-guix@gnu.org; Tue, 10 Dec 2019 02:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iea7m-0005em-3j for bug-guix@gnu.org; Tue, 10 Dec 2019 02:40:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87muc16c8x.fsf@elephly.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 38544@debbugs.gnu.org Hello, Ricardo Wurmus ezt =C3=ADrta (id=C5=91pont: 2019. dec.= 9., H, 11:11): > > This segfaults: > > sudo /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gp= arted > > --8<---------------cut here---------------start------------->8--- > =E2=80=A6 > (gpartedbin:5364): Gdk-CRITICAL **: 11:06:10.219: gdk_cairo_surface_creat= e_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed > > (gpartedbin:5364): GLib-GObject-CRITICAL **: 11:06:10.219: g_object_unref= : assertion 'G_IS_OBJECT (object)' failed > > (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon= 'drive-harddisk' for stock: Icon 'drive-harddisk' not present in theme Adw= aita > > (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon= 'image-missing' for stock: Failed to load /org/gtk/libgtk/icons/24x24/stat= us/image-missing.png: Unrecognized image file format > /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gparted: li= ne 202: 5364 Segmentation fault $BASE_CMD--8<---------------cut here-= --------------end--------------->8--- > > This does not segfault: > > sudo -E /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin= /gparted > > The problem here is that when run as root but without the environment of > the current user gparted fails to find the image loader modules. Yes, I concur. I believe this affects multiple packages, but as it is rarely needed to run them with sudo this did not become apparent. Question is what needs to be done here. I would say if it is ok to run these with sudo -E, then we could work it around by documenting this, but the proper solution would be to ensure that these modules are found. > > -- > Ricardo > > > > Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21