[slime-devel] Why is Slime trying to open port 0?

Dirk Gerrits dirk at dirkgerrits.com
Sun Feb 8 13:50:51 UTC 2004


I don't know exactly when the symptoms started, since I haven't been 
using SLIME for a while, but a CVS update doesn't make them go away.

When I start Emacs and do M-x slime RET it fails trying to connect to 
port 0 of localhost. I don't understand, since a problem of this 
magnitude (can't use SLIME at all) would certainly be noticed by others, 
and I saw no previous posts about this. Presumably it is something 
peculiar about my configuration. I'm using Debian GNU/Linux 3.0 + 2.6.2 
kernel + GNU Emacs 21.3.50.9. If you need more info, just ask. The 
output is included below.

Regards,

Dirk Gerrits


CMU Common Lisp CVS release-18e-branch + minimal debian patches, running 
on willow
With core: /usr/lib/cmucl/lisp.core
Dumped on: Sat, 2004-02-07 00:05:30+01:00 on willow
For support see http://www.cons.org/cmucl/support.html Send bug reports 
to the debian BTS.
or to pvaneynd at debian.org
type (help) for help, (quit) to exit, and (demo) to see the demos

Loaded subsystems:
     Python 1.1, target Intel x86
     CLOS 18e (based on PCL September 16 92 PCL (f))
*
; Loading #p"/home/dirk/slime/swank-loader.lisp".
;; Loading #p"/home/dirk/slime/swank-backend.x86f".
;; Loading #p"/home/dirk/slime/swank.x86f".
;; Loading #p"/home/dirk/slime/swank-source-path-parser.x86f".
;; Loading #p"/home/dirk/slime/swank-cmucl.x86f".
Warning:  DEFIMPLEMENTATION of undefined interface (DESCRIBE-PRIMITIVE-TYPE)
Warning:  DEFIMPLEMENTATION of undefined interface (INSPECTED-PARTS)
Warning:  These Swank interfaces are unimplemented:
  (RESTART-FRAME RETURN-FROM-FRAME
                 THREAD-ALIVE-P
                 WHO-MACROEXPANDS
                 WHO-SPECIALIZES)
T
*

Error in function CREATE-INET-LISTENER:
    Error binding socket to port 0: Cannot assign requested address

Restarts:
   0: [ABORT] Return to Top-Level.

Debug  (type H for help)

(CREATE-INET-LISTENER 0 :STREAM :HOST 16777343 ...)
Source:
; File: target:code/internet.lisp
(ERROR "Error binding socket to port ~a: ~a" PORT (UNIX:GET-UNIX-ERROR-MSG))
0] :backtrace

0: (CREATE-INET-LISTENER 0 :STREAM :HOST 16777343 ...)
1: ("DEFIMPLEMENTATION CREATE-SOCKET" #<unused-arg> #<unused-arg> 0)
2: (SWANK::SETUP-SERVER 0
                         #<Closure Over Function "DEFUN START-SERVER"
                           {484ED931}>
                         :SIGIO)
3: (INTERACTIVE-EVAL (SWANK:START-SERVER "/tmp/slime.2936"))
4: (COMMON-LISP::%TOP-LEVEL)
5: (COMMON-LISP::RESTART-LISP)

0]





More information about the slime-devel mailing list