all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gábor Boskovits" <boskovits@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 38544@debbugs.gnu.org
Subject: bug#38544: gparted segfaults
Date: Tue, 10 Dec 2019 08:38:50 +0100	[thread overview]
Message-ID: <CAE4v=pj5WLKUBD9vJMq_d5LDmeBS48vGmr+LtRr69xq78WVgdg@mail.gmail.com> (raw)
In-Reply-To: <87muc16c8x.fsf@elephly.net>

Hello,

Ricardo Wurmus <rekado@elephly.net> ezt írta (időpont: 2019. dec. 9., H, 11:11):
>
> 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.

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
-- 
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21

  reply	other threads:[~2019-12-10  7:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09 10:10 bug#38544: gparted segfaults Ricardo Wurmus
2019-12-10  7:38 ` Gábor Boskovits [this message]
2020-01-04 18:35 ` raingloom
2020-07-14 13:50 ` bug#38544: [PATCH] gnu: gparted: Use the Glib-or-GTK build system Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-07-16 10:07   ` Ludovic Courtès
2020-07-16 18:18     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE4v=pj5WLKUBD9vJMq_d5LDmeBS48vGmr+LtRr69xq78WVgdg@mail.gmail.com' \
    --to=boskovits@gmail.com \
    --cc=38544@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.