From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GKSsMge+3WBiIAAAgWs5BA (envelope-from ) for ; Thu, 01 Jul 2021 15:07:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cPNoLge+3WAFRwAA1q6Kng (envelope-from ) for ; Thu, 01 Jul 2021 13:07:19 +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 DD99C9D8A for ; Thu, 1 Jul 2021 15:07:18 +0200 (CEST) Received: from localhost ([::1]:45520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lywPU-0001Ww-5t for larch@yhetil.org; Thu, 01 Jul 2021 09:07:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lywPG-0001UZ-A3 for bug-guix@gnu.org; Thu, 01 Jul 2021 09:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lywPG-0001ft-0q for bug-guix@gnu.org; Thu, 01 Jul 2021 09:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lywPF-0007A3-Ny for bug-guix@gnu.org; Thu, 01 Jul 2021 09:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48756: guix offload: error: corrupt input while restoring archive from # Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Jul 2021 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48756 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Madhavan Krishnan Received: via spool by 48756-submit@debbugs.gnu.org id=B48756.162514476927454 (code B ref 48756); Thu, 01 Jul 2021 13:07:01 +0000 Received: (at 48756) by debbugs.gnu.org; 1 Jul 2021 13:06:09 +0000 Received: from localhost ([127.0.0.1]:59907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lywOO-00078j-91 for submit@debbugs.gnu.org; Thu, 01 Jul 2021 09:06:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lywOI-000784-RI for 48756@debbugs.gnu.org; Thu, 01 Jul 2021 09:06:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50164) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lywOD-00015W-5Z; Thu, 01 Jul 2021 09:05:57 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=36598 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lywOC-0001zd-Tk; Thu, 01 Jul 2021 09:05:57 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87sg23u83o.fsf@gmail.com> <87zgvsmv03.fsf@gmail.com> <87v96ftr87.fsf@gnu.org> <87tuls9s9u.fsf@gnu.org> <87fsxc5jcf.fsf@gmail.com> <874kdq3tw9.fsf@gnu.org> <87lf72f09x.fsf@gmail.com> <87fsx8298i.fsf@gnu.org> <87mtrfty8c.fsf@gnu.org> <8735t2z8pt.fsf@gnu.org> <87y2atun5t.fsf@gnu.org> <878s2tarwd.fsf@gmail.com> <87eeckra36.fsf@gnu.org> <87k0mcaeo4.fsf@gmail.com> <87lf6rpvrp.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 01 Jul 2021 15:05:54 +0200 In-Reply-To: (Madhavan Krishnan's message of "Wed, 30 Jun 2021 12:22:24 +0100") Message-ID: <87eecimbf1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48756@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625144839; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=k27o6JVahNlPZz2RhSxFctfaxfqH3ahVO84POO9Redo=; b=fVBK3leHAcdUIuXJRtI/ZjvnybOyF8QZHbmBz1ZamBjJe9/jP+PjuDCmElDC2QNb4qQg6R dAO23vd0ERNKRnfPk4pgvT7R9TmjuXQIPkIfu2AVj4uXZeJtjdkxPLKvUPI9myS/f40vN0 6mge0CREuj9kU6JmZevoi3t+HZ4yRg0OHdMM0DUwHvPU2O4h/cy2DlPU83+sfqYhXWiVGg 3Q+oiD/NDbW1SLbiwBES6SB8IiF1w/xJ+1cMRuI3vuUpKMGWqC2bFbm4jRyPm0b/cB/PGO D+qeyD4NYLzTUiUNx+KepEAXt023tE7XzScA/Ukd+sxBgoNVSAlEDCb33u3kXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625144839; a=rsa-sha256; cv=none; b=gOB3RwW77pXNcFOJsU2rIeam/OMoO1HO9vpPc773TxEUP1/h9Y+BYNyLO0mIQ/muMwslXq Hp+VaNMjaVQvLm8C3JT6GnQeQcrdaq3co8vok2Rma5UDrzkymVxS++p5b9SR8t7zuskTOs W/o29/B1NbHZQO2/z8/hrfM/c3m7ErWNUg7GblJVlcz/x7IXdfF6kVSq7D/kpwy1A40WKQ U7InYwS+MrCVLMzY0ncbWJM8yepeeF6xh5KXk85L+2IG6gSnaa569jTcPcaJoGU2/YCJdU uidXBpfiyxjIJQVVRvT7uur2I7eskUFtTgK9USZIi32SgEmkhGd+uuZ9sPYsOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Queue-Id: DD99C9D8A X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: DIdzElUkIeBA Hi, (+Cc: 48756@debbugs.gnu.org, so we record the end of the story.) Madhavan Krishnan skribis: > 89747 pipe([8, 10]) =3D 0 > 89748 execve("/gnu/store/6rn4l3h0p9x0m615pp1ynlv9v0743kl3-guix-1.2.0/bin/= guix", ["/gnu/store/6rn4l3h0p9x0m615pp1ynlv9v0743kl3-guix-1.2.0/bin/guix", = "authenticate"], 0x7ffe0b69df60 /* 7 vars */) =3D 0 > 89748 dup2(10, 2) =3D 2 > 89748 dup2(2, 1) =3D 1 > 89747 write(12, "sign 25:/etc/guix/signing-key.sec 64:a8c094df57101bf8684= c4afe31e58bc03bf6200a1d009e7c5bfe8bad0a48fa61\n", 102 [...] > 89748 write(2, "/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-= 5.0.16/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ut= f8)\n", 136) =3D 136 > 89747 read(8, > 89747 <... read resumed>"/", 1) =3D 1 [...] > 89747 write(2, "guix-daemon: nix/libutil/serialise.cc:15: virtual nix::Bu= fferedSink::~BufferedSink(): Assertion `!bufPos' failed.\n", 114 [...] > 89747 --- SIGABRT {si_signo=3DSIGABRT, si_code=3DSI_TKILL, si_pid=3D89747= , si_uid=3D0} --- Now we know! =E2=80=98guix-daemon=E2=80=99 hit the assertion failure above= , which is a bug. That happens because while talking to the =E2=80=98guix authenticate= =E2=80=99 subprocess, said process emits that warning: /gnu/store/=E2=80=A6/bin/bash: warning: setlocale: LC_ALL: =E2=80=A6 and guix-daemon reads the leading =E2=80=9C/=E2=80=9D and explodes, somehow. However, it seems you=E2=80=99re running guix-daemon from Guix 1.2.0, which is quite old, and chances are that the bug you hit has long been fixed. Could you try upgrading guix-daemon? https://guix.gnu.org/manual/en/html_node/Upgrading-Guix.html Thanks, Ludo=E2=80=99.