[elephant-devel] SBCL exits abnormally when compiling sleepycat.lisp

Ian Eslick eslick at csail.mit.edu
Fri Jun 23 18:51:29 UTC 2006


I'm not sure I have a bunch of sage advice for you here.  The file
appears to compile correctly so it must be either something going on in
SBCL 0.9.12 interacting with FFI and/or pthreads/libdb library versions
or something else.  I can run elephant fine on Linux under Allegro and
fine on SBCL under Mac OS X.

I won't be able to try this out on a Linux box for a few days...

Good luck!  Let me know if anything changes and if not, remind me early
next week and I'll try the latest SBCL under Linux.  I last tested under
0.9.7 on Mac OS X and I believe 0.9.9 on Linux.

Cheers,
Ian

Howard Yeh wrote:
> Hi,
>
> I am trying to get Elephant to work.
>
> (require :elephant)
> (require :elephant-tests)
> (in-package "ELEPHANT-TESTS")
> (setf *default-spec* *testbdb-spec*)
> (do-backend-tests)
>
> ASDF seems to compile and load :elephant and :elephant-tests ok.
> But when I try (do-backend-tests), ASDF tries to compile sleepycat.lisp
> and causes SBCL to exit abnormally (code 256).
>
> Then I tried to compile sleepycat.lisp individually to see what happens.
>
> (require :elephant)
> (compile-file
> #p"/home/howard/wisp/src/libs/elephant/src/db-bdb/sleepycat.lisp"
> :verbose t)
>
> Same thing, abnormal exit 256. I did a lot of fiddling around, but
> still can't get it to work. I have no idea what's going on.
>
> I am using Elephant 0.6.0 and SBCL 0.9.12.
>
>
> -Howard
>
>
> ; compiling file
> "/home/howard/wisp/src/libs/elephant/src/db-bdb/sleepycat.lisp"
> (written 10 MAY 2006 07:42:51 PM):
> ; compiling (IN-PACKAGE "SLEEPYCAT")
> ; compiling (DECLAIM (INLINE %DB-GET-KEY-BUFFERED ...))
> ; compiling (UNLESS (LOAD-FOREIGN-LIBRARY
> ELEPHANT::*SLEEPYCAT-PTHREADS-PATH* ...) ...)
> ; compiling (UNLESS (LOAD-FOREIGN-LIBRARY
> ELEPHANT::*SLEEPYCAT-FOREIGN-LIBRARY-PATH* ...) ...)
> ; compiling (UNLESS (LOAD-FOREIGN-LIBRARY # ...) ...)
> ; compiling (DEF-FUNCTION ("db_strerr" %DB-STRERROR) ...)
> ; compiling (DEFUN DB-STRERROR ...)
> ; compiling (DEFINE-CONDITION DB-ERROR ...)
> ; compiling (DEFCONSTANT DB-BTREE ...)
> ; compiling (DEFCONSTANT DB-HASH ...)
> ; compiling (DEFCONSTANT DB-RECNO ...)
> ; compiling (DEFCONSTANT DB-QUEUE ...)
> ; compiling (DEFCONSTANT DB-UNKNOWN ...)
> ; compiling (DEFCONSTANT DB_AUTO_COMMIT ...)
> ; compiling (DEFCONSTANT DB_JOINENV ...)
> ; compiling (DEFCONSTANT DB_INIT_CDB ...)
> ; compiling (DEFCONSTANT DB_INIT_LOCK ...)
> ; compiling (DEFCONSTANT DB_INIT_LOG ...)
> ; compiling (DEFCONSTANT DB_INIT_MPOOL ...)
> ; compiling (DEFCONSTANT DB_INIT_REP ...)
> ; compiling (DEFCONSTANT DB_INIT_TXN ...)
> ; compiling (DEFCONSTANT DB_RECOVER ...)
> ; compiling (DEFCONSTANT DB_RECOVER_FATAL ...)
> ; compiling (DEFCONSTANT DB_LOCKDOWN ...)
> ; compiling (DEFCONSTANT DB_PRIVATE ...)
> ; compiling (DEFCONSTANT DB_SYSTEM_MEM ...)
> ; compiling (DEFCONSTANT DB_THREAD ...)
> ; compiling (DEFCONSTANT DB_FORCE ...)
> ; compiling (DEFCONSTANT DB_DEGREE_2 ...)
> ; compiling (DEFCONSTANT DB_DIRTY_READ ...)
> ; compiling (DEFCONSTANT DB_CREATE ...)
> ; compiling (DEFCONSTANT DB_EXCL ...)
> ; compiling (DEFCONSTANT DB_NOMMAP ...)
> ; compiling (DEFCONSTANT DB_RDONLY ...)
> ; compiling (DEFCONSTANT DB_TRUNCATE ...)
> ; compiling (DEFCONSTANT DB_TXN_NOSYNC ...)
> ; compiling (DEFCONSTANT DB_TXN_NOWAIT ...)
> ; compiling (DEFCONSTANT DB_TXN_SYNC ...)
> ; compiling (DEFCONSTANT DB_LOCK_NOWAIT ...)
> ; compiling (DEFCONSTANT DB_DUP ...)
> ; compiling (DEFCONSTANT DB_DUPSORT ...)
> ; compiling (DEFCONSTANT DB_CURRENT ...)
> ; compiling (DEFCONSTANT DB_FIRST ...)
> ; compiling (DEFCONSTANT DB_GET_BOTH ...)
> ; compiling (DEFCONSTANT DB_GET_BOTH_RANGE ...)
> ; compiling (DEFCONSTANT DB_LAST ...)
> ; compiling (DEFCONSTANT DB_NEXT ...)
> ; compiling (DEFCONSTANT DB_NEXT_DUP ...)
> ; compiling (DEFCONSTANT DB_NEXT_NODUP ...)
> ; compiling (DEFCONSTANT DB_PREV ...)
> ; compiling (DEFCONSTANT DB_PREV_NODUP ...)
> ; compiling (DEFCONSTANT DB_SET ...)
> ; compiling (DEFCONSTANT DB_SET_RANGE ...)
> ; compiling (DEFCONSTANT DB_AFTER ...)
> ; compiling (DEFCONSTANT DB_BEFORE ...)
> ; compiling (DEFCONSTANT DB_KEYFIRST ...)
> ; compiling (DEFCONSTANT DB_KEYLAST ...)
> ; compiling (DEFCONSTANT DB_NODUPDATA ...)
> ; compiling (DEFCONSTANT DB_NOOVERWRITE ...)
> ; compiling (DEFCONSTANT DB_NOSYNC ...)
> ; compiling (DEFCONSTANT DB_POSITION ...)
> ; compiling (DEFCONSTANT DB_SEQ_DEC ...)
> ; compiling (DEFCONSTANT DB_SEQ_INC ...)
> ; compiling (DEFCONSTANT DB_SEQ_WRAP ...)
> ; compiling (DEFCONSTANT DB_SET_LOCK_TIMEOUT ...)
> ; compiling (DEFCONSTANT DB_SET_TXN_TIMEOUT ...)
> ; compiling (DEFCONSTANT DB_KEYEMPTY ...)
> ; compiling (DEFCONSTANT DB_KEYEXIST ...)
> ; compiling (DEFCONSTANT DB_LOCK_DEADLOCK ...)
> ; compiling (DEFCONSTANT DB_LOCK_NOTGRANTED ...)
> ; compiling (DEFCONSTANT DB_NOTFOUND ...)
> ; compiling (DEFCONSTANT DB_LOCK_DEFAULT ...)
> ; compiling (DEFCONSTANT DB_LOCK_EXPIRE ...)
> ; compiling (DEFCONSTANT DB_LOCK_MAXLOCKS ...)
> ; compiling (DEFCONSTANT DB_LOCK_MAXWRITE ...)
> ; compiling (DEFCONSTANT DB_LOCK_MINLOCKS ...)
> ; compiling (DEFCONSTANT DB_LOCK_MINWRITE ...)
> ; compiling (DEFCONSTANT DB_LOCK_OLDEST ...)
> ; compiling (DEFCONSTANT DB_LOCK_RANDOM ...)
> ; compiling (DEFCONSTANT DB_LOCK_YOUNGEST ...)
> ; compiling (DEF-ENUM DB-LOCKOP ...)
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel



More information about the elephant-devel mailing list