GNU bug report logs - #35591
Segfault on flatpak remote-add

Previous Next

Package: guix;

Reported by: "Jonathan Frederickson" <jonathan <at> terracrypt.net>

Date: Sun, 5 May 2019 20:42:02 UTC

Severity: normal

Merged with 40489

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Cc: 35591 <at> debbugs.gnu.org, Jonathan Frederickson <jonathan <at> terracrypt.net>
Subject: Re: bug#35591: Segfault on flatpak remote-add
Date: Mon, 11 May 2020 22:23:39 +0200
Ben Sturmfels <ben <at> sturm.com.au> writes:

> On Sun, 05 May 2019, Jonathan Frederickson wrote:
>
>> I'm attempting to use Flatpak on my Guix system, and I'm experiencing
>> segfaults when attempting to add a remote repo. Provided below are the
>> output of the command I'm attempting to run, as well as some info
>> about my system.
>
> I learnt on #guix IRC that flatpak works when run with the --user flag:
>
> $ flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
> $ flatpak install flathub org.gnome.Builder
> $ flatpak run org.gnome.Builder
>
> The segfaulting behaviour is still a bug in my opinion, because it's
> extremely user un-friendly, and the requirement for --user is not
> obvious.

Yes, segfaults are always bugs, unless you forced the program to
load garbage.

I traced the execution of flatpak and saw that it segfaults right after
failing to created /var/lib/flatpak.  Sure enough, after creating it
manually the program no longer segfaults.

-- 
Ricardo




This bug report was last modified 5 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.