unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24053: guix download file:// fails with a ~2 GB file on i686
@ 2016-07-22 17:19 Mark H Weaver
  2016-07-30  4:18 ` Mark H Weaver
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2016-07-22 17:19 UTC (permalink / raw)
  To: 24053

On my i686 GuixSD machine, the following command consistently fails:

  mhw@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#24053: guix download file:// fails with a ~2 GB file on i686
  2016-07-22 17:19 bug#24053: guix download file:// fails with a ~2 GB file on i686 Mark H Weaver
@ 2016-07-30  4:18 ` Mark H Weaver
  2016-07-30 13:14   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2016-07-30  4:18 UTC (permalink / raw)
  To: 24053

Mark H Weaver <mhw@netris.org> writes:

> On my i686 GuixSD machine, the following command consistently fails:
>
>   mhw@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@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@jojen:~$ echo $?
141
mhw@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#24053: guix download file:// fails with a ~2 GB file on i686
  2016-07-30  4:18 ` Mark H Weaver
@ 2016-07-30 13:14   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-07-30 13:14 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 24053

Mark H Weaver <mhw@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@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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-30 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 17:19 bug#24053: guix download file:// fails with a ~2 GB file on i686 Mark H Weaver
2016-07-30  4:18 ` Mark H Weaver
2016-07-30 13:14   ` Ludovic Courtès

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).