X-Loop: help-debbugs@HIDDEN
Subject: bug#72612: (set! display #f) infinite loop
Resent-From: Bryce Moore <bryce.moore@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Wed, 14 Aug 2024 02:21:02 +0000
Resent-Message-ID: <handler.72612.B.172360205112973 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 72612
X-GNU-PR-Package: guile
X-GNU-PR-Keywords:
To: 72612 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.172360205112973
(code B ref -1); Wed, 14 Aug 2024 02:21:02 +0000
Received: (at submit) by debbugs.gnu.org; 14 Aug 2024 02:20:51 +0000
Received: from localhost ([127.0.0.1]:45773 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1se3d4-0003N6-KK
for submit <at> debbugs.gnu.org; Tue, 13 Aug 2024 22:20:51 -0400
Received: from lists.gnu.org ([209.51.188.17]:43258)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <bryce.moore@HIDDEN>) id 1se0br-0004rS-0T
for submit <at> debbugs.gnu.org; Tue, 13 Aug 2024 19:07:24 -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 <bryce.moore@HIDDEN>)
id 1se0bI-00034T-Oh
for bug-guile@HIDDEN; Tue, 13 Aug 2024 19:06:48 -0400
Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <bryce.moore@HIDDEN>)
id 1se0bH-0003ZX-7h
for bug-guile@HIDDEN; Tue, 13 Aug 2024 19:06:48 -0400
Received: by mail-il1-x12e.google.com with SMTP id
e9e14a558f8ab-39b3e127748so26094655ab.0
for <bug-guile@HIDDEN>; Tue, 13 Aug 2024 16:06:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1723590405; x=1724195205; darn=gnu.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=265/V9btRQ7HSUqE9gSSzJBG7DftDbP4uYjD8FBEMmA=;
b=V2/v5twA7VzshlyOaGANTy+mF4/vIviSZ/mVRcoLEJQnracxBhzm1tyYR0zaMYB56L
WsLE1K3CLBMWzlXKTxbr3a7wCy5EjZJyyipaXPxvM6CJC45TzDTfvTTw81TYc9y9MYFy
rakkSKvS49e73MqjMzIigShyzZJxh/pZS2U7/phZg0BXjBDiVlzCIvthMQN5rDbcKJko
vdgSLSpW79tjsy+LphwdtazU49PrlaqGLwu/u7RwxK7TK+Kzzpx7dWwssxbR7ezTktuu
HN6/svRILN9mWojabvaKNW5yO3/NubAafgpmlUdwmZYE8VH5EijFK0BECuqlsG2+xznn
bT7w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1723590405; x=1724195205;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=265/V9btRQ7HSUqE9gSSzJBG7DftDbP4uYjD8FBEMmA=;
b=kT9Mf7WNTgD0ewMbcz2C3xScn4R5hvQrxkhjtQjsnZLuGfPhToZBaRdnYZNOxp5kkx
cAWfskMylrEVrLFUVqb01MNXFqvH9cE0dQfE+nONPNDdGVxSnOaIO489T3CED9fOAi37
wrn5KBHnb/7AXdkvuvgx72ie+yAtwJ2quHPYPraL7QDs94b6UVMEGCfAEDy18p3hBwuY
BGKF2h+gI5psAJb4dr6K/y57Q3VDADdjlIbDZkVFfWaAjwG6hZ5mjtIRGrHwMmojNpAV
UWi6lXl8FPE8kf5hZ2tN+mEkM6Pfyq84C4JEghVwwTXdV0nyLdRSYxTMk3dc0Y/hY4ZZ
7btA==
X-Gm-Message-State: AOJu0YwrecM5CiQ7zn1SIIP9J4ilu7B7pGHnQlOornXHfhtNDYaJEcG2
CSabKg5TZdFg2/hGa9D5AUT4tEEBN1Y0hQgarxHg10BSj6aqBMWx6f5feWPYQ+VWRcX46O9VNTc
iu/6Vp7hFiouCYmtDKzLcjYEdjLcmvZsh
X-Google-Smtp-Source: AGHT+IHWC7BQD7VmcRxcjjHYmO4HE6TgPQ7W/tbVm258kHg4yTCd2oAiveB+w1yH7eFcrIYyd7mLLCnD64U0iUypHCE=
X-Received: by 2002:a05:6e02:12e2:b0:375:c394:568b with SMTP id
e9e14a558f8ab-39d124f738fmr15091795ab.21.1723590405365; Tue, 13 Aug 2024
16:06:45 -0700 (PDT)
MIME-Version: 1.0
From: Bryce Moore <bryce.moore@HIDDEN>
Date: Tue, 13 Aug 2024 19:06:09 -0400
Message-ID: <CABP=77y4=o_x8-jyPjdTvMMXLJjVCyLjbfJFDBQ5thGk_vvdnw@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000d9aa4f061f98a946"
Received-SPF: pass client-ip=2607:f8b0:4864:20::12e;
envelope-from=bryce.moore@HIDDEN; helo=mail-il1-x12e.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001,
HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Mailman-Approved-At: Tue, 13 Aug 2024 22:20:47 -0400
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.3 (--)
--000000000000d9aa4f061f98a946
Content-Type: text/plain; charset="UTF-8"
I know it's nonsensical, but (set! display #f) in a fresh interpreter
causes an infinite loop.
Interrupting with Ctrl+C exits guile.
scheme@(guile-user)> (set! display #f)
While reading expression:
Wrong type to apply: Error while printing exception.
While reading expression:
Wrong type to apply: Error while printing exception.
While reading expression:
Wrong type to apply: Error while printing exception.
While reading expression:
Wrong type to apply: Error while printing exception.
[...]
--
bryce
--000000000000d9aa4f061f98a946
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>I know it's nonsensical, but (set! display #f) in=
a fresh interpreter causes an infinite loop.</div><div><br></div><div>Inte=
rrupting with Ctrl+C exits guile.</div><div><br></div><div>scheme@(guile-us=
er)> (set! display #f)</div><div>While reading expression:<br>Wrong type=
to apply: Error while printing exception.<br>While reading expression:<br>=
Wrong type to apply: Error while printing exception.<br>While reading expre=
ssion:<br>Wrong type to apply: Error while printing exception.<br>While rea=
ding expression:<br>Wrong type to apply: Error while printing exception.</d=
iv><div>[...]<br></div><div><br></div><div>-- <br></div><div>bryce<br></div=
></div>
--000000000000d9aa4f061f98a946--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Bryce Moore <bryce.moore@HIDDEN> Subject: bug#72612: Acknowledgement ((set! display #f) infinite loop) Message-ID: <handler.72612.B.172360205112973.ack <at> debbugs.gnu.org> References: <CABP=77y4=o_x8-jyPjdTvMMXLJjVCyLjbfJFDBQ5thGk_vvdnw@HIDDEN> X-Gnu-PR-Message: ack 72612 X-Gnu-PR-Package: guile Reply-To: 72612 <at> debbugs.gnu.org Date: Wed, 14 Aug 2024 02:21:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 72612 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 72612: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72612 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#72612: (set! display #f) infinite loop
Resent-From: <tomas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Wed, 14 Aug 2024 04:38:02 +0000
Resent-Message-ID: <handler.72612.B72612.172361024826551 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 72612
X-GNU-PR-Package: guile
X-GNU-PR-Keywords:
To: Bryce Moore <bryce.moore@HIDDEN>
Cc: 72612 <at> debbugs.gnu.org
Received: via spool by 72612-submit <at> debbugs.gnu.org id=B72612.172361024826551
(code B ref 72612); Wed, 14 Aug 2024 04:38:02 +0000
Received: (at 72612) by debbugs.gnu.org; 14 Aug 2024 04:37:28 +0000
Received: from localhost ([127.0.0.1]:45813 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1se5lH-0006uB-MT
for submit <at> debbugs.gnu.org; Wed, 14 Aug 2024 00:37:27 -0400
Received: from mail.tuxteam.de ([5.199.139.25]:48488)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <tomas@HIDDEN>) id 1se5lF-0006u2-OU
for 72612 <at> debbugs.gnu.org; Wed, 14 Aug 2024 00:37:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de;
s=mail;
h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:
Subject:Cc:To:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
List-Post:List-Owner:List-Archive;
bh=I8dKB2FeAZU/7zMU1wyzI7ed/Kfp7FfJOcWccKs+Eqc=; b=ZYmXeFv8+uz2lo9O5s03Xj53Je
cBfpritfQF//4WHjJAE1J8CbzpClH0VH86aNtlreOhc6B/8sOPOh++663eXNho9xI1vHQ+n+x+pXl
vbH/KUKyp9vi4gR3K1X4ABsxGaONc3NqZK/hT18Sq1h6UgnGnyAAoGpUZ6s8sjMqTmXxVQaKccl9V
XLcRIIDwpMCONnfQ02CgP2KHKhFLKVyDfL122WkeDSnLjH24ZWrz+JkqbVku4dmodFD0oWFG50nUJ
VDUStzNJAHz/xW7Mhct1A3ctxlejKNkvnnDvyZrxgWGmUJkI8GS6c9ksH5m7E3CQ/3P7R5DIRjoa8
b0g8EnDA==;
Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2)
(envelope-from <tomas@HIDDEN>)
id 1se5ke-0004p1-Rh; Wed, 14 Aug 2024 06:36:48 +0200
Date: Wed, 14 Aug 2024 06:36:48 +0200
Message-ID: <Zrw0YAc/dvb/J6NM@HIDDEN>
References: <CABP=77y4=o_x8-jyPjdTvMMXLJjVCyLjbfJFDBQ5thGk_vvdnw@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="sPTKocJ1zv4oQXw+"
Content-Disposition: inline
In-Reply-To: <CABP=77y4=o_x8-jyPjdTvMMXLJjVCyLjbfJFDBQ5thGk_vvdnw@HIDDEN>
From: <tomas@HIDDEN>
X-Spam-Score: 0.0 (/)
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 (-)
--sPTKocJ1zv4oQXw+
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Aug 13, 2024 at 07:06:09PM -0400, Bryce Moore wrote:
> I know it's nonsensical, but (set! display #f) in a fresh interpreter
> causes an infinite loop.
>=20
> Interrupting with Ctrl+C exits guile.
>=20
> scheme@(guile-user)> (set! display #f)
> While reading expression:
> Wrong type to apply: Error while printing exception.
> While reading expression:
> Wrong type to apply: Error while printing exception.
> While reading expression:
> Wrong type to apply: Error while printing exception.
> While reading expression:
> Wrong type to apply: Error while printing exception.
> [...]
I haven't currently a working Guile around to check (bad me, will
fix that!) but my guess is that Guile is trying to complain (via
an uncaught exception) that you're trying to mutate something you
should not and... is calling display for that. Which now is #f,
which is definitely a wrong type to apply.
Cheers
--=20
t
--sPTKocJ1zv4oQXw+
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZrw0WQAKCRAFyCz1etHa
Rm80AJ0bqJBalVwbwAYKp4CT+16Hqahi4ACeKLXQgBXtA02yEqesT4ipLx5PzW0=
=lcDW
-----END PGP SIGNATURE-----
--sPTKocJ1zv4oQXw+--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.