I'm experiencing problems when I try to run Elephant using SBCL 1.0.44
on a 64-bit Atom based Gentoo system.
However, if I run it on my Core-2 based 64-bit system I do not get any
errors. Unfortunately the OS versions are not completely identical, but
quite similar. The Core-2 is somewhat older.
I have enclosed a script which will fetch and build SBCL as well as
elephant. It should work if you have wget, darcs, and Berkeley DB 4.7
installed on your system.
I would be happy if somebody have the capacity and willingness to try
the script, especially if you have a 64-bit Intel Atom system. It
takes quite a while since it will download and build SBCL and Elephant
a, but it will run unattended.
On my Intel Atom system I get:
CORRUPTION WARNING in SBCL pid 10852(tid 140737354057472):
Memory fault at 7d0 (pc=0x7ffff7461b52, sp=0x7fffef39f618)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
debugger invoked on a SB-SYS:MEMORY-FAULT-ERROR in thread #<THREAD
"initial thread" RUNNING
Unhandled memory fault at #x7D0.
On my Intel Core-2 system I get:
* *** GOT KEY ("Zappa rules!") IN SECOND INVOCATION
I also get the correct result on a 32-bit based Atom.
I'm not sure if this is related to the OS, Berkeley DB, Elephant, or
SBCL. Presumably with some more statistics I would get some
indications of which.
Any ideas welcome.
P.S. The script will install QuickLisp if it's not installed
From: Petter Gustad <sbcl@...>
Subject: [Sbcl-devel] CORRUPTION WARNING in SBCL 1.0.44/Elephant 1.0 on 64-bit Intel Atom
Date: Thu, 02 Dec 2010 21:21:58 +0100 (CET)
> I'm not sure if this is related to the OS, Berkeley DB, Elephant, or
> SBCL. Presumably with some more statistics I would get some
> indications of which.
I tried with ccl "Version 1.5-r13651 (LinuxX8664)" and got:
exception in foreign context
Exception occurred while executing foreign code
at strlen + 18
So it's probably not related to SBCL, but most likely my BDB
installation or Elephant(FFI).