GNU bug report logs - #24053
guix download file:// fails with a ~2 GB file on i686

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Fri, 22 Jul 2016 17:20:02 UTC

Severity: normal

Merged with 23666

To reply to this bug, email your comments to 24053 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#24053; Package guix. (Fri, 22 Jul 2016 17:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark H Weaver <mhw <at> netris.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 22 Jul 2016 17:20:02 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: bug-guix <at> gnu.org
Subject: guix download file:// fails with a ~2 GB file on i686
Date: Fri, 22 Jul 2016 13:19:28 -0400
On my i686 GuixSD machine, the following command consistently fails:

  mhw <at> jojen:~$ guix download file:///home/mhw/texlive-20160523b-texmf.tar.xz
  guix download: error: sendfile: Broken pipe

The file is 2071190200 bytes, which is about 73 MiB less than 2 GiB.
I have 2 GiB of RAM and 4 GiB of swap.

My guix client is v0.10.0-1899-g0f971a0.  My guix-daemon is 0.10.0.

     Mark




Merged 23666 24053. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Sun, 24 Jul 2016 14:04:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#24053; Package guix. (Sat, 30 Jul 2016 04:19:01 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: 24053 <at> debbugs.gnu.org
Subject: Re: bug#24053: guix download file:// fails with a ~2 GB file on i686
Date: Sat, 30 Jul 2016 00:18:10 -0400
Mark H Weaver <mhw <at> netris.org> writes:

> On my i686 GuixSD machine, the following command consistently fails:
>
>   mhw <at> jojen:~$ guix download file:///home/mhw/texlive-20160523b-texmf.tar.xz
>   guix download: error: sendfile: Broken pipe
>
> The file is 2071190200 bytes, which is about 73 MiB less than 2 GiB.
> I have 2 GiB of RAM and 4 GiB of swap.
>
> My guix client is v0.10.0-1899-g0f971a0.  My guix-daemon is 0.10.0.

I tried adding the same file using 'add-to-store' directly from the
REPL.  'guile' exited with status code 141, without printing an error
message:

--8<---------------cut here---------------start------------->8---
mhw <at> jojen:~$ guix/pre-inst-env guile
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> ,use (guix)
scheme@(guile-user)> (define s (open-connection))
scheme@(guile-user)> (add-to-store s "texlive-20160523b-texmf.tar.xz" #f "sha256" "texlive-20160523b-texmf.tar.xz")
mhw <at> jojen:~$ echo $?
141
mhw <at> jojen:~$ ls -l texlive-20160523b-texmf.tar.xz
-rw-r--r-- 1 mhw mhw 2071190200 Jul 20 01:08 texlive-20160523b-texmf.tar.xz
--8<---------------cut here---------------end--------------->8---

       Mark




Information forwarded to bug-guix <at> gnu.org:
bug#24053; Package guix. (Sat, 30 Jul 2016 13:15:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 24053 <at> debbugs.gnu.org
Subject: Re: bug#24053: guix download file:// fails with a ~2 GB file on i686
Date: Sat, 30 Jul 2016 15:14:20 +0200
Mark H Weaver <mhw <at> netris.org> skribis:

> scheme@(guile-user)> ,use (guix)
> scheme@(guile-user)> (define s (open-connection))
> scheme@(guile-user)> (add-to-store s "texlive-20160523b-texmf.tar.xz" #f "sha256" "texlive-20160523b-texmf.tar.xz")
> mhw <at> jojen:~$ echo $?
> 141

(status:term-sig 141) = 13 (SIGPIPE), which makes sense: the daemon’s
child process at the other end received SIGKILL due to an OOM condition.

We don’t see that from the CLI because commands ignore SIGPIPE (see
‘initialize-guix’ in (guix ui)).

Ludo’.




This bug report was last modified 8 years and 317 days ago.

Previous Next


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