[slime-devel] Memory corruption error triggered by slime on sbcl

Andy Chambers achambers.home at googlemail.com
Wed Apr 7 00:37:33 UTC 2010


On Tue, Apr 6, 2010 at 8:18 AM, Nikodemus Siivola
<nikodemus at random-state.net> wrote:
> On 5 April 2010 17:51, Andy Chambers <achambers.home at googlemail.com> wrote:

> Does this occur with SBCL 1.0.37 (or newer) as well? If so:
I upgraded to 1.0.37.36

>
> What does `uname -a` say?

Linux mccarthy 2.6.26-2-686 #1 SMP Wed Feb 10 08:59:21 UTC 2010 i686 GNU/Linux

> What are the SBCL *features*?

(:SB-BSD-SOCKETS-ADDRINFO :ASDF2 :ASDF :ANSI-CL :COMMON-LISP :SBCL :SB-DOC
 :SB-TEST :SB-LDB :SB-PACKAGE-LOCKS :SB-UNICODE :SB-EVAL :SB-SOURCE-LOCATIONS
 :IEEE-FLOATING-POINT :X86 :UNIX :ELF :LINUX :SB-THREAD :LARGEFILE :GENCGC
 :STACK-GROWS-DOWNWARD-NOT-UPWARD :C-STACK-IS-CONTROL-STACK
 :COMPARE-AND-SWAP-VOPS :UNWIND-TO-FRAME-AND-CALL-VOP :RAW-INSTANCE-INIT-VOPS
 :STACK-ALLOCATABLE-CLOSURES :STACK-ALLOCATABLE-VECTORS
 :STACK-ALLOCATABLE-LISTS :STACK-ALLOCATABLE-FIXED-OBJECTS :ALIEN-CALLBACKS
 :CYCLE-COUNTER :INLINE-CONSTANTS :LINKAGE-TABLE :OS-PROVIDES-DLOPEN
 :OS-PROVIDES-PUTWC :OS-PROVIDES-SUSECONDS-T)

> Please provide exact directions to reproduce, including complete
> .emacs and .sbclrc, and the way you trigger entry into the debugger.

I've stripped my .emacs and .sbclrc right down and can still reproduce
the error if I follow the steps below

1. Start a fresh instance of emacs
2. M-x slime
3. Enter (some-undefined-function) into the repl

.emacs

(setq inferior-lisp-program "/usr/local/bin/sbcl")
(add-to-list 'load-path "/usr/src/slime/")  ; your SLIME directory
(require 'slime)
(slime-setup)

.sbclrc

(declaim (optimize (safety 3) (debug 3) (speed 0) (space 0)))

Cheers,

 -- Andy




More information about the slime-devel mailing list