Subject: Re: cmucl problem: Condition slot is not bound: CONDITIONS::FORMAT-CONTROL
From: rpw3@rpw3.org (Rob Warnock)
Date: Sun, 10 Apr 2005 19:59:57 -0500
Newsgroups: comp.lang.lisp
Message-ID: <N_ydncD0btGQUcTfRVn-tg@speakeasy.net>
Frank Buss  <fb@frank-buss.de> wrote:
+---------------
| I've installed CMUCL on a Linux system ...
| CMU Common Lisp 19a, running on it4systems
...
| But when I test array bounds, there is no nice error message:
| * (aref (make-array 5) 7)
| Unable to display error condition:
| Error in function CONDITIONS::FIND-SLOT-DEFAULT:
|    Condition slot is not bound: CONDITIONS::FORMAT-CONTROL
|    [Condition of type SIMPLE-TYPE-ERROR]
+---------------

The problem appears to have been introduced in CMUCL-19a, or rather,
*after* -18e, and is not Linux-Specific -- I see the same things on
FreeBSD:

    > (list (software-type) (software-version))

    ("FreeBSD" "4.10-RELEASE")
    > (list (lisp-implementation-type) (lisp-implementation-version))

    ("CMU Common Lisp" "19a-pre3 02-Jul-2004")
    > (aref (make-array 5) 7)

    Unable to display error condition: 
    Error in function CONDITIONS::FIND-SLOT-DEFAULT:
       Condition slot is not bound: CONDITIONS::FORMAT-CONTROL
       [Condition of type SIMPLE-TYPE-ERROR]
    ...

Whereas on CMUCL-18e:

    > (list (software-type) (software-version))

    ("FreeBSD" "4.6-RELEASE")
    cmu> (list (lisp-implementation-type) (lisp-implementation-version))

    ("CMU Common Lisp" "18e")
    cmu> (aref (make-array 5) 7)

    Invalid index 7 in #(0 0 0 0 0)

    Restarts:
      0: [ABORT] Return to Top-Level.

I get the same results under Red Hat Linux 3.2.3-39 (kernel 2.4.21-15.0.4.EL)
as shown above for both -18e & -19a, so it's not Linux per se.


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607