When pressing C-c C-k (slime-compile-and-load-file), no matter what the file is (it was very simple at that time) I get the same error: The function SWANK-BACKEND::SOURCE-CACHE-GET is undefined. [Condition of type UNDEFINED-FUNCTION] I'm running slime-cvs ~x86 and sbcl ~x86. I was told to update slime on #lisp@irc.freenode.net. Could you take a look at this and update slime-cvs if needed ? Here's the rest of the error I get. Restarts: 0: [ABORT] Abort SLIME compilation. 1: [ABORT] Abort handling SLIME request. 2: [ATTEMPT-RESYNC] Attempt to resync the stream at a character boundary and continue. 3: [FORCE-END-OF-FILE] Force an end of file. 4: [ABORT] Reduce debugger level (leaving debugger, returning to toplevel). 5: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop. Backtrace: 0: ("bogus stack frame") 1: ((SB-PCL::FAST-METHOD SWANK-BACKEND:SWANK-COMPILE-FILE (T T)) #<unused argument> #<unused argument> "/home/pupeno/src/learning/lisp/cd.lisp" T) 2: (SWANK::MEASURE-TIME-INTERVAL #<FUNCTION "CLOSURE" {9A3A2AD}>) 3: (SWANK::SWANK-COMPILER #<FUNCTION "CLOSURE" {9A3A2AD}>) 4: ("#'(LAMBDA NIL (LET # #))") 5: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T)) #<unused argument> #<unused argument> #<FUNCTION "CLOSURE" {9A3A265}>) 6: (SWANK:COMPILE-FILE-FOR-EMACS "/home/pupeno/src/learning/lisp/cd.lisp" T) 7: (SB-INT:EVAL-IN-LEXENV 2 (SWANK:COMPILE-FILE-FOR-EMACS "/home/pupeno/src/learning/lisp/cd.lisp" T) #S(SB-KERNEL:LEXENV :FUNS NIL :VARS NIL :BLOCKS NIL :TAGS NIL :TYPE-RESTRICTIONS NIL :LAMBDA NIL :CLEANUP NIL :HANDLED-CONDITIONS NIL :DISABLED-PACKAGE-LOCKS NIL :POLICY ((SPEED . 1) (SPACE . 1) (SAFETY . 1) (INHIBIT-WARNINGS . 1) (DEBUG . 1) (COMPILATION-SPEED . 1))))[:EXTERNAL] 8: ("#'(LAMBDA NIL (LET # #))") 9: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION "CLOSURE" {9A3A18D}>) 10: ("#'(LAMBDA NIL (LET # #))") 11: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {92C39C1}> #<FUNCTION "#'(LAMBDA NIL (LET # #))" {9E398BD}>) 12: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {92C39C1}>) 13: (SWANK::PROCESS-AVAILABLE-INPUT #<FILE-STREAM for "a constant string" {92BE951}> #<FUNCTION "CLOSURE" {9A39CED}>) 14: ("FLET SWANK::HANDLER") 15: ("#'(LAMBDA (SWANK-BACKEND::_) SWANK-BACKEND::_ ...)" #<unused argument>) 16: (SB-IMPL::SUB-SERVE-EVENT 2 NIL 0)[:EXTERNAL] 17: ("hairy arg processor for top level local call SB!SYS:WAIT-UNTIL-FD-USABLE" 0 :INPUT NIL) 18: (SB-IMPL::FROB-INPUT 1 #<FILE-STREAM for "standard input" {9001461}>)[:EXTERNAL] 19: (SB-IMPL::INPUT-CHAR/UTF-8 3 #<FILE-STREAM for "standard input" {9001461}> NIL #:EOF-OBJECT)[:EXTERNAL] 20: ("hairy arg processor for top level local call READ-CHAR" #<FILE-STREAM for "standard input" {9001461}> NIL #:EOF-OBJECT #<unused argument>) 21: ("hairy arg processor for top level local call READ-CHAR" #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {5019D69}> NIL #:EOF-OBJECT #<unused argument>) 22: ("hairy arg processor for top level local call READ-CHAR" #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-INPUT* {9DEFCE1}> NIL #:EOF-OBJECT #<unused argument>) 23: ("hairy arg processor for top level local call READ-PRESERVING-WHITESPACE" #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-INPUT* {9DEFCE1}> NIL (NIL) T) 24: ("hairy arg processor for top level local call READ-PRESERVING-WHITESPACE" #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-INPUT* {9DEFCE1}> NIL (NIL) NIL) 25: ("hairy arg processor for top level local call READ" #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-INPUT* {9DEFCE1}> NIL (NIL) NIL) 26: (SB-IMPL::REPL-READ-FORM-FUN 2 #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-INPUT* {9DEFCE1}> #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-OUTPUT* {9DEFC71}>)[:EXTERNAL] 27: (SB-IMPL::REPL-FUN 1 NIL)[:EXTERNAL] 28: ("#'(LAMBDA NIL (HANDLER-BIND # #))") 29: ("XEP for #'(LAMBDA NIL (HANDLER-BIND # #))" 0)[:EXTERNAL] 30: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX 1 #<FUNCTION "CLOSURE" {905CC65}>)[:EXTERNAL] 31: (SB-IMPL::TOPLEVEL-REPL 1 NIL)[:EXTERNAL] 32: (SB-IMPL::TOPLEVEL-INIT 0)[:EXTERNAL] 33: ("FLET SB!IMPL::RESTART-LISP") Thank you. Reproducible: Always Steps to Reproduce: 1. 2. 3. # emerge info Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 20 2005, 04:36:12)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.seren.com/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://www.gigaload.org/gentoo.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X Xaw3d aalib acl acpi alsa apache2 apm arts athena audiofile avi bash-completion bcmath bdf berkdb bitmap-fonts bzlib calendar cdparanoia cdr crypt ctype cups curl curlwrappers dba dbx dga directfb divx4linux dnd dv dvb dvd dvdr emacs emboss encode esd exif faad fam fbcon flac flash font-server foomaticdb fortran fpx ftp gcj gd gdbm gif gimpprint gnome gpm graphviz gtk gtk2 iconv imagemagick imap imlib inifile innodb ipv6 jabber jack java joystick jpeg jpeg2k junit kde lcms ldap leim libg++ libwww live lzo mad maildir matroska mbox mcal mhash mikmod mime mmx mmx2 mng moilla motif mozilla mp3 mpeg mule mysql nas ncurses network nls objc oggvorbis opengl oss pam pda pdflib pear-db perl php pic plotutils png portaudio posix povray ppds python qt quicktime readline real rtc sasl scanner sdl session shared simplexml slang slp sndfile sockets speel speex spell sqlite ssl svg svga tcpd tetex tga theora tidy tiff truetype truetype-fonts trutype type1-fonts unicode usb v4l v4l2 vhosts videos vim-with-x wmf xine xinerama xml xml2 xmlrpc xosd xpm xprint xsl xv xvid yv12 zeo zip zlib linguas_en linguas_es linguas_eo" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Pupeno, I think the solution was to sync the Gentoo specific swank.asd with the new changes introduced to CVS recently (the addition of swank-source-file-cache.lisp). Try again with the slime-cvs-0-r4 ebuild and let me know how that goes.