Felix Lechner <felix.lechner@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.
Received: (at submit) by debbugs.gnu.org; 27 Oct 2021 19:18:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 27 15:18:54 2021
Received: from localhost ([127.0.0.1]:50602 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1mfoRq-0001U5-0y
for submit <at> debbugs.gnu.org; Wed, 27 Oct 2021 15:18:54 -0400
Received: from lists.gnu.org ([209.51.188.17]:42420)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <jbranso@HIDDEN>) id 1mfoRn-0001Tx-Uc
for submit <at> debbugs.gnu.org; Wed, 27 Oct 2021 15:18:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37758)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <jbranso@HIDDEN>)
id 1mfoRn-0000D4-DM
for bug-guile@HIDDEN; Wed, 27 Oct 2021 15:18:51 -0400
Received: from mx1.dismail.de ([78.46.223.134]:20573)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <jbranso@HIDDEN>)
id 1mfoRj-0004YX-37
for bug-guile@HIDDEN; Wed, 27 Oct 2021 15:18:50 -0400
Received: from mx1.dismail.de (localhost [127.0.0.1])
by mx1.dismail.de (OpenSMTPD) with ESMTP id d991c7b7
for <bug-guile@HIDDEN>; Wed, 27 Oct 2021 21:18:41 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date
:message-id:from:to; s=20190914; bh=9VeOY3hPRYugy30FwaMUItptz63w
I/ynu1Ucqmpewn8=; b=W7LfuVgGdt0sSYCs8ESvqcd3/8J+k/rDbkPkwBNC42tm
RIdRluhEiSaFnj6SKO44SG6eo+rLcRSBsrhx5JtngOaBusi3260yQ4Vi0K2ykde7
J2QGA85czk6bBRom3wfM1QXwosp+92oGzt03hTblFxIgMpC9eg+QI9GgIoL6h0Y0
dADbYCDZ0AWiqxC51riJipKuSRLaVXATizhNNlSbNSvFLypHtCOHcCbRq6qWR/U8
jbh/gnDrrSg3eFMomzmHPaUh0sw4QEgUB/VavqU0wShwevxd9teo6vCqx/brumEB
ZkPGASNcuQnwLRe7uvptWw1mC40boThbXwsMUwGntQ==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
by mx1.dismail.de (OpenSMTPD) with ESMTP id e883a3e9
for <bug-guile@HIDDEN>; Wed, 27 Oct 2021 21:18:41 +0200 (CEST)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
by smtp2.dismail.de (OpenSMTPD) with ESMTP id bd87f904
for <bug-guile@HIDDEN>; Wed, 27 Oct 2021 21:18:41 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 889114b2
(TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <bug-guile@HIDDEN>;
Wed, 27 Oct 2021 21:18:40 +0200 (CEST)
Date: Wed, 27 Oct 2021 15:18:38 -0400
Message-Id: <87r1c6z375.fsf@HIDDEN>
From: Joshua Branson <jbranso@HIDDEN>
To: bug-guile@HIDDEN
Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@HIDDEN;
helo=mx1.dismail.de
X-Spam_score_int: -9
X-Spam_score: -1.0
X-Spam_bar: -
X-Spam_report: (-1.0 / 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, MISSING_SUBJECT=1.799,
RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.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: -0.4 (/)
This is more of a feature request. Apologies if this is an annoying
request.
So I made a pretty noobie-like mistake a few days ago using (guix
records). When one tries to create a <record-configuration>, he
invariably creates an infinite number of records. The guile compiler
eventually runs out of memory and stops compiling with an error
message like:
fish: Job 1, 'guile break-guile-compiler.scm' terminated by signal SIGKILL (Forced quit)
I submitted this "bug" report to bug-guix@HIDDEN as well.
http://issues.guix.gnu.org/51383
It probably will not be fixed at the (guix records) macro level
anytime soon, so I am submitting it here in case guile developers are
interested in improving their compiler error messages. I came across
this compiler error while debugging my 1,000 line program. Trying to
figure out what was wrong without any hints from appropriate error
messages was slightly confusing.
Here is the bad code:
(use-modules (guix records))
(define-record-type* <record-configuration>
record-configuration make-record-configuration
record-configuration?
(command record-configuration-command
;; the error is here is on the next line
(default (record-configuration))))
(record-configuration)
Thanks,
Joshua
Joshua Branson <jbranso@HIDDEN>:bug-guile@HIDDEN.
Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.
Full text available.
bug-guile@HIDDEN:bug#51445; Package guile.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.