[elephant-devel] Concurrency problem?

Pierre THIERRY nowhere.man at levallois.eu.org
Thu Nov 9 23:19:29 UTC 2006


Scribit Ian Eslick dies 09/11/2006 hora 16:30:
> Did you recompile libsleepycat.c between tests?  It depends on the
> db.h that you've set in the Makefile.  That has to be set to the
> BDB-4.3 directory for 0.6.0

I did not set the directory in the Makefile, but always did the test
with a freshly copied source. So I restarted with a fresh source, with
the following modifications:

Index: elephant-0.6.0/Makefile
===================================================================
--- elephant-0.6.0.orig/Makefile
+++ elephant-0.6.0/Makefile
@@ -32,7 +32,7 @@
 #

 # But I will assume that Linux is more common?
-DB43DIR=/usr/local/BerkeleyDB.4.3/
+DB43DIR=/usr
 # Dan Knapp contributed this line, which came form OS X?
 # DB43DIR=/sw
 # Other example paths
Index: elephant-0.6.0/config.lisp
===================================================================
--- elephant-0.6.0.orig/config.lisp
+++ elephant-0.6.0/config.lisp
@@ -28,7 +28,7 @@
        ;; Sleepycat: this works on linux
        #+linux
 ;;       "/db/ben/lisp/db43/lib/libdb.so"
-       "/usr/local/BerkeleyDB.4.3/lib/libdb-4.3.so"
+       "/usr/lib/libdb-4.3.so"
        ;; this works on FreeBSD
        #+(and (or bsd freebsd) (not (or darwin macosx)))
        "/usr/local/lib/db43/libdb.so"

And then it didn't stop at WRAP-ERRNO but at the FLAGS macro... And I
also discovered something, because I went to the *inferior-lisp* buffer
of SLIME:

fatal error encountered in SBCL pid 8244(tid 2789931936):
GC invariant lost, file "thread.c", line 553

I had entered LDB. I'll try to see how other Lisp implementations
behave.

Unsuccessfully,
Nowhere man
-- 
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20061110/a65f5a01/attachment.sig>


More information about the elephant-devel mailing list