From: Maxime Devos <maximedevos@telenet.be>
To: 58154@debbugs.gnu.org
Subject: bug#58154: fluid-ref* with negative index segfaults
Date: Thu, 29 Sep 2022 00:33:24 +0200 [thread overview]
Message-ID: <5e24239c-9e60-cdd4-f855-c3f8fd5d5bb1@telenet.be> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 865 bytes --]
antipode@antipode ~$ guile -c '(fluid-ref* (make-fluid) -1)'
Backtrace:
In ice-9/boot-9.scm:
1752:10 6 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
5 (apply-smob/0 #<thunk 7fdfaaa642e0>)
In ice-9/boot-9.scm:
724:2 4 (call-with-prompt ("prompt") #<procedure 7fdfaaa76cc0 …> …)
In ice-9/eval.scm:
619:8 3 (_ #(#(#<directory (guile-user) 7fdfaaa69c80>)))
In ice-9/command-line.scm:
185:19 2 (_ #<input: string 7fdfaaa63850>)
In unknown file:
1 (eval (fluid-ref* (make-fluid) -1) #<directory (guile-u…>)
0 (fluid-ref* #<fluid 7fdfaaa77e20> -1)
ERROR: In procedure fluid-ref*:
Value out of range Segmentatiefout
While the negative index was bogus, I don't think segfaulting is the
answer, a 'Value out of range' exceptio nwould have sufficed.
Greetings,
Maxime.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
next reply other threads:[~2022-09-28 22:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 22:33 Maxime Devos [this message]
2022-09-30 14:39 ` bug#58154: fluid-ref* with negative index segfaults lloda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5e24239c-9e60-cdd4-f855-c3f8fd5d5bb1@telenet.be \
--to=maximedevos@telenet.be \
--cc=58154@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).