GNU bug report logs - #72340
guix should not ask me to report a bug if it fails due to running out of memory

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: "Zack Weinberg" <zack@HIDDEN>; dated Sun, 28 Jul 2024 16:04:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 72340 <at> debbugs.gnu.org:


Received: (at 72340) by debbugs.gnu.org; 3 Sep 2024 18:24:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 03 14:24:48 2024
Received: from localhost ([127.0.0.1]:60982 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1slYCt-0004BU-Qj
	for submit <at> debbugs.gnu.org; Tue, 03 Sep 2024 14:24:48 -0400
Received: from fout8-smtp.messagingengine.com ([103.168.172.151]:50389
 helo=pfout8-smtp.messagingengine.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zack@HIDDEN>) id 1slYCr-0004BG-Gf
 for 72340 <at> debbugs.gnu.org; Tue, 03 Sep 2024 14:24:46 -0400
Received: from phl-compute-05.internal (phl-compute-05.phl.internal
 [10.202.2.45])
 by mailfout.phl.internal (Postfix) with ESMTP id 5CD4113803AC;
 Tue,  3 Sep 2024 14:23:37 -0400 (EDT)
Received: from phl-imap-05 ([10.202.2.95])
 by phl-compute-05.internal (MEProxy); Tue, 03 Sep 2024 14:23:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owlfolio.org; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm3; t=1725387817;
 x=1725474217; bh=p5VgeZFfwVM+XsyZeQ7o42GXhaodbXaU065Y+gpnVa8=; b=
 E+KWnt/SbN+sW8m1uAbmGMwc5BhoTdDeHsY4hHmZKzfzz8bf0pj+3UNn7QPMD3hb
 kOvTYJF9wEYGTU9UWO641qVoljyq3IKvUe+pb45fh7Ct77M4Ejg08aL6ZK6YjCy1
 HKyMad943yQYDjjA0+uSnjKl3PNxtp+vWW3gwfpabyInapRp1r8fMHvuJXLCZ+3e
 ZiIELFkS2P5wp5rvLnGLgWCcwD9z3lWc5cs2S3VIRZjALphS9x7UhpvjgF6afNoh
 zkbxMbiV3a80Iox0lvrM8Fxd4L/vYZ6lyGFUKIiWluz0bWtLvsO94Pc5Jdnpqg5t
 LOwRmzZx4GgBNUQU8ZumVw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1725387817; x=
 1725474217; bh=p5VgeZFfwVM+XsyZeQ7o42GXhaodbXaU065Y+gpnVa8=; b=f
 6FmOkJAo8CMfJpXMV1gsHoH3YDf8/fJBWwMCOwcw5jQ8r3i4SxPE3LVtnfgkCYGh
 yhqRUBCSyOAbBQG5oSpt7J7Lb5aZR0ThLxfa7gUOtSatJ5jABP9fWp/ocPCYDoga
 eqwxQdK94V33s0cliefcO5s+BvTWY+gEX7Ayu3xvS3Sk/9MVJcwkH/AFWwNfM51H
 u0+qPmA9J4Eg/qFuY1soJ6m7jdj2PwMKOO4gEDy0rBWyS9FRh5UvpqgqHesUwDMo
 /i78HDBOXfXGY6xqgO6dpXwdO78D/YiUXGxg3oYBUOVo2CslAR5qwG+9Sh/m9Y+H
 RS2DTv6h9J28xK5W9cvfA==
X-ME-Sender: <xms:KVTXZgzwntAFonb3fPBemETdldCFWKAqs9cAm8VG-Yv8BypVsFsHxQ>
 <xme:KVTXZkQZXZoVygFHzs029vggsuHevTka6A9CPQ2mSDrVaWMrS3QTwygCItRSGhTIz
 c05VJQ9CHJwX8IkEuQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehhedguddvgecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggff
 fhvfevkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedfkggrtghkucghvghinhgs
 vghrghdfuceoiigrtghksehofihlfhholhhiohdrohhrgheqnecuggftrfgrthhtvghrnh
 epffffleeihfekfeetheeiieelueffleegvdejgffhhffhheehgfethfegjeduueehnecu
 vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepiigrtghkse
 hofihlfhholhhiohdrohhrghdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphho
 uhhtpdhrtghpthhtohepjedvfeegtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtph
 htthhopeiiihhmohhnrdhtohhuthhouhhnvgesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:KVTXZiUyZ5gze4M_GtlAsDNqF3L2M2IXmXG70URevgNjSecYP3GP3w>
 <xmx:KVTXZugD_S87Xfg5PZmRP06Wa7Oysuj3yP4Ar9V85GXBY48Zv18kHQ>
 <xmx:KVTXZiDeYMZv-4OMUvCL_EdDUDsIUmUOxZpiYxSUCZwTeELtduciQQ>
 <xmx:KVTXZvLvNYWnvX8g1WhUva3gR1c5DI57De3Oy4qCrUI5xqyX1M4dcQ>
 <xmx:KVTXZj6k6RhzObgohpelBefe-FiHc5ME-_qamE-9-dIbntXgZG10NDNR>
Feedback-ID: i876146a2:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501)
 id 107363020078; Tue,  3 Sep 2024 14:23:37 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
