Can you show us more of the backtrace and your config (both the elisp side and .swank.lisp)? I suspect you may have selected a non-supported communication style. (Granted, if that's the case, SLIME should have failed more gracefully.)

Luís

On Tue, Jan 23, 2018 at 2:21 PM Didier Verna <didier@lrde.epita.fr> wrote:

  Hello,

while trying to inspect values from Slime in a session with CMUCL 21c, I
get the following error. I'm on OSX with CMUCL 21.c from the binary
darwin-x86 tarballs.

Thanks!


Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:Error (TYPE-ERROR) during printing: #<TYPE-ERROR {49F0548D}>
   [Condition of type TYPE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME inspection request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] Return to Top-Level.

Backtrace:
  0: (SWANK/CMUCL::MAILBOX NIL)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
  1: ((FLET SWANK/BACKEND:SEND) NIL T)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
  2: ("DEFMETHOD STREAM-WRITE-STRING (SLIME-OUTPUT-STREAM T)")Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
  3: ((METHOD STREAM-WRITE-STRING NIL (SWANK/GRAY::SLIME-OUTPUT-STREAM T)) (#(2 1 3 4 0) . #(#)) #<unused-arg> #<SWANK/GRAY::SLIME-OUTPUT-STREAM {49EFAD3D}> "#<" ...)Type-error in KERNEL::OBJECT-NOT-TYPE-E..
  4: (LISP::WRITE-STRING* "#<" #<SWANK/GRAY::SLIME-OUTPUT-STREAM {49EFAD3D}> 0 2)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
  5: (LISP::%PRINT-UNREADABLE-OBJECT #<Method-Combination OR (:MOST-SPECIFIC-FIRST) {49ED7BB5}> #<SWANK/GRAY::SLIME-OUTPUT-STREAM {49EFAD3D}> T T ...)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  N..
  6: (SWANK::CALL/TRUNCATED-OUTPUT-TO-STRING 200 #<Closure Over Function "DEFUN PREPARE-TITLE" {49EFAB59}> "..")Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PRO..
  7: (SWANK::CALL-WITH-BINDINGS ((*PRINT-LINES* . 1) (*PRINT-RIGHT-MARGIN* . 75) (*PRINT-PRETTY* . T) (*PRINT-READABLY*)) #<Closure Over Function "DEFUN PREPARE-TITLE" {49EFAAD9}>)Type-error in KERNEL::OBJ..
  8: (SWANK::ISTATE>ELISP #S(SWANK::ISTATE :OBJECT #<Method-Combination OR # {49ED7BB5}> :VERBOSE NIL :PARTS #() :ACTIONS #() :METADATA-PLIST (:SORT-ORDER # :GROUPING-KIND # :CHECKLIST ...) ...))Type-error..
  9: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME inspection request." #<Closure Over Function "DEFSLIMEFUN INIT-INSPECTOR" {49EEAFA9}>)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of t..
 10: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<Closure Over Function "DEFSLIMEFUN INIT-INSPECTOR" {49EEAF99}>)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
 11: (SWANK:EVAL-FOR-EMACS (SWANK:INIT-INSPECTOR "*") "COMMON-LISP-USER" 50)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
 12: (SWANK::PROCESS-REQUESTS T)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
 13: ("DEFUN HANDLE-REQUESTS")Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
 14: ("DEFUN HANDLE-REQUESTS")Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
 15: ("DEFINTERFACE CALL-WITH-DEBUGGER-HOOK" #<Function SWANK:SWANK-DEBUGGER-HOOK {48107A89}> #<Closure Over Function "DEFUN HANDLE-REQUESTS" {49EE99E1}>)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER..
 16: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-INPUT* . #) (*STANDARD-OUTPUT* . #) (*TRACE-OUTPUT* . #) (*ERROR-OUTPUT* . #) (*DEBUG-IO* . #<Two-Way Stream, Input = #, Output = #>) ...)Type-error in KERNEL::O..
 17: (SWANK::HANDLE-REQUESTS #<SWANK::SINGLETHREADED-CONNECTION {49D65FFD}> T)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
 18: (SWANK::INVOKE-OR-QUEUE-INTERRUPT #<Closure Over Function "DEFUN PROCESS-IO-INTERRUPT" {49EE93B1}>)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS
 19: (SWANK::PROCESS-IO-INTERRUPT #<SWANK::SINGLETHREADED-CONNECTION {49D65FFD}>)Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:  NIL is not of type MULTIPROCESSING::PROCESS


--
Resistance is futile. You will be jazzimilated.

Lisp, Jazz, Aïkido: http://www.didierverna.info