unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Madhavan Krishnan <krishnanmadhavan000@gmail.com>
Cc: 48756@debbugs.gnu.org
Subject: bug#48756: guix offload: error: corrupt input while restoring archive from #<closed: file 7f68866bf770>
Date: Thu, 01 Jul 2021 15:05:54 +0200	[thread overview]
Message-ID: <87eecimbf1.fsf@gnu.org> (raw)
In-Reply-To: <CAOeCqOL2NU8f9v8V5Tt3ur=EfjkUcV-BzW6SM-vX6NpRiHzcYA@mail.gmail.com> (Madhavan Krishnan's message of "Wed, 30 Jun 2021 12:22:24 +0100")

Hi,

(+Cc: 48756@debbugs.gnu.org, so we record the end of the story.)

Madhavan Krishnan <krishnanmadhavan000@gmail.com> skribis:

> 89747 pipe([8, 10])                     = 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 */) = 0

> 89748 dup2(10, 2)                       = 2
> 89748 dup2(2, 1)                        = 1

> 89747 write(12, "sign 25:/etc/guix/signing-key.sec 64:a8c094df57101bf8684c4afe31e58bc03bf6200a1d009e7c5bfe8bad0a48fa61\n", 102 <unfinished ...>

[...]

> 89748 write(2, "/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)\n", 136) = 136


> 89747 read(8,  <unfinished ...>
> 89747 <... read resumed>"/", 1)         = 1

[...]

> 89747 write(2, "guix-daemon: nix/libutil/serialise.cc:15: virtual nix::BufferedSink::~BufferedSink(): Assertion `!bufPos' failed.\n", 114 <unfinished ...>

[...]

> 89747 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=89747, si_uid=0} ---

Now we know!  ‘guix-daemon’ hit the assertion failure above, which is a
bug.  That happens because while talking to the ‘guix authenticate’
subprocess, said process emits that warning:

  /gnu/store/…/bin/bash: warning: setlocale: LC_ALL: …

and guix-daemon reads the leading “/” and explodes, somehow.

However, it seems you’re 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’.




  parent reply	other threads:[~2021-07-01 13:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-30 23:15 bug#48756: guix offload: error: corrupt input while restoring archive from #<closed: file 7f68866bf770> Madhavan Krishnan
2021-06-14 13:23 ` Ludovic Courtès
2021-06-14 13:33   ` Madhavan Krishnan
2021-06-15  9:24     ` Ludovic Courtès
     [not found]       ` <CAOeCqOKetOxjqBSsT4JbQSNscqOrzpCff1O1=j-ZHXWmNp6wmA@mail.gmail.com>
     [not found]         ` <87tuls9s9u.fsf@gnu.org>
     [not found]           ` <87fsxc5jcf.fsf@gmail.com>
     [not found]             ` <CAOeCqOJnqcd60ZVbsgUovAx-KD2y-C7NP++T7PVEK01w+JVc3A@mail.gmail.com>
     [not found]               ` <874kdq3tw9.fsf@gnu.org>
     [not found]                 ` <87lf72f09x.fsf@gmail.com>
     [not found]                   ` <87fsx8298i.fsf@gnu.org>
     [not found]                     ` <CAOeCqOLqJXjGzsOh_vk+6gWxQAA-vM6VetEUX3=Yd1xdOuLrQA@mail.gmail.com>
     [not found]                       ` <87mtrfty8c.fsf@gnu.org>
     [not found]                         ` <CAOeCqO+chkb9WbXTWhbkgVrK88cUw78nR3sJdZWT_aaZwK+=OA@mail.gmail.com>
     [not found]                           ` <8735t2z8pt.fsf@gnu.org>
     [not found]                             ` <CAOeCqOJ2oehKV1jPGU_sXZmO1BnDRAJguBwgBVXR0QN6hMtyKQ@mail.gmail.com>
     [not found]                               ` <87y2atun5t.fsf@gnu.org>
     [not found]                                 ` <878s2tarwd.fsf@gmail.com>
     [not found]                                   ` <87eeckra36.fsf@gnu.org>
     [not found]                                     ` <87k0mcaeo4.fsf@gmail.com>
     [not found]                                       ` <87lf6rpvrp.fsf@gnu.org>
     [not found]                                         ` <CAOeCqOL2NU8f9v8V5Tt3ur=EfjkUcV-BzW6SM-vX6NpRiHzcYA@mail.gmail.com>
2021-07-01 13:05                                           ` Ludovic Courtès [this message]
2021-07-01 13:19                                             ` Madhavan Krishnan
2021-07-22  1:46                                               ` Maxim Cournoyer

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87eecimbf1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=48756@debbugs.gnu.org \
    --cc=krishnanmadhavan000@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).