GNU bug report logs -
#72612
(set! display #f) infinite loop
Previous Next
To reply to this bug, email your comments to 72612 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#72612
; Package
guile
.
(Wed, 14 Aug 2024 02:21:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Bryce Moore <bryce.moore <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Wed, 14 Aug 2024 02:21:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guile <at> gnu.org
:
bug#72612
; Package
guile
.
(Wed, 14 Aug 2024 04:38:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 72612 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
>
> 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.
> [...]
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
--
t
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 305 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.