Date: Tue, 03 Sep 2024 14:23:16 -0400
From: "Zack Weinberg" <zack@HIDDEN>
To: "Simon Tournier" <zimon.toutoune@HIDDEN>
Message-Id: <3bb66d15-1597-4c12-b2b3-1fd7a77bffe5@HIDDEN>
In-Reply-To: <874j6wsoqk.fsf@HIDDEN>
References: <8f273f8d-50db-463b-a0c1-cff561661f7e@HIDDEN>
 <87ed60u7hc.fsf@HIDDEN>
 <1cf310cf-8d7f-4f6d-9b07-397ebdaa1ffc@HIDDEN>
 <874j6wsoqk.fsf@HIDDEN>
Subject: Re: bug#72340: guix should not ask me to report a bug if it fails due
 to running out of memory
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 72340
Cc: 72340 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Tue, Sep 3, 2024, at 12:09 PM, Simon Tournier wrote:
>
> Well, this bug seems an instance of bug#47543 [1].

It is not.  This bug is "When guix runs out of memory, it prints an error
message that gives the user unhelpful advice."  That is not the same as
any particular reason why guix might run out of memory.

> =E2=80=9Cguix time-machine=E2=80=9D runs =E2=80=9Cguix pull=E2=80=9D, =
other said:
>
>      guix time-machine -q --commit=3De4aabf42b33346849cb565199cfafc49d=
4f0aeff \
>        -- time-machine -q --commit=3D46a64c7fdd057283063aae6df058579bb=
07c4b6a \
>        -- describe
>
> is more or less equivalent to:
>
>     guix pull --commit=3De4aabf42b33346849cb565199cfafc49d4f0aeff -p /=
tmp/host
>     /tmp/host/bin/guix pull --commit=3D46a64c7fdd057283063aae6df058579=
bb07c4b6a
>
> which minimicks what you ran.

Thanks for the explanation.

zw




Information forwarded to bug-guix@HIDDEN:
bug#72340; Package guix. Full text available.

Message received at 72340 <at> debbugs.gnu.org:


