#187 Miscompilation of UNWIND-PROTECT

segfault
closed-fixed
Sam Steingold
clisp (525)
5
2003-12-12
2003-12-12
Paul F. Dietz
No

[30]> (funcall (compile nil '(lambda (a)
(unwind-protect (floor a)))) 1)

*** - FLOOR: #<ADDRESS #x8400000C> is not a REAL
The following restarts are available:
USE-VALUE :R1 You may input a value to be
used instead.

1. Break [31]>

This is from clisp on x86 (linux, RedHat 9) built from
anoncvs head at around 6:30 PM CST, 11 Dec 2003.

This bug sometimes manifests itself as a segmentation
violation that terminates clisp. In the gcl random
tester, this happens after fewer than 100 trials
(typically).

Discussion

  • Sam Steingold
    Sam Steingold
    2003-12-12

    • status: open --> closed-fixed
     
  • Sam Steingold
    Sam Steingold
    2003-12-12

    Logged In: YES
    user_id=5735

    thank you for your bug report.
    the bug has been fixed in the CVS tree.
    you can either wait for the next release (recommended)
    or check out the current CVS tree (see http://clisp.cons.org\)
    and build CLISP from the sources (be advised that between
    releases the CVS tree is very unstable and may not even build
    on your platform).