[slime-devel] Can't locate module: SWANK-IO-PACKAGE::SWANK-PACKAGE-FU

Sebastian Tennant sebyte at smolny.plus.com
Fri Apr 22 20:26:28 UTC 2011


Hi Slimers,

I'm running the latest stable SBCL:

 $ sbcl --version
 1.0.47

the most recent version of SLIME shipped by quicklisp:

 $ ls -d ~/quicklisp/dists/quicklisp/software/slime-*-cvs
 /root/quicklisp/dists/quicklisp/software/slime-20110320-cvs

and Emacs 23 shipped with Debian Squeeze:

 (emacs-version)
 => "GNU Emacs 23.2.1 (i486-pc-linux-gnu) of 2010-12-11 on raven, modified by Debian"


When I try to connect to a running SBCL lisp image containing a SWANK server
(same version) I immediately end up in the debugger:

--8<---------------cut here---------------start------------->8---
 Can't locate module: SWANK-IO-PACKAGE::SWANK-PACKAGE-FU
    [Condition of type SIMPLE-ERROR]

 Restarts:
  0: [*ABORT] Return to SLIME's top level.
  1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "worker" RUNNING {CD36339}>)

 Backtrace:
   0: (SWANK::MODULE-FILENAME SWANK-IO-PACKAGE::SWANK-PACKAGE-FU)
   1: (SWANK:SWANK-REQUIRE ..)
   2: (SB-INT:SIMPLE-EVAL-IN-LEXENV ..)
   3: (EVAL ..)
   4: (SWANK:EVAL-FOR-EMACS ..)
   5: ((LAMBDA ()))
   6: (SWANK-BACKEND::CALL-WITH-BREAK-HOOK
       #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA #) {A557C25}>)
   7: ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK)
       #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA #) {A557C25}>)
   8: ((LAMBDA ()))
   9: ((FLET #:WITHOUT-INTERRUPTS-BODY-[BLOCK353]358))
  10: ((FLET SB-THREAD::WITH-MUTEX-THUNK))
  11: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-MUTEX]300))
  12: (SB-THREAD::CALL-WITH-MUTEX ..)
  13: (SB-THREAD::INITIAL-THREAD-FUNCTION)
  14: ("foreign function: call_into_lisp")
  15: ("foreign function: funcall0")
  16: ("foreign function: new_thread_trampoline")
  17: ("foreign function: #x4002D955")
  --more--
--8<---------------cut here---------------end--------------->8---


The lisp image uses a core built like this:

 (mapc #'ql:quickload
       '("SWANK"
         ;;; more packages here
         ))

 (swank-loader:dump-image "foo.core")


sebyte
--
Eamcs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap





More information about the slime-devel mailing list