Received: (at 72340) by debbugs.gnu.org; 3 Sep 2024 16:11:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 03 12:11:53 2024
Received: from localhost ([127.0.0.1]:60641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1slW8H-0000aQ-GP
	for submit <at> debbugs.gnu.org; Tue, 03 Sep 2024 12:11:53 -0400
Received: from mail-wr1-f44.google.com ([209.85.221.44]:56417)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1slW8F-0000aA-59
 for 72340 <at> debbugs.gnu.org; Tue, 03 Sep 2024 12:11:52 -0400
Received: by mail-wr1-f44.google.com with SMTP id
 ffacd0b85a97d-374c6187b6eso1663700f8f.0
 for <72340 <at> debbugs.gnu.org>; Tue, 03 Sep 2024 09:10:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1725379783; x=1725984583; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=vdbeUYKfMQPIR/ISSN4Vv+SuHkGRAcjupnm9FgXMZQc=;
 b=MK002d0PysODJwjif+h3pRV7+V33/efZxXNTqZ2RKeafkgCaKdyykAJ/S+nLtZcCu/
 FtFjfGJrceqhL83TX02huDv2oR7uCRqbjHP5zPpPgeVBJn9KgnaE4MwfWwh3pQlevndD
 jfNwG/uXQzQ8S8GBWLyRC1xgAJjR2HVxBsoyWJigGxqNFEl1i1t4TGUqZVbEwjejq7NC
 MA6O89OWrAH4HLRla/vqgUJHtBlGzbC+uCOn2fZiNuHBFl+aZHIBUefnDXxXSl+IA1we
 38wm19iqoQbFzKIoY8Moq1yA+ucs36pdhWMv3w0CY9nszklrI7Qjw+2mF4jftO2VtFvd
 XbNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1725379783; x=1725984583;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=vdbeUYKfMQPIR/ISSN4Vv+SuHkGRAcjupnm9FgXMZQc=;
 b=YX0/+OI2sVUgRd3RYB+qDxG+A3wHydsfCqSgWG8LqOU0DgiljXGysusvjF9nYbZFIu
 UzF4xz+NTOm4y4PijZPzqJMa3ASsWqGeOdEfSaZ6ANeDgxeaCnbUONAf+n+AXOhXxAxG
 dmxbxtoedx528nx5pA4HReh4+QWsBRFWzjfJuiXHlMLgebI/U/Cjj+tbj2EVUsU5DD49
 2TGAAx+PcrdfwM46O/ATVIsb0wbk10ridwUtYwstUizZ8/qF0HnfaEQCaEx5H7d2KG1q
 yI4K0JV4Vuq3bLZ15n9O7ShPdZ4/4RkYg0v0K5ELLJOCS1OO7STxssr8U9IBEGKGSQ/0
 d12A==
X-Gm-Message-State: AOJu0YwB8c1woukpiXN/qLRglhWHVShW91CHxRZF/bC8nZ9vK/VfAiG3
 m8Ne5/SpqlBV0ylQrt08uU8Zp9XGFObZgny6D+sphC6eaSn/qToDgrC7rg==
X-Google-Smtp-Source: AGHT+IFxmz8LiXeODppfBiaAkDhZySDKm/+nUL0RTQOpKcQXjt8qB3AKywOK5DrX5GVlzKXqkdhRvQ==
X-Received: by 2002:adf:f10d:0:b0:374:c1d6:f57f with SMTP id
 ffacd0b85a97d-374c1d6f65dmr7230517f8f.7.1725379782574; 
 Tue, 03 Sep 2024 09:09:42 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:1440:6a2e:939e:fdc2])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3749efb14bfsm14522347f8f.104.2024.09.03.09.09.41
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 03 Sep 2024 09:09:42 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: "Zack Weinberg" <zack@HIDDEN>
Subject: Re: bug#72340: guix should not ask me to report a bug if it fails
 due to running out of memory
In-Reply-To: <1cf310cf-8d7f-4f6d-9b07-397ebdaa1ffc@HIDDEN> (Zack
 Weinberg's message of "Tue, 03 Sep 2024 11:30:41 -0400")
References: <8f273f8d-50db-463b-a0c1-cff561661f7e@HIDDEN>
 <87ed60u7hc.fsf@HIDDEN>
 <1cf310cf-8d7f-4f6d-9b07-397ebdaa1ffc@HIDDEN>
Date: Tue, 03 Sep 2024 18:09:39 +0200
Message-ID: <874j6wsoqk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72340
Cc: 72340 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On Tue, 03 Sep 2024 at 11:30, "Zack Weinberg" <zack@HIDDEN> wrote:

> I reconfigured my Guix system to avoid the bug, so I cannot easily
> trigger it anymore.  However, this is not a bug that would go away by
> accident.

Yes for sure, that=E2=80=99s not what I meant. :-)

This can happen if a cycle is introduced, i.e., package foo depending on
package foo.  Or it can happen for other reasons, as it seems the case here.

Well, this bug seems an instance of bug#47543 [1].

1: bug#47543: =E2=80=9CRepeated allocation of very large block=E2=80=9D dur=
ing =E2=80=98guix pull=E2=80=99
Ludovic Court=C3=A8s <ludovic.courtes@HIDDEN>
Thu, 01 Apr 2021 16:00:06 +0200
id:87v9966r6h.fsf@HIDDEN
https://issues.guix.gnu.org/47543
https://issues.guix.gnu.org/msgid/87v9966r6h.fsf@HIDDEN
https://yhetil.org/guix/87v9966r6h.fsf@HIDDEN


> Also, I don't know what "guix time-machine" does but I would not
> expect "guix describe" to use substantial amounts of memory.  You need
> to run a command that computes a large derivation, such as "guix pull"
> or "guix system reconfigure".

=E2=80=9Cguix time-machine=E2=80=9D runs =E2=80=9Cguix pull=E2=80=9D, other=
 said:

     guix time-machine -q --commit=3De4aabf42b33346849cb565199cfafc49d4f0ae=
ff \
       -- time-machine -q --commit=3D46a64c7fdd057283063aae6df058579bb07c4b=
6a \
       -- describe

