Hello, I am having some problems with Slime, whenever I get an error (be it a typo, a missing package, whatever) it gets disconected. For example:
; SLIME 2005-07-14 CL-USER> a
And there I get "Lisp connection closed unexpectedly: connection broken by remote peer" on the minibuffer.
*Messages* says: Polling "/tmp/slime.25354".. (Abort with `M-x slime-abort-connection'.) [6 times] Connecting to Swank on port 32774.. Process bridge is installed Loading animate...done Connected. Pupeno, this could be the start of a beautiful program. Lisp connection closed unexpectedly: connection broken by remote peer
*slime-events* says: (:emacs-rex (swank:connection-info) nil t 1) (:open-dedicated-output-stream 32775) (:indentation-update (("with-unlocked-packages" . 1) ("with-timeout" . 1) ("without-package-locks" . 0) ("define-source-context" . 2) ("with-single-package-locked-error" . 1) ("with-circularity-detection" . 1) ("descend-into" . 1) ("number-dispatch" . 1) ("do-debug-fun-blocks" . 1) ("do-debug-block-locations" . 1) ("do-debug-fun-vars" . 1) ("with-recursive-lock" . 1) ("with-new-session" . 1) ("with-mutex" . 1) ("with-spinlock" . 1) ("with-fixed-allocation" . 1) ("with-tn@fp-top" . 1) ("maybe-pseudo-atomic" . 1) ("with-empty-tn@fp-top" . 1) ("bind-fast-lexical-method-macros" . 1) ...)) (:return (:ok (27426 "SBCL" "sbcl"
(swank-backend::source-plist :asdf :sb-futex :sb-ldb :sb-thread :ansi-cl :common-lisp :sbcl :unix :sb-doc :sb-package-locks :sb-unicode :ieee-floating-point :x86 :elf :linux :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack :stack-allocatable-closures ...) :spawn "0.9.2" "lab")) 1) (:emacs-rex (swank:listener-eval "a\n") "COMMON-LISP-USER" :repl-thread 2)
*inferior-lisp* says: This is SBCL 0.9.2, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.
SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * ; loading #P"/home/pupeno/src/slime/swank-loader.lisp" ;; loading #P"/home/pupeno/.slime/fasl/sbcl-0.9.2-linux-x86/swank-backend.fasl" ;; loading #P"/home/pupeno/.slime/fasl/sbcl-0.9.2-linux-x86/nregex.fasl" ;; loading #P"/home/pupeno/.slime/fasl/sbcl-0.9.2-linux-x86/swank-sbcl.fasl" STYLE-WARNING: redefining PREFERRED-COMMUNICATION-STYLE NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITHOUT-INTERRUPTS (T) in DEFMETHOD STYLE-WARNING: redefining LISP-IMPLEMENTATION-TYPE-NAME NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-SYNTAX-HOOKS (T) in DEFMETHOD STYLE-WARNING: redefining DEFAULT-READTABLE-ALIST NIL in DEFMETHOD STYLE-WARNING: redefining ARGLIST (T) in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-DEBUGGER-HOOK (T T) in DEFMETHOD STYLE-WARNING: redefining FORMAT-SLDB-CONDITION (T) in DEFMETHOD STYLE-WARNING: redefining CONDITION-REFERENCES (T) in DEFMETHOD STYLE-WARNING: redefining UNPROFILE-ALL NIL in DEFMETHOD STYLE-WARNING: redefining STARTUP-MULTIPROCESSING NIL in DEFMETHOD STYLE-WARNING: redefining THREAD-NAME (T) in DEFMETHOD STYLE-WARNING: redefining THREAD-STATUS (T) in DEFMETHOD STYLE-WARNING: redefining MAKE-LOCK NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-LOCK-HELD (T T) in DEFMETHOD STYLE-WARNING: redefining CURRENT-THREAD NIL in DEFMETHOD STYLE-WARNING: redefining KILL-THREAD (T) in DEFMETHOD STYLE-WARNING: redefining THREAD-ALIVE-P (T) in DEFMETHOD ;; loading #P"/home/pupeno/.slime/fasl/sbcl-0.9.2-linux-x86/swank-source-path-parser.fasl" ;; loading #P"/home/pupeno/.slime/fasl/sbcl-0.9.2-linux-x86/swank-source-file-cache.fasl" STYLE-WARNING: redefining BUFFER-FIRST-CHANGE (T) in DEFMETHOD ;; loading #P"/home/pupeno/.slime/fasl/sbcl-0.9.2-linux-x86/swank-gray.fasl" STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-NO-HANG STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P ;; loading #P"/home/pupeno/.slime/fasl/sbcl-0.9.2-linux-x86/swank.fasl" WARNING: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING CALLS-WHO DISASSEMBLE-FRAME INSPECT-FOR-EMACS RESTART-FRAME SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN WHO-BINDS WHO-CALLS WHO-MACROEXPANDS WHO-REFERENCES WHO-SETS WHO-SPECIALIZES) T * ;; Swank started at port: 32774.
32774 * ;; Connection to Emacs lost. ;; [The assertion (EQL (ASH (ASH SWANK-BACKEND::THREAD -5) 5) SWANK-BACKEND::THREAD) failed.] fatal error encountered in SBCL pid 27425(tid 65541): %PRIMITIVE HALT called; the party is over. LDB monitor ldb>
What am I doing wrong ? Some kind of incompatibility with SBCL 0.9.2 ?
Thank you.