From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#38544: gparted segfaults Date: Mon, 09 Dec 2019 11:10:06 +0100 Message-ID: <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]:52030) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieG0N-00039f-4B for bug-guix@gnu.org; Mon, 09 Dec 2019 05:11:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieG0M-0000L2-1d for bug-guix@gnu.org; Mon, 09 Dec 2019 05:11:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieG0L-0000Kt-Uv for bug-guix@gnu.org; Mon, 09 Dec 2019 05:11:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieG0L-0002DE-Qs for bug-guix@gnu.org; Mon, 09 Dec 2019 05:11:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:51933) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieFzc-0002v6-Rp for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieFzb-0007ci-Ic for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:16 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ieFzb-0007a2-81 for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:15 -0500 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: 38544@debbugs.gnu.org This segfaults: sudo /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gpar= ted --8<---------------cut here---------------start------------->8--- =E2=80=A6 (gpartedbin:5364): Gdk-CRITICAL **: 11:06:10.219: gdk_cairo_surface_create_= 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 Adwai= ta (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon '= image-missing' for stock: Failed to load /org/gtk/libgtk/icons/24x24/status= /image-missing.png: Unrecognized image file format /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gparted: line= 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/g= parted 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. -- Ricardo