GNU bug report logs - #58154
fluid-ref* with negative index segfaults

Previous Next

Package: guile;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Wed, 28 Sep 2022 22:34:01 UTC

Severity: normal

Done: lloda <lloda <at> sarc.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58154 in the body.
You can then email your comments to 58154 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#58154; Package guile. (Wed, 28 Sep 2022 22:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Wed, 28 Sep 2022 22:34:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guile <at> gnu.org
Subject: fluid-ref* with negative index segfaults
Date: Thu, 29 Sep 2022 00:33:24 +0200
[Message part 1 (text/plain, inline)]
antipode <at> 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.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Reply sent to lloda <lloda <at> sarc.name>:
You have taken responsibility. (Fri, 30 Sep 2022 14:41:02 GMT) Full text and rfc822 format available.

Notification sent to Maxime Devos <maximedevos <at> telenet.be>:
bug acknowledged by developer. (Fri, 30 Sep 2022 14:41:02 GMT) Full text and rfc822 format available.

Message #10 received at 58154-done <at> debbugs.gnu.org (full text, mbox):

From: lloda <lloda <at> sarc.name>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 58154-done <at> debbugs.gnu.org
Subject: Re: bug#58154: fluid-ref* with negative index segfaults
Date: Fri, 30 Sep 2022 16:39:53 +0200
Fixed in c0004442b7691f59a0e37869ef288eb26382ad9e. Thank you!





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Oct 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 179 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.