From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ydSCBvLFuV51IwAA0tVLHw (envelope-from ) for ; Mon, 11 May 2020 21:38:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sJEXCwDGuV6NbQAA1q6Kng (envelope-from ) for ; Mon, 11 May 2020 21:39:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1418A940EED for ; Mon, 11 May 2020 21:39:09 +0000 (UTC) Received: from localhost ([::1]:53124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYG8j-0007yf-Us for larch@yhetil.org; Mon, 11 May 2020 17:39:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYG8c-0007yW-5q for bug-guix@gnu.org; Mon, 11 May 2020 17:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYG8b-00043z-Ro for bug-guix@gnu.org; Mon, 11 May 2020 17:39:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYG8b-00048i-Ol for bug-guix@gnu.org; Mon, 11 May 2020 17:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#35591: Segfault on flatpak remote-add Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 11 May 2020 21:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35591 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35591@debbugs.gnu.org Received: via spool by 35591-submit@debbugs.gnu.org id=B35591.158923309615854 (code B ref 35591); Mon, 11 May 2020 21:39:01 +0000 Received: (at 35591) by debbugs.gnu.org; 11 May 2020 21:38:16 +0000 Received: from localhost ([127.0.0.1]:53520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYG7r-00047e-Lg for submit@debbugs.gnu.org; Mon, 11 May 2020 17:38:15 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYG7p-00047T-Rq for 35591@debbugs.gnu.org; Mon, 11 May 2020 17:38:14 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589233090; cv=none; d=zohomail.com; s=zohoarc; b=T9/25MeQoBq8CHxeCG99DTLMr99Qo3vAojoxL2UO60wqvkH8o76CTitCwf94hMBeDm+EoBsLxbt7QEoHDHduuPUNrcLpshnN53YF0AB96UEFxc/q8GiVPGgetllly41naODiEyT2yXYjBV/AdkWBYCXPQBmoeKXNx9Bee7W8CIE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589233090; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ioSOF9wYzhoBP44F2+mxhus6Z7Brazjk2tG21pUU4AU=; b=bfj7Su3Dmf6TI5u7bJYsmsvDgjU9X7UmAKCd2z+sm3U3C3B1dZrjOC9ziILl6tINqcaAQ4oeApxrLkYYLCxNRTB/LNvGj7mwRszhqaBicfj0ybNPc4gsmCBSHyJTpa4Aflw/Fi6FOiVXE3GgkxxYhNzYHfpKkHCD1eQauyw7xpE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589233090; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ioSOF9wYzhoBP44F2+mxhus6Z7Brazjk2tG21pUU4AU=; b=gZ9Ej+06V9njL2gTsL067Fu3fTjCZlQzrSQu1XHTZUeagDeGUjm2jw+B2cfn48ZP AK6HJ1JEzPr+JXA0Y2dLl6B+6PHUYjfsY/APETv8z2z8ins+v7mnHF+nGK/EQhwFEY9 /fPskR+3muthmAtAvL3IiRH+/qBsSvhYvR6pgIXw= Received: from localhost (p54AD4A39.dip0.t-ipconnect.de [84.173.74.57]) by mx.zohomail.com with SMTPS id 1589233088308552.0743640096173; Mon, 11 May 2020 14:38:08 -0700 (PDT) References: <12034386-e609-4dec-997f-bbf6614d8482@www.fastmail.com> <87pnid9ok5.fsf@sturm.com.au> <87tv0m1ar8.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.3 From: Ricardo Wurmus In-reply-to: <87tv0m1ar8.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 11 May 2020 23:38:05 +0200 Message-ID: <87r1vq17b6.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jonathan Frederickson Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: 1.99 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=gZ9Ej+06; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [1.99 / 13.00]; GENERIC_REPUTATION(0.00)[-0.54013251661534]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.07), country: US(-0.00), ip: 209.51.188.17(-0.54)]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; R_DKIM_REJECT(1.00)[elephly.net:s=zoho]; ARC_REJECT(2.00)[signature check failed: fail, {[1] = sig:zohomail.com:reject}]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[elephly.net:-]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[84.173.74.57:received]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[rekado@elephly.net,bug-guix-bounces@gnu.org]; URIBL_BLOCKED(0.00)[flathub.org:url,sturm.com.au:email,elephly.net:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[elephly.net]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 6icuuyP53KXd Ricardo Wurmus writes: > Ben Sturmfels 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. I reported this here: https://github.com/flatpak/flatpak/issues/3612 I=E2=80=99d say we close this issue here, because the segfault isn=E2=80=99= t our fault. Thoughts? -- Ricardo