[slime-devel] slime cvs+openmcl 1.3-RC1-r11873M (WindowsX8632) - error #22 during write

John Miller millejoh at mac.com
Tue Apr 7 13:13:15 UTC 2009


Slime developers,

This is driving me nuts.  I get this error trying to start slime+openmcl (suppose I should say ccl, but it seems Corman Lisp already claimed ccl on Windows...) on my Windows XP 32-bit system.  The crazy thing is that I have another Windows XP 32-bit system that is very similar and slime+openmcl works just fine.  Below is a dump from my *inferior-lisp* buffer.  The error happens just after slime sends a :swank-connection message to the swank server, I think.

I'm not knowledgeable enough in either system to know if this is an issue with openmcl or slime.  Since I can get slime+openmcl to work on another windows system, I think it must be something that I've done (i.e. something in the configuration of the machine that is bonking socket communication).  Unfortunately the error #22 during write doesn't mean to much to me so I am unsure where to begin to debug.  Any suggestions greatly appreaciated.

Regards,
John Miller

;;;;;;;;;;;;;;;;;

(progn (load "c:/emacs-22.3/site-lisp/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "c:/temp/slime.4604" :coding-system "iso-latin-1-unix"))

Welcome to Clozure Common Lisp Version 1.3-RC1-r11873M  (WindowsX8632)!
? ;Loading #P"c:/emacs-22.3/site-lisp/slime/swank-loader.lisp"...
;Compiling "c:/emacs-22.3/site-lisp/slime/swank-backend.lisp"...
;Loading #P"C:/Documents and Settings/e341194/.slime/fasl/2009-04-03/openmcl-version_1.3-rc1-r11873m__(windowsx8632)-windows-x86/swank-backend.wx32fsl"...
;Compiling "c:/emacs-22.3/site-lisp/slime/metering.lisp"...
;Loading #P"C:/Documents and Settings/e341194/.slime/fasl/2009-04-03/openmcl-version_1.3-rc1-r11873m__(windowsx8632)-windows-x86/metering.wx32fsl"...
;Compiling "c:/emacs-22.3/site-lisp/slime/swank-openmcl.lisp"...
;Loading #P"C:/Documents and Settings/e341194/.slime/fasl/2009-04-03/openmcl-version_1.3-rc1-r11873m__(windowsx8632)-windows-x86/swank-openmcl.wx32fsl"...
;Compiling "c:/emacs-22.3/site-lisp/slime/swank-gray.lisp"...
;Loading #P"C:/Documents and Settings/e341194/.slime/fasl/2009-04-03/openmcl-version_1.3-rc1-r11873m__(windowsx8632)-windows-x86/swank-gray.wx32fsl"...
;Compiling "c:/emacs-22.3/site-lisp/slime/swank.lisp"...
;Loading #P"C:/Documents and Settings/e341194/.slime/fasl/2009-04-03/openmcl-version_1.3-rc1-r11873m__(windowsx8632)-windows-x86/swank.wx32fsl"...
; Warning: These Swank interfaces are unimplemented:
;           (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER CALLS-WHO
;            FIND-SOURCE-LOCATION REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS RESTART-FRAME
;            RETURN-FROM-FRAME SAVE-IMAGE SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN
;            SLDB-STEP-INTO SLDB-STEP-NEXT SLDB-STEP-OUT)
; While executing: SWANK-BACKEND::WARN-UNIMPLEMENTED-INTERFACES, in process listener(1).
;Compiling "c:/emacs-22.3/site-lisp/slime/contrib/swank-c-p-c.lisp"...
;Compiling "c:/emacs-22.3/site-lisp/slime/contrib/swank-arglists.lisp"...
;Compiling "c:/emacs-22.3/site-lisp/slime/contrib/swank-fuzzy.lisp"...
;Compiling "c:/emacs-22.3/site-lisp/slime/contrib/swank-fancy-inspector.lisp"...
;Compiling "c:/emacs-22.3/site-lisp/slime/contrib/swank-presentations.lisp"...
;Compiling "c:/emacs-22.3/site-lisp/slime/contrib/swank-presentation-streams.lisp"...
;Compiler warnings for "c:/emacs-22.3/site-lisp/slime/contrib/swank-presentation-streams.lisp" :
;   In CCL::CLEAR-PRESENTATIONS inside an anonymous lambda form: Undefined function SWANK::CLEAR-PRESENTATION-TABLES
;   In SWANK::PRESENTING-OBJECT-1: Undefined function SWANK::SAVE-PRESENTED-OBJECT
;Compiling "c:/emacs-22.3/site-lisp/slime/contrib/swank-package-fu.lisp"...
;Compiling "c:/emacs-22.3/site-lisp/slime/contrib/swank-sbcl-exts.lisp"...
;; Swank started at port: 1434.
1434
? 
;; swank:close-connection: on #<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/784) #x8E3FA0E> : 
The device does not recognize the command.  (error #22) during write
;; Event history start:
READ: "(:emacs-rex (swank:connection-info) nil t 1)
"
dispatch-event: (:EMACS-REX (SWANK:CONNECTION-INFO) NIL T 1)
send-event: #<PROCESS worker(5) #x8E4EE66> (:EMACS-REX (SWANK:CONNECTION-INFO) NIL 1)
wait-for-event: (:EMACS-REX . SWANK::_) NIL
dispatch-event: (:RETURN #<PROCESS worker(5) #x8E4EE66> (:OK (:PID 3296 :STYLE :SPAWN :LISP-IMPLEMENTATION (:TYPE "Clozure Common Lisp" :NAME "ccl" :VERSION "Version 1.3-RC1-r11873M  (WindowsX8632)") :MACHINE (:INSTANCE "jmiller1.global.ds.honeywell.com" :TYPE "x86" :VERSION "x86 Family 6 Model 15 Stepping 13, GenuineIntel") :FEATURES (:PRIMARY-CLASSES :COMMON-LISP :OPENMCL :CCL :CCL-1.2 :CCL-1.3 :CLOZURE :CLOZURE-COMMON-LISP :ANSI-CL :OPENMCL-UNICODE-STRINGS :OPENMCL-NATIVE-THREADS :OPENMCL-PARTIAL-MOP :MCL-COMMON-MOP-SUBSET :OPENMCL-MOP-2 :OPENMCL-PRIVATE-HASH-TABLES :X8632-TARGET :X8632-HOST :X86 :X86-TARGET :X86-HOST :WINDOWS-HOST :WINDOWS-TARGET :WIN32-TARGET :WIN32-HOST :32-BIT-TARGET :32-BIT-HOST :LITTLE-ENDIAN-TARGET :LITTLE-ENDIAN-HOST :WINDOWS) :MODULES ("SWANK-C-P-C" "XREF" "PREPARE-MCL-ENVIRONMENT" "LISPEQU" "VERSION" "CCL-EXPORT-SYMS" "LOOP" "MCL-COMPAT" "LEAKS" "DESCRIBE" "EDIT-CALLERS" "ARGLIST" "COMPILE-CCL" "SYSTEMS" "TIME" "PATHNAMES" "DUMPLISP" "PPRINT" "MISC" "METHOD-COMBINATION" "ENCAPSULATE" "CASE-ERROR" "DB-IO" "FFI-WIN32" "FOREIGN-TYPES" "X86-LAPMACROS" "X86-DISASSEMBLE" "NXENV" "X8632ENV" "SOURCE-FILES" "APROPOS" "ARRAYS-FRY" "READ" "BACKTRACE" "X86-BACKTRACE" "BACKTRACE-LDS" "BACKQUOTE" "NFCOMP" "DEFSTRUCT-LDS" "DEFSTRUCT-MACROS" "OPTIMIZERS" "STREAMS" "FORMAT" "SETF-RUNTIME" "SETF" "MACROS" "LEVEL-2" "X86-BACKEND" "X8632-BACKEND" "X8632-VINSNS" "NX" "HASH" "X862" "NX2" "REG" "VINSN" "BACKEND" "VREG" "X8664-ARCH" "X8632-ARCH" "X86-LAP" "X86-ASM" "X86-ARCH" "ARCH" "SUBPRIMS" "NUMBERS" "SORT" "SEQUENCES" "CHARS" "DLL-NODE" "DEFSTRUCT" "LISTS") :PACKAGE (:NAME "COMMON-LISP-USER" :PROMPT "CL-USER") :VERSION "2009-04-03")) 1)
WRITE: (:return (:ok (:pid 3296 :style :spawn :lisp-implementation (:type "Clozure Common Lisp" :name "ccl" :version "Version 1.3-RC1-r11873M  (WindowsX8632)") :machine (:instance "jmiller1.global.ds.honeywell.com" :type "x86" :version "x86 Family 6 Model 15 Stepping 13, GenuineIntel") :features (:primary-classes :common-lisp :openmcl :ccl :ccl-1.2 :ccl-1.3 :clozure :clozure-common-lisp :ansi-cl :openmcl-unicode-strings :openmcl-native-threads :openmcl-partial-mop :mcl-common-mop-subset :openmcl-mop-2 :openmcl-private-hash-tables :x8632-target :x8632-host :x86 :x86-target :x86-host :windows-host :windows-target :win32-target :win32-host :32-bit-target :32-bit-host :little-endian-target :little-endian-host :windows) :modules ("SWANK-C-P-C" "XREF" "PREPARE-MCL-ENVIRONMENT" "LISPEQU" "VERSION" "CCL-EXPORT-SYMS" "LOOP" "MCL-COMPAT" "LEAKS" "DESCRIBE" "EDIT-CALLERS" "ARGLIST" "COMPILE-CCL" "SYSTEMS" "TIME" "PATHNAMES" "DUMPLISP" "PPRINT" "MISC" "METHOD-COMBINATION" "ENCAPSULATE" "CASE-ERROR" "DB-IO" "FFI-WIN32" "FOREIGN-TYPES" "X86-LAPMACROS" "X86-DISASSEMBLE" "NXENV" "X8632ENV" "SOURCE-FILES" "APROPOS" "ARRAYS-FRY" "READ" "BACKTRACE" "X86-BACKTRACE" "BACKTRACE-LDS" "BACKQUOTE" "NFCOMP" "DEFSTRUCT-LDS" "DEFSTRUCT-MACROS" "OPTIMIZERS" "STREAMS" "FORMAT" "SETF-RUNTIME" "SETF" "MACROS" "LEVEL-2" "X86-BACKEND" "X8632-BACKEND" "X8632-VINSNS" "NX" "HASH" "X862" "NX2" "REG" "VINSN" "BACKEND" "VREG" "X8664-ARCH" "X8632-ARCH" "X86-LAP" "X86-ASM" "X86-ARCH" "ARCH" "SUBPRIMS" "NUMBERS" "SORT" "SEQUENCES" "CHARS" "DLL-NODE" "DEFSTRUCT" "LISTS") :package (:name "COMMON-LISP-USER" :prompt "CL-USER") :version "2009-04-03")) 1)
;; swank:close-connection: on #<BASIC-TCP-STREAM :CLOSED #x8E3FA0E> : 
The device does not recognize the command.  (error #22) during read
;; Event history start:
READ: "(:emacs-rex (swank:connection-info) nil t 1)
"
dispatch-event: (:EMACS-REX (SWANK:CONNECTION-INFO) NIL T 1)
send-event: #<PROCESS worker(5) #x8E4EE66> (:EMACS-REX (SWANK:CONNECTION-INFO) NIL 1)
wait-for-event: (:EMACS-REX . SWANK::_) NIL
dispatch-event: (:RETURN #<PROCESS worker(5) #x8E4EE66> (:OK (:PID 3296 :STYLE :SPAWN :LISP-IMPLEMENTATION (:TYPE "Clozure Common Lisp" :NAME "ccl" :VERSION "Version 1.3-RC1-r11873M  (WindowsX8632)") :MACHINE (:INSTANCE "jmiller1.global.ds.honeywell.com" :TYPE "x86" :VERSION "x86 Family 6 Model 15 Stepping 13, GenuineIntel") :FEATURES (:PRIMARY-CLASSES :COMMON-LISP :OPENMCL :CCL :CCL-1.2 :CCL-1.3 :CLOZURE :CLOZURE-COMMON-LISP :ANSI-CL :OPENMCL-UNICODE-STRINGS :OPENMCL-NATIVE-THREADS :OPENMCL-PARTIAL-MOP :MCL-COMMON-MOP-SUBSET :OPENMCL-MOP-2 :OPENMCL-PRIVATE-HASH-TABLES :X8632-TARGET :X8632-HOST :X86 :X86-TARGET :X86-HOST :WINDOWS-HOST :WINDOWS-TARGET :WIN32-TARGET :WIN32-HOST :32-BIT-TARGET :32-BIT-HOST :LITTLE-ENDIAN-TARGET :LITTLE-ENDIAN-HOST :WINDOWS) :MODULES ("SWANK-C-P-C" "XREF" "PREPARE-MCL-ENVIRONMENT" "LISPEQU" "VERSION" "CCL-EXPORT-SYMS" "LOOP" "MCL-COMPAT" "LEAKS" "DESCRIBE" "EDIT-CALLERS" "ARGLIST" "COMPILE-CCL" "SYSTEMS" "TIME" "PATHNAMES" "DUMPLISP" "PPRINT" "MISC" "METHOD-COMBINATION" "ENCAPSULATE" "CASE-ERROR" "DB-IO" "FFI-WIN32" "FOREIGN-TYPES" "X86-LAPMACROS" "X86-DISASSEMBLE" "NXENV" "X8632ENV" "SOURCE-FILES" "APROPOS" "ARRAYS-FRY" "READ" "BACKTRACE" "X86-BACKTRACE" "BACKTRACE-LDS" "BACKQUOTE" "NFCOMP" "DEFSTRUCT-LDS" "DEFSTRUCT-MACROS" "OPTIMIZERS" "STREAMS" "FORMAT" "SETF-RUNTIME" "SETF" "MACROS" "LEVEL-2" "X86-BACKEND" "X8632-BACKEND" "X8632-VINSNS" "NX" "HASH" "X862" "NX2" "REG" "VINSN" "BACKEND" "VREG" "X8664-ARCH" "X8632-ARCH" "X86-LAP" "X86-ASM" "X86-ARCH" "ARCH" "SUBPRIMS" "NUMBERS" "SORT" "SEQUENCES" "CHARS" "DLL-NODE" "DEFSTRUCT" "LISTS") :PACKAGE (:NAME "COMMON-LISP-USER" :PROMPT "CL-USER") :VERSION "2009-04-03")) 1)
WRITE: (:return (:ok (:pid 3296 :style :spawn :lisp-implementation (:type "Clozure Common Lisp" :name "ccl" :version "Version 1.3-RC1-r11873M  (WindowsX8632)") :machine (:instance "jmiller1.global.ds.honeywell.com" :type "x86" :version "x86 Family 6 Model 15 Stepping 13, GenuineIntel") :features (:primary-classes :common-lisp :openmcl :ccl :ccl-1.2 :ccl-1.3 :clozure :clozure-common-lisp :ansi-cl :openmcl-unicode-strings :openmcl-native-threads :openmcl-partial-mop :mcl-common-mop-subset :openmcl-mop-2 :openmcl-private-hash-tables :x8632-target :x8632-host :x86 :x86-target :x86-host :windows-host :windows-target :win32-target :win32-host :32-bit-target :32-bit-host :little-endian-target :little-endian-host :windows) :modules ("SWANK-C-P-C" "XREF" "PREPARE-MCL-ENVIRONMENT" "LISPEQU" "VERSION" "CCL-EXPORT-SYMS" "LOOP" "MCL-COMPAT" "LEAKS" "DESCRIBE" "EDIT-CALLERS" "ARGLIST" "COMPILE-CCL" "SYSTEMS" "TIME" "PATHNAMES" "DUMPLISP" "PPRINT" "MISC" "METHOD-COMBINATION" "ENCAPSULATE" "CASE-ERROR" "DB-IO" "FFI-WIN32" "FOREIGN-TYPES" "X86-LAPMACROS" "X86-DISASSEMBLE" "NXENV" "X8632ENV" "SOURCE-FILES" "APROPOS" "ARRAYS-FRY" "READ" "BACKTRACE" "X86-BACKTRACE" "BACKTRACE-LDS" "BACKQUOTE" "NFCOMP" "DEFSTRUCT-LDS" "DEFSTRUCT-MACROS" "OPTIMIZERS" "STREAMS" "FORMAT" "SETF-RUNTIME" "SETF" "MACROS" "LEVEL-2" "X86-BACKEND" "X8632-BACKEND" "X8632-VINSNS" "NX" "HASH" "X862" "NX2" "REG" "VINSN" "BACKEND" "VREG" "X8664-ARCH" "X8632-ARCH" "X86-LAP" "X86-ASM" "X86-ARCH" "ARCH" "SUBPRIMS" "NUMBERS" "SORT" "SEQUENCES" "CHARS" "DLL-NODE" "DEFSTRUCT" "LISTS") :package (:name "COMMON-LISP-USER" :prompt "CL-USER") :version "2009-04-03")) 1)
close-connection: on #<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/784) #x8E3FA0E> : 
The device does not recognize the command.  (error #22) during write ...
close-connection: on #<BASIC-TCP-STREAM :CLOSED #x8E3FA0E> : 
The device does not recognize the command.  (error #22) during read ...
;; Event history end.
;; Backtrace:
;; Connection to Emacs lost. [
;;  condition: on #<BASIC-TCP-STREAM :CLOSED #x8E3FA0E> : 
The device does not recognize the command.  (error #22) during read
;;  type: SOCKET-ERROR
;;  encoding: NIL style: :SPAWN dedicated: NIL]
close-connection: on #<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/784) #x8E3FA0E> : 
The device does not recognize the command.  (error #22) during write ...
;; Event history end.
;; Backtrace:
;; Connection to Emacs lost. [
;;  condition: on #<BASIC-TCP-STREAM :CLOSED #x8E3FA0E> : 
The device does not recognize the command.  (error #22) during write
;;  type: SWANK::SWANK-ERROR
;;  encoding: NIL style: :SPAWN dedicated: NIL]





More information about the slime-devel mailing list