is more or less equivalent to:

    guix pull --commit=3De4aabf42b33346849cb565199cfafc49d4f0aeff -p /tmp/h=
ost
    /tmp/host/bin/guix pull --commit=3D46a64c7fdd057283063aae6df058579bb07c=
4b6a

which minimicks what you ran.  Indeed, I=E2=80=99ve run it on my machine an=
d not
inside some VM with constrained memory.  However, considering bug#47543
[1], I am not convinced the crash comes from this constrained memory.

Hum, maybe it=E2=80=99s worth merging with bug#47543 [1].  WDYT?

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#72340; Package guix. Full text available.

Message received at 72340 <at> debbugs.gnu.org:


Received: (at 72340) by debbugs.gnu.org; 3 Sep 2024 15:32:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 03 11:32:18 2024
Received: from localhost ([127.0.0.1]:60565 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1slVVx-0007t7-OA
	for submit <at> debbugs.gnu.org; Tue, 03 Sep 2024 11:32:18 -0400
Received: from fout6-smtp.messagingengine.com ([103.168.172.149]:39689
 helo=pfout6-smtp.messagingengine.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zack@HIDDEN>) id 1slVVv-0007sq-Ej
 for 72340 <at> debbugs.gnu.org; Tue, 03 Sep 2024 11:32:17 -0400
Received: from phl-compute-05.internal (phl-compute-05.phl.internal
 [10.202.2.45])
 by mailfout.phl.internal (Postfix) with ESMTP id 6DF7313804EF;
 Tue,  3 Sep 2024 11:31:07 -0400 (EDT)
Received: from phl-imap-05 ([10.202.2.95])
 by phl-compute-05.internal (MEProxy); Tue, 03 Sep 2024 11:31:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owlfolio.org; h=
 cc:content-transfer-encoding:content-type:content-type:date:date
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm3; t=1725377467;
 x=1725463867; bh=vhWlvwx8pu4A12znUAXAqw9JNlfZCKRbGLZFyl60/mg=; b=
 ql/5VDmqhsen9n1pvTaXhsLS4hR2XGoqe3N6P276Nrydeea5/e0koKgUfPJYhe6w
 Z/BMlY8257Fr95kOlIJw5dKmYhzQIF6DirmTllcdbrDqQmDLT23zn8sj/uICoL/T
 pFCgE1ye14ZUGH4XPtIDQWgrVItutiqFBu0nglhzktpr3YlaqY/NZMdGwPo1Y2Uu
 4wuV/PUPGMpYtHQ7pJpb8s65Rfb2t6oHgLCxmYU2EzwxeSDkJbdllqNy1xZphpFE
 rL+ASVKE6VeG7yNG+So5BFact2uu6y9xIC+fFPYkmUQbxXW9fDlCaI9QuNtAvBY5
 xlgbStehS/pDlb9byLWn0Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1725377467; x=
 1725463867; bh=vhWlvwx8pu4A12znUAXAqw9JNlfZCKRbGLZFyl60/mg=; b=p
 ajcyoonMPaFG2VeFG/3xtOZkc9Olj0YvNkzmeEtqHf/7L09Uj7+qJ7cgwKy1GKT8
 NcmTvKiLE0X4a9HzY3YLsdIlBWs2orZCY9NwhLBvFuri91k+cmbxgFjZ5DimgU3f
 4sX3mtkg/xa0Yr90/jw3kE4FbubzXfauozLJHy9e0ZEs2OWUIPzzlkOulfD92fg0
 QGs5i12aZkgxOfHQJYPyvyUYWxkOPFKeylq1kqv9xLva0HDlO0PHjJ8NC41Rb/Ab
 1XtMIeP9own4xK7SZm3zyQF3q71um/7dWPYrObw5A6EHXrvhw3e2o4faxmwIeRY1
 OJBzS2goyyDLztsPK2HyA==
X-ME-Sender: <xms:uyvXZsZKZlWiiCs0dkHJ_al70Mb8vnwo89wzdD0c06_M_1ejoOrdfA>
 <xme:uyvXZnbWOS5BOGlIIZyWDEFu3LFFtUYzQ_iBfD0u7sThWJ6SszJySZD-1AHJQxwlz
 cmHzvyifLYetXVNiTc>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehhedgkeekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefoggffhf
 fvkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedfkggrtghkucghvghinhgsvghr
 ghdfuceoiigrtghksehofihlfhholhhiohdrohhrgheqnecuggftrfgrthhtvghrnhepgf
 evleehleeivdefjeetffehueelveegudffleduheeiudefveejjedvveduleetnecuvehl
 uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepiigrtghksehofi
 hlfhholhhiohdrohhrghdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhht
 pdhrtghpthhtohepjedvfeegtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtth
 hopeiiihhmohhnrdhtohhuthhouhhnvgesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:uyvXZm-sdqWYiy4_q6VhB7ckzghozAFFwHPghWhmfS31FRi_BlhHdg>
 <xmx:uyvXZmqRqo9a9KPDL19NnWMsPPxXaB-vgrDW-UAY3N7WNqCsr6yVCQ>
 <xmx:uyvXZnrqQKCSVTRLU0YdW8pcGiI9cYNU082ndIkuH-i5eexzIcWgkw>
 <xmx:uyvXZkQOrAPE_RyQXpzGdHEWXNEC9r3oCbuoXeGCTNqHe0Cs1JZ3EQ>
 <xmx:uyvXZgCg9mooX8wG4duPU5Y7HxJvdITJZkuTnfQQr_hSc4YWUs58tNsJ>
Feedback-ID: i876146a2:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501)
 id 2BE543020078; Tue,  3 Sep 2024 11:31:07 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
