[slime-devel] Problem with connection between sbcl and slime

Kai-Florian Richter richter at informatik.uni-bremen.de
Tue Nov 13 22:00:14 UTC 2007


Hi!

I got some trouble running sbcl in the slime environment.

I have the usual SLIME init-file:
(setq inferior-lisp-program "/usr/local/bin/sbcl")
(add-to-list 'load-path "/usr/local/slime-cvs/slime/")
(require 'slime)
(slime-setup)

I start SBCL by M-m M-x slime

SLIME does start up, I get a lisp prompt and it seems to behave
normally. However, the connection between SBCL and SLIME is rather
shaky.
At some point during working with SBCL, I lose the function parameter
info, I also can't break running code then.

Even more, the function (quit) has no effect whatsoever, i.e. SBCL is
not stopped, but I get a message "Evaluation aborted."
CL-USER> (quit)
; Evaluation aborted.
CL-USER> 

That is, I can't just quit SBCL, I have to kill the lisp process when
exiting Emacs.

SBCL works normally if invoked in the bash shell.

The inferior-lisp output from SBCL startup is pasted in below.

I run an Ubuntu (debian) linux with kernel 2.6.20-16 on a x86 computer,
using Xemacs 21.4 (patch 19), sbcl 1.0.11 and the current slime
cvs-build.

I can reproduce the same behavior using Emacs 22.1.1 on the same
machine, and on another machine running kernel 2.6.18-5-amd64 with sbcl
0.9.16, the same XEmacs version, and Emacs 21.4.1

The PROBLEMS file states that there is trouble with kernels 2.6.5-2.6.10
(related to multi-threading?), but I'm well beyond that kernel version;
also, to my knowledge, I don't use multi-threading. I tried to use nohup
in connection with sbcl (as I read that somewhere as well), but I can't
get that to work.

Any info or ideas are very much appreciated.

Kai-Florian



This is SBCL 1.0.11, 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.
STYLE-WARNING: redefining SB-IMPL::DEFAULT-EXTERNAL-FORMAT in DEFUN
* 
; loading #P"/usr/local/slime-cvs/slime/swank-loader.lisp"
;; loading
#P"/home/slobo/.slime/fasl/2007-11-06/sbcl-1.0.11-linux-x86/swank-backend.fasl"
;; loading
#P"/home/slobo/.slime/fasl/2007-11-06/sbcl-1.0.11-linux-x86/nregex.fasl"
;; loading
#P"/home/slobo/.slime/fasl/2007-11-06/sbcl-1.0.11-linux-x86/swank-source-path-parser.fasl"
;; loading
#P"/home/slobo/.slime/fasl/2007-11-06/sbcl-1.0.11-linux-x86/swank-source-file-cache.fasl"
;; loading
#P"/home/slobo/.slime/fasl/2007-11-06/sbcl-1.0.11-linux-x86/swank-sbcl.fasl"
;; loading
#P"/home/slobo/.slime/fasl/2007-11-06/sbcl-1.0.11-linux-x86/swank-gray.fasl"
STYLE-WARNING:
   implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P
;; loading
#P"/home/slobo/.slime/fasl/2007-11-06/sbcl-1.0.11-linux-x86/swank.fasl"
WARNING: These Swank interfaces are unimplemented:
 (CALLS-WHO DISASSEMBLE-FRAME SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN
            WHO-SPECIALIZES)
;; Swank started at port: 41489.
41489
* 


-- 
---------------------------------------------------------------------
Dipl.-Inform. Kai-Florian Richter    richter at informatik.uni-bremen.de
Cognitive Systems
FB 3  Mathematik & Informatik        phone: +49-421-218-64283
Universitaet Bremen                  fax:   +49-421-218-9864283
---------------------------------------------------------------------




More information about the slime-devel mailing list