[Ecls-list] SLIME miscompiled in ECL 12.2.1

Xiaofeng Yang n.akr.akiiya at gmail.com
Sun Feb 5 12:51:23 UTC 2012


The problem occurs in the newest SLIME (snapshot 2012-01-06) and the
snapshot on 2011-10-19(this one can be compiled using C compiler of ECL
11.1.1), using bytecode compiler.
Both of the snapshots I fetched from
http://common-lisp.net/project/slime/snapshots/slime-current.tgz .

(progn (load "c:/mefcl/emacs/home/slime-current/swank-loader.lisp" :verbose
t) (funcall (read-from-string "swank-loader:init")) (funcall
(read-from-string "swank:start-server")
"c:/Users/stlxv/AppData/Local/Temp/slime.5548"))

ECL (Embeddable Common-Lisp) 12.2.1 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level in: #<process TOP-LEVEL>.
>
;;; Loading "c:/mefcl/emacs/home/slime-current/swank-loader.lisp"
;;; Compiling c:/mefcl/emacs/home/slime-current/swank-backend.lisp
;;; Compiling #<input stream
c:/mefcl/emacs/home/slime-current/swank-backend.lisp>
;;; Loading
"C:/mefcl/emacs/home/.slime/fasl/2012-01-06/ecl-12.2.1-windows-pentium3/swank-backend.fasc"
;;; Compiling
c:/mefcl/emacs/home/slime-current/swank-source-path-parser.lisp
;;; Compiling #<input stream
c:/mefcl/emacs/home/slime-current/swank-source-path-parser.lisp>
;;; Loading
"C:/mefcl/emacs/home/.slime/fasl/2012-01-06/ecl-12.2.1-windows-pentium3/swank-source-path-parser.fasc"
;;; Compiling c:/mefcl/emacs/home/slime-current/swank-source-file-cache.lisp
;;; Compiling #<input stream
c:/mefcl/emacs/home/slime-current/swank-source-file-cache.lisp>No class
named SWANK-BACKEND::SOURCE-CACHE-ENTRY.
NIL
Condition of type: SIMPLE-CONDITION
Break

Available restarts:

1. (CONTINUE) Return from BREAK.
2. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SWANK-LOADER::COMPILE-FILES. In: #<process TOP-LEVEL>.
 File: #P"c:/mefcl/emacs/home/slime-current/swank-loader.lisp" (Position
#6094)
>>

I don't know how to find the source code at (Position #6094), but I found
the definition of SOURCE-CACHE-ENTRY in the file
`swank-source-file-cache.lisp'. That is,
(defstruct (source-cache-entry
             (:conc-name source-cache-entry.)
             (:constructor make-source-cache-entry (text date)))
  text date)



     Best regards,
Xiaofeng Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120205/27ae8be6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swank-source-file-cache.lisp
Type: application/octet-stream
Size: 4832 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120205/27ae8be6/attachment.obj>


More information about the ecl-devel mailing list