Date: Tue, 03 Sep 2024 11:30:41 -0400
From: "Zack Weinberg" <zack@HIDDEN>
To: "Simon Tournier" <zimon.toutoune@HIDDEN>, 72340 <at> debbugs.gnu.org
Message-Id: <1cf310cf-8d7f-4f6d-9b07-397ebdaa1ffc@HIDDEN>
In-Reply-To: <87ed60u7hc.fsf@HIDDEN>
References: <8f273f8d-50db-463b-a0c1-cff561661f7e@HIDDEN>
 <87ed60u7hc.fsf@HIDDEN>
Subject: Re: bug#72340: guix should not ask me to report a bug if it fails due
 to running out of memory
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 72340
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Tue, Sep 3, 2024, at 10:39 AM, Simon Tournier wrote:
> On Sun, 28 Jul 2024 at 16:02, "Zack Weinberg" via Bug reports for GNU 
> Guix <bug-guix@HIDDEN> wrote:
>
>> Computing Guix derivation for 'x86_64-linux'... \
>> GC Warning: Failed to expand heap by 8388608 bytes
>> [previous line repeats 79 more times]
>> GC Warning: Failed to expand heap by 69632 bytes
>> GC Warning: Out of Memory! Heap size: 402 MiB. Returning NULL!
>> Warning: Unwind-only out of memory exception; skipping pre-unwind handler.
>> guix pull: error: You found a bug: the program
>> '/gnu/store/6pckga173mjbpfz7a2bl93h4gimd8fp5-compute-guix-derivation'
>> failed to compute the derivation for Guix (version:
>> "46a64c7fdd057283063aae6df058579bb07c4b6a"; system: "x86_64-linux";
>> host version: "e4aabf42b33346849cb565199cfafc49d4f0aeff";
>
> I guess this bug had been fixed since then.  Do you still have it?

I reconfigured my Guix system to avoid the bug, so I cannot easily
trigger it anymore.  However, this is not a bug that would go away by
accident.  Until someone writes code specifically intended to produce
a better error message when Guile runs out of memory, the bug will be
live.

> Aside, I am not able to reproduce it:
>
>     guix time-machine -q --commit=e4aabf42b33346849cb565199cfafc49d4f0aeff \
>       -- time-machine -q --commit=46a64c7fdd057283063aae6df058579bb07c4b6a \
>       -- describe

In order to reproduce the bug you need to be working in an environment
(probably a virtual machine is easiest) with a limited amount of
system memory (512MB of RAM and no swap should do it) and memory
overcommit disabled (sysctl -w vm.overcommit_memory=2).

Also, I don't know what "guix time-machine" does but I would not
expect "guix describe" to use substantial amounts of memory.  You need
to run a command that computes a large derivation, such as "guix pull"
or "guix system reconfigure".

zw




Information forwarded to bug-guix@HIDDEN:
bug#72340; Package guix. Full text available.

Message received at 72340 <at> debbugs.gnu.org:


Received: (at 72340) by debbugs.gnu.org; 3 Sep 2024 15:08:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 03 11:08:19 2024
Received: from localhost ([127.0.0.1]:60539 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1slV8l-0007BY-9l
	for submit <at> debbugs.gnu.org; Tue, 03 Sep 2024 11:08:19 -0400
Received: from mail-wm1-f53.google.com ([209.85.128.53]:58867)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1slV8g-0007Aw-6j
 for 72340 <at> debbugs.gnu.org; Tue, 03 Sep 2024 11:08:18 -0400
Received: by mail-wm1-f53.google.com with SMTP id
 5b1f17b1804b1-42bbe809b06so33977175e9.1
 for <72340 <at> debbugs.gnu.org>; Tue, 03 Sep 2024 08:07:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1725375966; x=1725980766; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :from:to:cc:subject:date:message-id:reply-to;
 bh=RrlO8elJWB5ZwfT5R3VU51gilh3Qihw6OxgI2yAy0G8=;
 b=HNnmvBUCV+PNl/2JQn8By70vwJbTL/W5DiVneIXFtY6XSE8yUzFe51u2oIH7mBUbEu
 ZhRxSUh2LQnAh+D2Wrgy63/N8H94ugQ/ZSdZ68FB2zVbrM4IFlBzx92/sHrZQOiz4Ttz
 WEo48Z5WNZux9WoBKvBCnXMzCAzhuUP+735bD9uDcg32JU51tyPrl8Z6gy3z0kYp6Kay
 qtCUpvrbiS3rdyDHMW+RBaoU8fuLnIPi+PA+R14lfrItRZKVDarsbRHtcAnbjPIxXy2m
 tFOowwnIC9csD9Azb0h3WrKaEeGktPwLl/q9VIQC4K6jRPDAETo3Ia6Gfv6ti4JkBq7E
 V36Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1725375966; x=1725980766;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=RrlO8elJWB5ZwfT5R3VU51gilh3Qihw6OxgI2yAy0G8=;
 b=Rza/he09WUvrzSVMLX5dyfbm+inIf74ja4Fq10dsE/GDpNgdeQsED6fq53xj82+cA9
 P1x4YHwazSxFwyP+VchBcapRZJx+mc1NncTn3gAfD4ncdx+zl5JVnMfP3/4x7ZWIM2cG
 uuzzHuCusG3qFCxJb/vfawNRP7CyFXZnK+8lnFD1tRTeY7mkvMNDnZLACQwARj0dzmmv
 o0S8kxM+38eS5upUhCjaS+GGXmtVd8BOyn7NiYB2dp2Id6k2pB0j7ZftZs1IY0x7qOuR
 2uH73DHSDQreNwmIuRO2jsNVIQRi6zvXnBF03wsRG/rX/RslwoN4ldt5bOqa8Nhoymz9
 vbCw==
X-Forwarded-Encrypted: i=1;
 AJvYcCXqMN4/6QyURRiM4l+lt9X39fbCdAkIxtApD4EK4AbeNSOHfDBseT4c6ACdZ+hc83MlpMdkIw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzIOg3SX25v35eKz/KMTorgy3sTRYUH8Ir7p7KtfXEpnVJ1Axat
 iH0jDDXY87DsUKdWR/TxbQmwNu8NEPmpSMjThQWIHnuAGPfA6plu3iLK1g==
X-Google-Smtp-Source: AGHT+IGvy+8ldnbg+HtywkIFhq9k6uwwzlfN+f0w7hgKzxPxrQmP9HkVyBQhwPYFbcHtZBDVjiqilQ==
X-Received: by 2002:a05:600c:1c12:b0:42b:afa7:801f with SMTP id
 5b1f17b1804b1-42bb27a9c91mr111683835e9.30.1725375965453; 
 Tue, 03 Sep 2024 08:06:05 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:1440:6a2e:939e:fdc2])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-374c5792acbsm7752435f8f.76.2024.09.03.08.06.04
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 03 Sep 2024 08:06:05 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Zack Weinberg <zack@HIDDEN>, 72340 <at> debbugs.gnu.org
Subject: Re: bug#72340: guix should not ask me to report a bug if it fails
 due to running out of memory
