[Openmcl-devel] Problems with openMCL slime and Aquamacs (Mac OS X)

Philippe Sismondi psismondi at arqux.com
Fri Oct 23 08:12:35 PDT 2009


I am having problems with slime, running openMCL (clozure common lisp  
or "ccl") and Aquamacs. I am very new to lisp, having started with it  
in September 2009. I confess that analyzing this error is beyond my  
current ability with lisp.

I do not know whether this is the best place to ask for help or not;  
perhaps I should be on the slime or asdf mailing list. I have searched  
the archives for this mailing list, but saw only a few relevant posts,  
which did not help me. As I am new to this mailing list, kindly advise  
if I should be seeking help elsewhere.

I am getting (seemingly) random failures  when I load slime in  
Aquamacs. It works fine about half the time. The other half the time  
it reports various errors. As far as I can tell the problem always  
arises when ccl tries to load asdf.

The intermittent nature of the failure makes it difficult to  
understand (for me, anyway). Here are some examples. (Perhaps I should  
have captured the entire backtrace...if so I'll post more later):

========

Invalid type specifier: 0 .
    [Condition of type CCL::INVALID-TYPE-SPECIFIER]

Restarts:
  0: [CONTINUE] continue compilation ignoring this form
  1: [CONTINUE] continue compilation ignoring this form
  2: [RETRY-LOAD] Retry loading #P"/Users/ps/My_Applications/ccl/tools/ 
asdf.lisp"
  3: [SKIP-LOAD] Skip loading #P"/Users/ps/My_Applications/ccl/tools/ 
asdf.lisp"
  4: [LOAD-OTHER] Load other file instead of #P"/Users/ps/ 
My_Applications/ccl/tools/asdf.lisp"
  5: [RETRY-LOAD] Retry loading #P"/Library/Application Support/ 
Aquamacs Emacs/SLIME/contrib/swank-asdf.lisp"
  --more--

Backtrace:
   0: (CERROR "continue compilation ignoring this form" #<CCL::INVALID- 
TYPE-SPECIFIER #x8C8422E>)
   1: ((:INTERNAL CCL::NX1-COMPILE-LAMBDA) #<CCL::INVALID-TYPE- 
SPECIFIER #x8BFAD0E>)
   2: (SIGNAL #<CCL::INVALID-TYPE-SPECIFIER #x8BFAD0E>)
   3: (CCL::%ERROR #<CCL::INVALID-TYPE-SPECIFIER #x8BFAD0E> NIL 6998801)
   4: (CERROR "continue compilation ignoring this form" #<CCL::INVALID- 
TYPE-SPECIFIER #x8BFAD0E>)
   5: ((:INTERNAL CCL::NX1-COMPILE-LAMBDA) #<CCL::INVALID-TYPE- 
SPECIFIER #x8BFAD0E>)
   6: (SIGNAL #<CCL::INVALID-TYPE-SPECIFIER #x8BFAD0E>)
   7: (CCL::%ERROR #<CCL::INVALID-TYPE-SPECIFIER #x8BFAD0E> (:TYPESPEC  
0) 6998819)
   8: (CCL::VALUES-SPECIFIER-TYPE-INTERNAL 0 NIL)
   9: (CCL::VALUES-SPECIFIER-TYPE 0 NIL)
  10: (CCL::SPECIFIER-TYPE 0 NIL)
  11: (CCL::%TYPEP 1 0)
  12: (TYPEP 1 (INTEGER 1) #<CCL::LEXICAL-ENVIRONMENT #x8BFB20E>)
  13: (CCL::FORMAT-REQUIRE-TYPE 1 (INTEGER 1) "colinc (second  
parameter)")
  14: (CCL::FORMAT-SCAN-DIRECTIVE #\S NIL NIL NIL)
  15: (CCL::SUB-FORMAT-SCAN 0 49)
  16: (CCL::FORMAT-SCAN "component ~S does not match version ~A~@[ in  
~A~]" ((ASDF::MISSING-REQUIRES ASDF::C) (ASDF::MISSING-VERSION  
ASDF::C) ..))
  17: (CCL::FORMAT-LOGICAL-BLOCK-SCAN NIL T NIL)
  18: (CCL::SUB-FORMAT-SCAN 0 56)
  19: (CCL::FORMAT-SCAN "~@<component ~S does not match version ~A~@ 
[ in ~A~]~@:>" ((ASDF::MISSING-REQUIRES ASDF::C) (ASDF::MISSING- 
VERSION ASDF::C) ..))
  --more--

========


Here is a second example:

========

Fault during read of memory address #x2
    [Condition of type CCL::INVALID-MEMORY-ACCESS]

Restarts:
  0: [RETRY-LOAD] Retry loading #P"/Users/ps/My_Applications/ccl/tools/ 
asdf.lisp"
  1: [SKIP-LOAD] Skip loading #P"/Users/ps/My_Applications/ccl/tools/ 
asdf.lisp"
  2: [LOAD-OTHER] Load other file instead of #P"/Users/ 
psMy_Applications/ccl/tools/asdf.lisp"
  3: [RETRY-LOAD] Retry loading #P"/Library/Application Support/ 
Aquamacs Emacs/SLIME/contrib/swank-asdf.lisp"
  4: [SKIP-LOAD] Skip loading #P"/Library/Application Support/Aquamacs  
Emacs/SLIME/contrib/swank-asdf.lisp"
  5: [LOAD-OTHER] Load other file instead of #P"/Library/Application  
Support/Aquamacs Emacs/SLIME/contrib/swank-asdf.lisp"
  --more--

Backtrace:
   0: (CCL::TYPE= #<INTERSECTION-CTYPE (AND (NOT NUMBER) (NOT MACPTR)) 
 > 0)
   1: ((CCL::NAMED :COMPLEX-=) #<INTERSECTION-CTYPE (AND (NOT NUMBER)  
(NOT MACPTR))> #<NAMED-CTYPE NIL>)
   2: (CCL::TYPE-UNION2 #<NUMERIC-CTYPE FIXNUM> #<INTERSECTION-CTYPE  
(AND (NOT NUMBER) (NOT MACPTR))>)
   3: (CCL::SIMPLIFY-UNIONS (#<NUMERIC-CTYPE FIXNUM> #<INTERSECTION- 
CTYPE (AND (NOT NUMBER) (NOT MACPTR))>))
   4: (CCL::%TYPE-UNION (#<NUMERIC-CTYPE FIXNUM> #<INTERSECTION-CTYPE  
(AND (NOT NUMBER) (NOT MACPTR))>))
   5: (CCL::UNION-COMPLEX-SUBTYPEP-ARG2 #<NAMED-CTYPE T> #<UNION-CTYPE  
(OR FIXNUM (AND (NOT NUMBER) (NOT MACPTR)))>)
   6: ((COMPILER-MACRO-FUNCTION EQL) (EQL ASDF::C ASDF::DEP-C)  
#<CCL::LEXICAL-ENVIRONMENT #x8CD6BF6>)
   7: (FUNCALL #<Compiled-function (COMPILER-MACRO-FUNCTION EQL) (Non- 
Global)  #x871E476> (EQL ASDF::C ASDF::DEP-C) #<CCL::LEXICAL- 
ENVIRONMENT #x8CD6BF6>)
   8: (COMPILER-MACROEXPAND-1 (EQL ASDF::C ASDF::DEP-C) #<CCL::LEXICAL- 
ENVIRONMENT #x8CD6BF6>)
   9: (CCL::NX-TRANSFORM (EQL ASDF::C ASDF::DEP-C) #<CCL::LEXICAL- 
ENVIRONMENT #x8CD6BF6> #<HASH-TABLE :TEST EQ size 1473/1549 #x8B8CBCE>)
  10: (CCL::NX-TRANSFORM-ARGLIST (NOT (EQL ASDF::C ASDF::DEP-C))  
#<CCL::LEXICAL-ENVIRONMENT #x8CD6BF6> #<HASH-TABLE :TEST EQ size  
1473/1549 #x8B8CBCE>)
  11: (CCL::NX-TRANSFORM (NOT (EQL ASDF::C ASDF::DEP-C))  
#<CCL::LEXICAL-ENVIRONMENT #x8CD6BF6> #<HASH-TABLE :TEST EQ size  
1473/1549 #x8B8CBCE>)
  12: ((COMPILER-MACRO-FUNCTION IF) (IF (NOT (ASDF:COMPONENT-PARENT  
ASDF::DEP-C)) (NOT (EQL ASDF::C ASDF::DEP-C)) NIL) #<CCL::LEXICAL- 
ENVIRONMENT #x8CD6BF6>)
  13: (FUNCALL #<Compiled-function (COMPILER-MACRO-FUNCTION ..)
  14: (COMPILER-MACROEXPAND-1 (IF (NOT (ASDF:COMPONENT-PARENT  
ASDF::DEP-C)) (NOT (EQL ASDF::C ASDF::DEP-C)) NIL) #<CCL::LEXICAL- 
ENVIRONMENT #x8CD6BF6>)
  15: (CCL::NX-TRANSFORM (IF (NOT (ASDF:COMPONENT-PARENT ASDF::DEP-C))  
(NOT (EQL ASDF::C ASDF::DEP-C)) NIL) #<CCL::LEXICAL-ENVIRONMENT  
#x8CD6BF6> #<HASH-TABLE :TEST EQ size 1473/1549 #x8B8CBCE>)
  16: ((COMPILER-MACRO-FUNCTION IF) (IF (NOT (ASDF:COMPONENT-PARENT  
ASDF::C)) (IF (NOT (ASDF:COMPONENT-PARENT ASDF::DEP-C)) (NOT (EQL  
ASDF::C ASDF::DEP-C)) NIL) NIL) #<CCL::LEXICAL-ENVIRONMENT #x8CD6BF6>)
  17: (FUNCALL #<Compiled-function (COMPILER-MACRO-FUNCTION IF) (Non- 
Global)  #x871DC8E> (IF (NOT (ASDF:COMPONENT-PARENT ASDF::C)) (IF (NOT  
#) (NOT #) NIL) NIL) #<CCL::LEXICAL-ENVIRONMENT #x8CD6BF6>)
  18: (COMPILER-MACROEXPAND-1 (IF (NOT (ASDF:COMPONENT-PARENT  
ASDF::C)) (IF (NOT (ASDF:COMPONENT-PARENT ASDF::DEP-C)) (NOT (EQL  
ASDF::C ASDF::DEP-C)) NIL) NIL) #<CCL::LEXICAL-ENVIRONMENT #x8CD6BF6>)
  19: (CCL::NX-TRANSFORM (IF (NOT (ASDF:COMPONENT-PARENT ASDF::C)) ..)
  --more--


========

I get these errors whether I use the latest asdf.lisp (from the asdf  
site) or the one that comes with ccl.

I am running OS X 10.6 Snow Leopard. I re-installed all relevant  
pieces (Aquamacs, slime, and openMCL/ccl today to make sure I am up to  
date. This did not help. I get the same problems whether I use 32- or  
64-bit versions of ccl.


I have this version of ccl/openmcl:

	ccl: Version 1.3-r11936

I have the Oct. 22 build of slime, downloaded from the Aquamacs site.  
When slime loads correctly it shows this in the slime-repl buffer:

	; SLIME 2009-10-21

I have Aquamacs distribution 1.9.

Is there a known problem with this? I see that there have been some  
issues from time to time in the past that may be related, but my  
googling attempts to sort it out did not reveal anything informative.

- P. Sismondi  -




More information about the Openmcl-devel mailing list