[slime-devel] connection closed on windows

Giovanni Gigante giov at cidoc.iuav.it
Mon May 10 15:12:01 UTC 2010


I am trying to use sbcl+slime on Windows (Emacs 23.2.1, Sbcl 1.0.37,
Windows XP SP2 + cygwin 1.7.5, Slime just downloaded).
When I happen to exit the debugger by selecting the "Exit debugger,
returning to top level" restart, I get:
Lisp connection closed unexpectedly: connection broken by remote peer.
Any suggestion?
For example, I entered the unbound symbol FOOBAR in the repl, and after
the crash *slime-events* contains:
----------------------------------------------------------------
(:emacs-rex
(swank:listener-eval "foobar\n")
"COMMON-LISP-USER" :repl-thread 4)
(:debug 0 1
    ("The variable FOOBAR is unbound." "   [Condition of type
UNBOUND-VARIABLE]" nil)
    (("RETRY" "Retry SLIME REPL evaluation request.")
     ("ABORT" "Return to SLIME's top level.")
     ("CLOSE-CONNECTION" "Close SLIME connection")
     ("ABORT" "Exit debugger, returning to top level."))
    ((0 "(SB-INT:SIMPLE-EVAL-IN-LEXENV FOOBAR #<NULL-LEXENV>)")
     (1 "(SWANK::EVAL-REGION \"foobar\\n\")")
     (2 "((LAMBDA ()))")
     (3 "(SWANK::TRACK-PACKAGE #<CLOSURE (LAMBDA #) {242CBEED}>)")
     (4 "(SWANK::CALL-WITH-RETRY-RESTART \"Retry SLIME REPL evaluation
request.\" #<CLOSURE (LAMBDA #) {242CBE7D}>)")
     (5 "(SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA #)
{242CBE65}>)")
     (6 "(SWANK::REPL-EVAL \"foobar\\n\")")
     (7 "(SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL
\"foobar\\n\") #<NULL-LEXENV>)")
     (8 "(SWANK::EVAL-FOR-EMACS (SWANK:LISTENER-EVAL \"foobar\\n\")
\"COMMON-LISP-USER\" 4)")
     (9 "(SWANK::PROCESS-REQUESTS T)")
     (10 "(SWANK::CALL-WITH-BINDINGS ..)")
     (11 "((LAMBDA ()))")
     (12 "((LAMBDA ()))")
     (13 "((LAMBDA ()))")
     (14 "((SB-PCL::FAST-METHOD STREAM-READ-CHAR
(SWANK-BACKEND::SLIME-INPUT-STREAM)) #(2 NIL 3 NIL 1 NIL ...)
#<unavailable argument> #<SWANK-BACKEND::SLIME-INPUT-STREAM {23CC30A1}>)")
     (15 "(READ-CHAR #<SWANK-BACKEND::SLIME-INPUT-STREAM {23CC30A1}> T
#:EOF-OBJECT #<unused argument>)")
     (16 "(SB-IMPL::%READ-PRESERVING-WHITESPACE
#<SWANK-BACKEND::SLIME-INPUT-STREAM {23CC30A1}> T NIL T)")
     (17 "(SB-IMPL::%READ-PRESERVING-WHITESPACE
#<SWANK-BACKEND::SLIME-INPUT-STREAM {23CC30A1}> T NIL NIL)")
     (18 "(READ #<SWANK-BACKEND::SLIME-INPUT-STREAM {23CC30A1}> T NIL NIL)")
     (19 "(SWANK::SIMPLE-REPL)"))
    (4))
(:debug-activate 0 1 nil)
(:emacs-rex
(swank:invoke-nth-restart-for-emacs 1 3)
"COMMON-LISP-USER" 0 5)
(:return
(:abort)
5)
(:debug-return 0 1 nil)
(:return
(:abort)
4)






More information about the slime-devel mailing list