In-Reply-To: <8f273f8d-50db-463b-a0c1-cff561661f7e@HIDDEN>
References: <8f273f8d-50db-463b-a0c1-cff561661f7e@HIDDEN>
Date: Tue, 03 Sep 2024 16:39:27 +0200
Message-ID: <87ed60u7hc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72340
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On Sun, 28 Jul 2024 at 16:02, "Zack Weinberg" via Bug reports for GNU Guix <bug-guix@HIDDEN> wrote:

> Computing Guix derivation for 'x86_64-linux'... \
> GC Warning: Failed to expand heap by 8388608 bytes
> [previous line repeats 79 more times]
> GC Warning: Failed to expand heap by 69632 bytes
> GC Warning: Out of Memory! Heap size: 402 MiB. Returning NULL!
> Warning: Unwind-only out of memory exception; skipping pre-unwind handler.
> guix pull: error: You found a bug: the program
> '/gnu/store/6pckga173mjbpfz7a2bl93h4gimd8fp5-compute-guix-derivation'
> failed to compute the derivation for Guix (version:
> "46a64c7fdd057283063aae6df058579bb07c4b6a"; system: "x86_64-linux";
> host version: "e4aabf42b33346849cb565199cfafc49d4f0aeff";

I guess this bug had been fixed since then.  Do you still have it?

Aside, I am not able to reproduce it:

    guix time-machine -q --commit=e4aabf42b33346849cb565199cfafc49d4f0aeff \
      -- time-machine -q --commit=46a64c7fdd057283063aae6df058579bb07c4b6a \
      -- describe

This passes for me.

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#72340; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Jul 2024 16:03:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 28 12:03:17 2024
Received: from localhost ([127.0.0.1]:44285 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sY6Me-0004rV-US
	for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 12:03:17 -0400
Received: from lists.gnu.org ([209.51.188.17]:44596)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zack@HIDDEN>) id 1sY6Mc-0004rC-02
 for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 12:03:14 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zack@HIDDEN>) id 1sY6MO-0006jZ-Di
 for bug-guix@HIDDEN; Sun, 28 Jul 2024 12:03:02 -0400
