Subject: bug#38544: closed (Re: bug#38544: [PATCH] gnu: gparted: Use the Glib-or-GTK build system.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 16 Jul 2020 18:19:02 +0000

Your bug report

#38544: gparted segfaults

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
38544: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38544
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#38544: [PATCH] gnu: gparted: Use the Glib-or-GTK build system.
From: Tobias Geerinckx-Rice <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Thu, 16 Jul 2020 20:18:31 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès 写道：
>> Fixes <https://issues.guix.gnu.org/38544>.
>>
>> * gnu/packages/disk.scm (gparted)[build-system]: Use
>> glib-or-gtk-build-system.
>
> Makes sense, LGTM!

Thanks!  Pushed.

Kind regards,

T G-R

Subject: gparted segfaults
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Mon, 09 Dec 2019 11:10:06 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

This segfaults:

    sudo /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gparted

--8<---------------cut here---------------start------------->8---
…
(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 Adwaita

(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/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.

--
Ricardo