[cl-debian] Bug#433596: clisp: Stack overflow taking rational values of extreme long-floats

J.P. Larocque piranha at thoughtcrime.us
Wed Jul 18 06:04:29 UTC 2007


Package: clisp
Version: 1:2.41-1
Severity: normal

Hi,

I can't take the rational value of any of the six extreme long-float
constants listed below:

for var in least-positive-long-float \
           least-negative-long-float \
           least-positive-normalized-long-float \
           least-negative-normalized-long-float \
           most-positive-long-float \
           most-negative-long-float; do
	clisp -ansi -q -x '(let ((var '"'$var"'))
	                     (format t "~&~S => " var)
	                     (write (rational (symbol-value var))))'
done
LEAST-POSITIVE-LONG-FLOAT => 
*** - Program stack overflow. RESET

LEAST-NEGATIVE-LONG-FLOAT => 
*** - Program stack overflow. RESET

LEAST-POSITIVE-NORMALIZED-LONG-FLOAT => 
*** - Program stack overflow. RESET

LEAST-NEGATIVE-NORMALIZED-LONG-FLOAT => 
*** - Program stack overflow. RESET

MOST-POSITIVE-LONG-FLOAT => 
*** - Program stack overflow. RESET

MOST-NEGATIVE-LONG-FLOAT => 
*** - Program stack overflow. RESET

Similarly when invoked with "-m 32M" or "-m 128M".

I'm pretty sure this shouldn't happen.

Thanks,

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-12-custom-xen-ws-1
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages clisp depends on:
ii  common-lisp-controller      6.9          This is a Common Lisp source and c
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libice6                     1:1.0.1-2    X11 Inter-Client Exchange library
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  libreadline5                5.2-2        GNU readline and history libraries
ii  libsm6                      1:1.0.1-3    X11 Session Management library
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxext6                    1:1.0.1-2    X11 miscellaneous extension librar
ii  libxpm4                     1:3.5.5-2    X11 pixmap library

clisp recommends no packages.

-- no debconf information

-- 
J.P. Larocque: <piranha at thoughtcrime.us>, <piranha at ely.ath.cx>





More information about the Cl-debian mailing list