Received: from fout5-smtp.messagingengine.com ([103.168.172.148])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zack@HIDDEN>) id 1sY6ML-0004gs-R1
 for bug-guix@HIDDEN; Sun, 28 Jul 2024 12:03:00 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailfout.nyi.internal (Postfix) with ESMTP id 1C18E138013B
 for <bug-guix@HIDDEN>; Sun, 28 Jul 2024 12:02:55 -0400 (EDT)
Received: from imap45 ([10.202.2.95])
 by compute5.internal (MEProxy); Sun, 28 Jul 2024 12:02:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owlfolio.org; h=
 cc:content-transfer-encoding:content-type:content-type:date:date
 :from:from:in-reply-to:message-id:mime-version:reply-to:subject
 :subject:to:to; s=fm2; t=1722182575; x=1722268975; bh=/Ad/Z/R096
 YD8iF0Mbt3zEn8WFvqUiS0ccLUxpoYHec=; b=OJEuHNhKtkbbYBfP2IeJV9JsG1
 FvJ2AyjZPIwJCAVxgPoLl9RkanhE9D/tzEkQmFMBW3OTmef7yoHRnSfXzlJOHP1p
 yMctLTGwISESrlKoOsIbDOi/dGQMy0HBGB+nKqJ5FVwVvw4CB6bh8iVFfG3fIznO
 msgNQN/SFGw1NKpWg8CIrxUd335YdHimfOD1NJRLwiEsrPnIgnuL/eO8OjDg7LSC
 l/IfRWDSfwBRbCi0IpXdMhbqUBvWV+xMDRXRUwjBnQJ6+kQXa7sIhSSKkEGekzy4
 pdnhnbhJO0kzsspC3lqfalG30UCoqhDx8H7JG4rHa6BvE2KzNAIY4qoZMo8g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:message-id:mime-version:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; t=1722182575; x=1722268975; bh=/Ad/Z/R096YD8iF0Mbt3zEn8WFvq
 UiS0ccLUxpoYHec=; b=UvH9VCEFOaGOiuZFujtNkP9+r145uuBSrjD6s6By8ZVo
 6gL4IgMwvIaLWgaAnLOnMsrfxyEgFYVCLRHBIGcjRhp3+H9WMvHEZXbXMp34HQ98
 l2F3DWz0Hr9Aoto+UKRSXFKljRIpARXQKGT0ahl6jiNvn8UAs7q+PJyU+G8KOdrs
 tTu/87BX33+3+IdC5WQFRt7YDGMd38JXlHESk3QpXkT98u92tRc3lCUI/tQTrkqj
 2NHHeW53A0nHMuAn4qxY65MAlo2LM5+r/mrTOIHdqQdku9NvxRw6LOSoMRwQFLeU
 YwUgA6k9dVIGOJl41uOYvx/mRHEIf2vjk8qwqat43g==
