From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joshua Branson via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" Newsgroups: gmane.lisp.guile.bugs Subject: bug#51445: (no subject) Date: Wed, 27 Oct 2021 15:18:38 -0400 Message-ID: <87r1c6z375.fsf@dismail.de> Reply-To: Joshua Branson Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6350"; mail-complaints-to="usenet@ciao.gmane.io" To: 51445@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Oct 27 21:45:22 2021 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mforS-0001Pw-AM for guile-bugs@m.gmane-mx.org; Wed, 27 Oct 2021 21:45:22 +0200 Original-Received: from localhost ([::1]:38010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mforL-0003tE-JL for guile-bugs@m.gmane-mx.org; Wed, 27 Oct 2021 15:45:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfoRy-0000pB-J0 for bug-guile@gnu.org; Wed, 27 Oct 2021 15:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfoRy-0004bI-8N for bug-guile@gnu.org; Wed, 27 Oct 2021 15:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfoRy-0001UU-1l for bug-guile@gnu.org; Wed, 27 Oct 2021 15:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joshua Branson Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 27 Oct 2021 19:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51445 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16353623345713 (code B ref -1); Wed, 27 Oct 2021 19:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Oct 2021 19:18:54 +0000 Original-Received: from localhost ([127.0.0.1]:50602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfoRq-0001U5-0y for submit@debbugs.gnu.org; Wed, 27 Oct 2021 15:18:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfoRn-0001Tx-Uc for submit@debbugs.gnu.org; Wed, 27 Oct 2021 15:18:52 -0400 Original-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 ) id 1mfoRn-0000D4-DM for bug-guile@gnu.org; Wed, 27 Oct 2021 15:18:51 -0400 Original-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 ) id 1mfoRj-0004YX-37 for bug-guile@gnu.org; Wed, 27 Oct 2021 15:18:50 -0400 Original-Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id d991c7b7 for ; 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== Original-Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e883a3e9 for ; Wed, 27 Oct 2021 21:18:41 +0200 (CEST) Original-Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id bd87f904 for ; Wed, 27 Oct 2021 21:18:41 +0200 (CEST) Original-Received: by dismail.de (OpenSMTPD) with ESMTPSA id 889114b2 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Wed, 27 Oct 2021 21:18:40 +0200 (CEST) Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10198 Archived-At: 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 , 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@gnu.org 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 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