Hi,
Slime used to work for me, a couple months ago. Then I didn't touch it for a couple months and now when I «M-x slime» things load and compile for a bit, then I get the message:
Lisp connection closed unexpectedly: exited abnormally with code 256
I tried updating my copy of Slime to the current CVS version. I tried deleting the .fasl files in ~/.slime/fasl. I am a total newb so I don't know what else I can try. Any suggestions? My emacs is Gnu Emacs 21.3. My lisp is SBCL 0.9.4.
-John J Foerch
On Nov 29, 2005, at 5:35 PM, John J Foerch wrote:
Hi,
Slime used to work for me, a couple months ago. Then I didn't touch it for a couple months and now when I «M-x slime» things load and compile for a bit, then I get the message:
Lisp connection closed unexpectedly: exited abnormally with code 256
I tried updating my copy of Slime to the current CVS version. I tried deleting the .fasl files in ~/.slime/fasl. I am a total newb so I don't know what else I can try. Any suggestions? My emacs is Gnu Emacs 21.3. My lisp is SBCL 0.9.4.
Hi John,
I don't know why it didn't work before your CVS update, but I wouldn't expect 0.9.4 to work with CVS SLIME. You should try upgrading your SBCL if you want to use this version of SLIME.
If that doesn't help, rm -rf ~/.slime and watch the *inferior-lisp* buffer for any compilation warnings or errors. Also, are you on Linux? If so, what version of the kernel? There have been several kernel bugs in various 2.6 versions from 2.6.9 to 2.6.11 which interact badly with SBCL. -- Brian Mastenbrook brian@mastenbrook.net http://brian.mastenbrook.net/
Hi Brian,
Thanks for your interest. I updated my SBCL to 0.9.7 and I still get the error. I'm on a SuSE Linux system with kernel 2.6.5. I'll paste my *inferior-lisp*. There are a number of warnings, and I don't know exactly what they mean.
-John J Foerch
--------------------------- *inferior-lisp* -----------------------------
(load "/mydoc/src/slime/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.13321" :external-format :iso-latin-1-unix)
This is SBCL 0.9.7, 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 system definition from /home/jjf/.sbcl/systems/net-telent-date.asd ; into #<PACKAGE "ASDF3916"> ; registering #<SYSTEM NET-TELENT-DATE {B07D939}> as NET-TELENT-DATE * ; loading #P"/mydoc/src/slime/swank-loader.lisp" ; compiling file "/mydoc/src/slime/swank-backend.lisp" (written 29 NOV 2005 03:27:41 PM):
; /home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-backend.fasl written ; compilation finished in 0:00:07 ;; loading #P"/home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-backend.fasl" WARNING: SWANK-BACKEND also exports the following symbols: (SWANK-BACKEND:MAKE-WEAK-VALUE-HASH-TABLE SWANK-BACKEND:FRAME-CATCH-TAGS SWANK-BACKEND:ADD-SIGIO-HANDLER SWANK-BACKEND:FORMAT-SLDB-CONDITION SWANK-BACKEND:PROFILE-PACKAGE SWANK-BACKEND:RESTART-FRAME SWANK-BACKEND:DEFAULT-DIRECTORY SWANK-BACKEND:FRAME-SOURCE-LOCATION-FOR-EMACS SWANK-BACKEND:MAKE-WEAK-KEY-HASH-TABLE SWANK-BACKEND:COMPUTE-BACKTRACE SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK SWANK-BACKEND:INITIALIZE-MULTIPROCESSING SWANK-BACKEND:LIST-CALLEES SWANK-BACKEND:REMOVE-FD-HANDLERS SWANK-BACKEND:RECEIVE SWANK-BACKEND:COMPILER-MACROEXPAND-1 SWANK-BACKEND:REMOVE-SIGIO-HANDLERS SWANK-BACKEND:ACCEPT-CONNECTION SWANK-BACKEND:THREAD-NAME SWANK-BACKEND:UNPROFILE SWANK-BACKEND:TOGGLE-TRACE SWANK-BACKEND:THREAD-ALIVE-P SWANK-BACKEND:CLOSE-SOCKET SWANK-BACKEND:DESCRIBE-SYMBOL-FOR-EMACS SWANK-BACKEND:SPAWN SWANK-BACKEND:MAKE-DEFAULT-INSPECTOR SWANK-BACKEND:SLDB-BREAK-AT-START SWANK-BACKEND:FIND-DEFINITIONS SWANK-BACKEND:WHO-SPECIALIZES SWANK-BACKEND:THREAD-STATUS SWANK-BACKEND:CONDITION-EXTRAS SWANK-BACKEND:FUNCTION-NAME SWANK-BACKEND:OPERATE-ON-SYSTEM SWANK-BACKEND:UNPROFILE-ALL SWANK-BACKEND:EVAL-IN-FRAME SWANK-BACKEND:FIND-THREAD SWANK-BACKEND:SLDB-BREAK-ON-RETURN SWANK-BACKEND:WHO-REFERENCES SWANK-BACKEND:LOCAL-PORT SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT SWANK-BACKEND:PROFILED-FUNCTIONS SWANK-BACKEND:SEND SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS SWANK-BACKEND:EMACS-CONNECTED SWANK-BACKEND:WHO-BINDS SWANK-BACKEND:MAKE-LOCK SWANK-BACKEND:CREATE-SOCKET SWANK-BACKEND:BUFFER-FIRST-CHANGE SWANK-BACKEND:SET-DEFAULT-DIRECTORY SWANK-BACKEND:PROFILE-RESET SWANK-BACKEND:FRAME-VAR-VALUE SWANK-BACKEND:MACROEXPAND-ALL SWANK-BACKEND:CURRENT-THREAD SWANK-BACKEND:STARTUP-IDLE-AND-TOP-LEVEL-LOOPS SWANK-BACKEND:ACTIVATE-STEPPING SWANK-BACKEND:DISASSEMBLE-FRAME SWANK-BACKEND:SWANK-COMPILE-FILE SWANK-BACKEND:PROFILE-REPORT SWANK-BACKEND:CALL-WITH-LOCK-HELD SWANK-BACKEND:FRAME-LOCALS SWANK-BACKEND:ALL-THREADS SWANK-BACKEND:DESCRIBE-DEFINITION SWANK-BACKEND:WHO-SETS SWANK-BACKEND:CALL-WITH-COMPILATION-HOOKS SWANK-BACKEND:MAKE-FN-STREAMS SWANK-BACKEND:LISP-IMPLEMENTATION-TYPE-NAME SWANK-BACKEND:ARGLIST SWANK-BACKEND:RETURN-FROM-FRAME SWANK-BACKEND:LIST-CALLERS SWANK-BACKEND:PREFERRED-COMMUNICATION-STYLE SWANK-BACKEND:ADD-FD-HANDLER SWANK-BACKEND:KILL-THREAD SWANK-BACKEND:CALL-WITHOUT-INTERRUPTS SWANK-BACKEND:COMPILER-MACROEXPAND SWANK-BACKEND:CONDITION-REFERENCES SWANK-BACKEND:THREAD-ID SWANK-BACKEND:PRINT-FRAME SWANK-BACKEND:GETPID SWANK-BACKEND:DESCRIBE-PRIMITIVE-TYPE SWANK-BACKEND:PROFILE SWANK-BACKEND:SWANK-COMPILE-STRING SWANK-BACKEND:MAKE-STREAM-INTERACTIVE SWANK-BACKEND:DEFAULT-READTABLE-ALIST SWANK-BACKEND:WHO-CALLS SWANK-BACKEND:INTERRUPT-THREAD SWANK-BACKEND:INSTALL-DEBUGGER-GLOBALLY SWANK-BACKEND:WHO-MACROEXPANDS SWANK-BACKEND:CALLS-WHO) See also: The ANSI Standard, Macro DEFPACKAGE ; compiling file "/mydoc/src/slime/nregex.lisp" (written 29 NOV 2005 03:27:25 PM):
; /home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/nregex.fasl written ; compilation finished in 0:00:03 ;; loading #P"/home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/nregex.fasl" ; compiling file "/mydoc/src/slime/swank-sbcl.lisp" (written 29 NOV 2005 03:27:41 PM):
; /home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-sbcl.fasl written ; compilation finished in 0:00:28 ;; loading #P"/home/jjf/.slime/fasl/sbcl-0.9.7-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 INSTALL-DEBUGGER-GLOBALLY (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: implicitly creating new generic function STARTUP-MULTIPROCESSING WARNING: DEFIMPLEMENTATION of undefined interface (STARTUP-MULTIPROCESSING) 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 STYLE-WARNING: redefining MAKE-STREAM-INTERACTIVE (T) in DEFMETHOD ; compiling file "/mydoc/src/slime/swank-source-path-parser.lisp" (written 29 NOV 2005 03:27:51 PM):
; /home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-source-path-parser.fasl written ; compilation finished in 0:00:01 ;; loading #P"/home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-source-path-parser.fasl" ; compiling file "/mydoc/src/slime/swank-source-file-cache.lisp" (written 29 AUG 2005 04:02:58 PM):
; /home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-source-file-cache.fasl written ; compilation finished in 0:00:00 ;; loading #P"/home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-source-file-cache.fasl" STYLE-WARNING: redefining BUFFER-FIRST-CHANGE (T) in DEFMETHOD ; compiling file "/mydoc/src/slime/swank-gray.lisp" (written 29 NOV 2005 03:27:41 PM):
; /home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-gray.fasl written ; compilation finished in 0:00:04 ;; loading #P"/home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank-gray.fasl" STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P ; compiling file "/mydoc/src/slime/swank.lisp" (written 29 NOV 2005 03:28:04 PM):
; /home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank.fasl written ; compilation finished in 0:00:17 ;; loading #P"/home/jjf/.slime/fasl/sbcl-0.9.7-linux-x86/swank.fasl" WARNING: SWANK also exports the following symbols: (SWANK:INIT-INSPECTOR SWANK:INSPECT-IN-FRAME SWANK:INSPECT-NTH-PART SWANK:GET-REPL-RESULT SWANK:XREF SWANK:TAKE-INPUT SWANK:START-SWANK-SERVER-IN-THREAD SWANK:INSPECT-FRAME-VAR SWANK:SWANK-MACROEXPAND SWANK:LOAD-FILE-SET-PACKAGE SWANK:APROPOS-LIST-FOR-EMACS SWANK:DESCRIBE-FUNCTION SWANK:COMPLETE-FORM SWANK:SLDB-BREAK-WITH-DEFAULT-DEBUGGER SWANK:COMMIT-EDITED-VALUE SWANK:INSPECTOR-POP SWANK:TOGGLE-PROFILE-FDEFINITION SWANK:LIST-ALL-PACKAGE-NAMES SWANK:SLDB-DISASSEMBLE SWANK:FUZZY-COMPLETION-SELECTED SWANK:INSPECTOR-REINSPECT SWANK:LISTENER-EVAL SWANK:LIST-THREADS SWANK:QUIT-INSPECTOR SWANK:REPL-EVAL-HOOK-PASS SWANK:DOCUMENTATION-SYMBOL SWANK:DESCRIBE-INSPECTEE SWANK:DISASSEMBLE-SYMBOL SWANK:BACKTRACE SWANK:INVOKE-NTH-RESTART-FOR-EMACS SWANK:REPL-SUPPRESS-ADVANCE-HISTORY SWANK:RE-EVALUATE-DEFVAR SWANK:FIND-DEFINITIONS-FOR-EMACS SWANK:PPRINT-EVAL-STRING-IN-FRAME SWANK:DESCRIBE-SYMBOL SWANK:FRAME-LOCALS-FOR-EMACS SWANK:DEBUGGER-INFO-FOR-EMACS SWANK:REPL-SUPPRESS-OUTPUT SWANK:ARGLIST-FOR-INSERTION SWANK:CLEAR-REPL-RESULTS SWANK:SLDB-ABORT SWANK:SLDB-RETURN-FROM-FRAME SWANK:FRAME-CATCH-TAGS-FOR-EMACS SWANK:SWANK-TOGGLE-TRACE SWANK:UNTRACE-ALL SWANK:SIMPLE-COMPLETIONS SWANK:KILL-NTH-THREAD SWANK:EVAL-STRING-IN-FRAME SWANK:OPERATE-ON-SYSTEM-FOR-EMACS SWANK:THROW-TO-TOPLEVEL SWANK:COMPILER-NOTES-FOR-EMACS SWANK:UPDATE-INDENTATION-INFORMATION SWANK:VARIABLE-DESC-FOR-ECHO-AREA SWANK:INTERACTIVE-EVAL SWANK:PPRINT-INSPECTOR-PART SWANK:COMPILE-FILE-FOR-EMACS SWANK:SWANK-COMPILER-MACROEXPAND-1 SWANK:SET-PACKAGE SWANK:INVOKE-NTH-RESTART SWANK:INSPECTOR-NEXT SWANK:DEBUG-NTH-THREAD SWANK:SWANK-MACROEXPAND-1 SWANK:SLDB-CONTINUE SWANK:DESCRIBE-DEFINITION-FOR-EMACS SWANK:COMPILE-FILE-IF-NEEDED SWANK:INSPECTOR-CALL-NTH-ACTION SWANK:SIMPLE-BREAK SWANK:STATE-STACK SWANK:SWANK-MACROEXPAND-ALL SWANK:PPRINT-EVAL SWANK:LOAD-FILE SWANK:ARGLIST-FOR-ECHO-AREA SWANK:CONNECTION-INFO SWANK:EVAL-AND-GRAB-OUTPUT SWANK:IO-SPEED-TEST SWANK:UNDEFINE-FUNCTION SWANK:COMPILE-STRING-FOR-EMACS SWANK:MOP SWANK:INTERACTIVE-EVAL-REGION SWANK:SWANK-COMPILER-MACROEXPAND SWANK:COMPLETIONS SWANK:LIST-ALL-SYSTEMS-IN-CENTRAL-REGISTRY SWANK:VALUE-FOR-EDITING SWANK:INSPECT-CURRENT-CONDITION SWANK:INSPECTOR-NTH-PART SWANK:FUZZY-COMPLETIONS SWANK:QUIT-THREAD-BROWSER) See also: The ANSI Standard, Macro DEFPACKAGE STYLE-WARNING: redefining PREFIXED-VAR in DEFUN STYLE-WARNING: implicitly creating new generic function INSPECT-BIGGER-PIECE-ACTIONS STYLE-WARNING: implicitly creating new generic function INSPECT-WHOLE-THING-ACTION STYLE-WARNING: implicitly creating new generic function INSPECT-SHOW-MORE-ACTION STYLE-WARNING: implicitly creating new generic function MENU-CHOICES-FOR-PRESENTATION
; file: /mydoc/src/slime/swank-sbcl.lisp ; in: DEFUN SWANK-BACKEND::FALLBACK-SOURCE-LOCATION ; (SWANK-BACKEND::FUNCTION-SOURCE-LOCATION SWANK-BACKEND::FUN) ; --> LOCALLY PROGN ; ==> ; (SWANK-BACKEND::FUNCTION-SOURCE-LOCATION SWANK-BACKEND::FUN) ; ; caught STYLE-WARNING: ; undefined function: SWANK-BACKEND::FUNCTION-SOURCE-LOCATION
; in: DEFUN SWANK-BACKEND::FUNCTION-DSPEC ; (SWANK-BACKEND::SAFE-FUNCTION-SOURCE-LOCATION SWANK-BACKEND::FN ; SWANK-BACKEND::NAME) ; ; caught STYLE-WARNING: ; undefined function: SWANK-BACKEND::SAFE-FUNCTION-SOURCE-LOCATION
; ; caught STYLE-WARNING: ; These functions are undefined: ; SWANK-BACKEND::FUNCTION-SOURCE-LOCATION SWANK-BACKEND::SAFE-FUNCTION-SOURCE-LOCATION ; ; compilation unit finished ; caught 3 STYLE-WARNING conditions 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: 37915.
NIL * Process inferior-lisp hangup
Brian Mastenbrook wrote:
Hi John,
I don't know why it didn't work before your CVS update, but I wouldn't expect 0.9.4 to work with CVS SLIME. You should try upgrading your SBCL if you want to use this version of SLIME.
If that doesn't help, rm -rf ~/.slime and watch the *inferior-lisp* buffer for any compilation warnings or errors. Also, are you on Linux? If so, what version of the kernel? There have been several kernel bugs in various 2.6 versions from 2.6.9 to 2.6.11 which interact badly with SBCL. -- Brian Mastenbrook brian@mastenbrook.net http://brian.mastenbrook.net/
On Nov 29, 2005, at 7:21 PM, John J Foerch wrote:
Thanks for your interest. I updated my SBCL to 0.9.7 and I still get the error. I'm on a SuSE Linux system with kernel 2.6.5. I'll paste my *inferior-lisp*. There are a number of warnings, and I don't know exactly what they mean.
I'm thinking that this might be a kernel-related oddity. Try setting your inferior-lisp-program to "nohup sbcl" (adding nohup) and see if it works then.
-- Brian Mastenbrook brian@mastenbrook.net http://brian.mastenbrook.net/
That worked, thank you so much. I can use that until I have a kernel without the problem.
Thanks!
-John J Foerch
Brian Mastenbrook wrote:
On Nov 29, 2005, at 7:21 PM, John J Foerch wrote:
Thanks for your interest. I updated my SBCL to 0.9.7 and I still get the error. I'm on a SuSE Linux system with kernel 2.6.5. I'll paste my *inferior-lisp*. There are a number of warnings, and I don't know exactly what they mean.
I'm thinking that this might be a kernel-related oddity. Try setting your inferior-lisp-program to "nohup sbcl" (adding nohup) and see if it works then.
-- Brian Mastenbrook brian@mastenbrook.net http://brian.mastenbrook.net/