X-ME-Sender: <xms:rmumZkhQzyHiCFFtJzcWayhSVBvktI4CGC0UbHv5I_gmWRqiAkkI3w>
 <xme:rmumZtD6u2FFeJFgtC2w9JUhPtEU8uLVBSGqXAasVSiyZBv3CpTs86qfWcLugakBa
 SrRkyjw4lKEhA-xtOg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjedtgdeljecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgfgsehtqhertd
 erreejnecuhfhrohhmpedfkggrtghkucghvghinhgsvghrghdfuceoiigrtghksehofihl
 fhholhhiohdrohhrgheqnecuggftrfgrthhtvghrnhepiefggfefhfefffefvdelgfelfe
 euueejveeukeeileettddvjeeljefhueffheegnecuffhomhgrihhnpehgnhhurdhorhhg
 necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepiigrtg
 hksehofihlfhholhhiohdrohhrghdpnhgspghrtghpthhtoheptd
X-ME-Proxy: <xmx:rmumZsECgQ9WhI2sVvR5VRHhsgHg2tqP3gQGMsdSaK1NTeH4X4HiTw>
 <xmx:rmumZlT-Nq97ZU5_--euwR87vxIi3kEsWl_hi2EbEftIptT-eC9G9A>
 <xmx:rmumZhyGnYzs7lw3AgFX6EhOpbT9V_OnJYwH8cN9bQNSaOzZFCB9gw>
 <xmx:rmumZj7eRdC6N6aNk3V7xQYrig2h5ZlcdMvwT0t5qG_jZo5ivX0vpA>
 <xmx:r2umZvZWiY21ay3OIDojOOjLOmZoVvUAwTg6_cQQTJl08whOrJa3_vfP>
Feedback-ID: i876146a2:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501)
 id D325F272007C; Sun, 28 Jul 2024 12:02:54 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.11.0-alpha0-582-g5a02f8850-fm-20240719.002-g5a02f885
MIME-Version: 1.0
Message-Id: <8f273f8d-50db-463b-a0c1-cff561661f7e@HIDDEN>
Date: Sun, 28 Jul 2024 16:02:33 +0000
From: "Zack Weinberg" <zack@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix should not ask me to report a bug if it fails due to running out
 of memory
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=103.168.172.148; envelope-from=zack@HIDDEN;
 helo=fout5-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

If a guix operation fails due to running out of memory, it's reported
to the user as an internal error, instructing them to report a bug to
bug-guix.  For example:

# guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu=
.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	46a64c7
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...=
 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...=
 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...=
 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 module-import  2KiB                  56KiB/s 00:00 =E2=96=95=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=8F 100.0%
 module-import-compiled  1.3MiB      2.4MiB/s 00:01 =E2=96=95=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=8F 100.0%
 compute-guix-derivation  1KiB       877KiB/s 00:00 =E2=96=95=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=8F 100.0%
Computing Guix derivation for 'x86_64-linux'... \
GC Warning: Failed to expand heap by 8388608 bytes
[previous line repeats 79 more times]
GC Warning: Failed to expand heap by 69632 bytes
GC Warning: Out of Memory! Heap size: 402 MiB. Returning NULL!
Warning: Unwind-only out of memory exception; skipping pre-unwind handle=
r.
guix pull: error: You found a bug: the program
'/gnu/store/6pckga173mjbpfz7a2bl93h4gimd8fp5-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"46a64c7fdd057283063aae6df058579bb07c4b6a"; system: "x86_64-linux";
host version: "e4aabf42b33346849cb565199cfafc49d4f0aeff";
pull-version: 1).  Please report the COMPLETE output above by email to
<bug-guix@HIDDEN>.

The fact that it ran the computer out of RAM is *not* a bug per se --
perhaps we could talk about reducing "guix pull"'s memory
requirements, but that's a big hairy design challenge probably.

But that means there *is* a bug: the fatal exception handler should
have a dedicated message for out-of-memory conditions, directing the
user to add more swap or something, instead of reporting a bug.

For reference, this is a server with this much RAM as of when I ran
the above command:

# free -h
               total        used        free      shared  buff/cache   a=
vailable
Mem:           969Mi       229Mi       557Mi          0B       319Mi    =
   739Mi
Swap:          613Mi        39Mi       574Mi

Enabling zswap did not permit a successful "guix pull" but increasing
the amount of available swap space to 2Gi did.  (Memory overcommit is
disabled.  Peak memory usage, with the increased swap, was roughly
1.5Gi.)

zw




Acknowledgement sent to "Zack Weinberg" <zack@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#72340; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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