Um, actually to sbcl-devel.
---------- Forwarded message ----------
From: Nikodemus Siivola <nikodemus@...>
Date: 6 April 2010 10:18
Subject: Re: [slime-devel] Memory corruption error triggered by slime on sbcl
On 5 April 2010 17:51, Andy Chambers <achambers.home@...> wrote:
Moving to sbcl-devel, since this is almost certainly an SBCL issue,
not a Slime one.
> The error is triggered when entering the debugger, but only when doing
> so through slime. Also, the address provided in the message below is always the same.
> * CORRUPTION WARNING in SBCL pid 4108(tid 3048868752):
> Memory fault at 720550f8 (pc=0x901b52a, sp=0xb5b9ece0)
> The integrity of this image is possibly compromised.
> Continuing with fingers crossed.
I tried to, but wasn't able to reproduce this yet. We've had a
(OPTIMIZE DEBUG) related bugs in the past, that's where my suspicion
Does this occur with SBCL 1.0.37 (or newer) as well? If so:
What does `uname -a` say?
What are the SBCL *features*?
Please provide exact directions to reproduce, including complete
.emacs and .sbclrc, and the way you trigger entry into the debugger.
From: Andy Chambers <achambers.home@go...> - 2010-04-07 18:14:42
> Does this occur with SBCL 1.0.37 (or newer) as well? If so:
I upgraded to 18.104.22.168
> 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
:COMPARE-AND-SWAP-VOPS :UNWIND-TO-FRAME-AND-CALL-VOP :RAW-INSTANCE-INIT-VOPS
:STACK-ALLOCATABLE-LISTS :STACK-ALLOCATABLE-FIXED-OBJECTS :ALIEN-CALLBACKS
:CYCLE-COUNTER :INLINE-CONSTANTS :LINKAGE-TABLE :OS-PROVIDES-DLOPEN
> 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
(setq inferior-lisp-program "/usr/local/bin/sbcl")
(add-to-list 'load-path "/usr/src/slime/") ; your SLIME directory
(declaim (optimize (safety 3) (debug 3) (speed 0) (space 0)))