[elephant-devel] Problems with elephant on sbcl using postmodern

Hugo Duncan hugo_duncan at yahoo.com
Thu Dec 18 14:26:10 UTC 2008


Hi,

I am attempting to use Elephant (from clbuild) on SBCL (1.0.23.49 and  
1.0.17) on OSX with postmodern and postgresql 8.3.

OPEN-STORE is failing in INIT-ROOT, as below.

Any help appreciated.

Hugo



The value #.(SB-SYS:INT-SAP #X00102300)
is not of type
   (SB-ALIEN:ALIEN (* (SB-ALIEN:UNSIGNED 8))).
    [Condition of type TYPE-ERROR]

Backtrace:
   0: (ELEPHANT-MEMUTIL::WRITE-INT32 #.(SB-SYS:INT-SAP #X00102300) 0  
1)[:EXTERNAL]
   1: ((LABELS ELEPHANT-SERIALIZER2::%SERIALIZE) #<HASH-TABLE :TEST EQL  
:COUNT 0 {130EFA99}>)
   2: (ELEPHANT-SERIALIZER2::SERIALIZE ..)
   3: (DB-POSTMODERN::SERIALIZE-TO-POSTMODERN #<HASH-TABLE :TEST EQL :COUNT  
0 {130EFA99}> #<POSTMODERN-STORE-CONTROLLER (POSTGRESQL 127.0.0.1 elepm  
postgres )>)
   4: (DB-POSTMODERN::POSTGRES-FORMAT #<HASH-TABLE :TEST EQL :COUNT 0  
{130EFA99}> :OBJECT)
   5: ((LAMBDA ()))
   6: ((SB-PCL::FAST-METHOD ELEPHANT::EXECUTE-TRANSACTION  
(DB-POSTMODERN::POSTMODERN-STORE-CONTROLLER T)) ..)[:EXTERNAL]
   7: ((SB-PCL::FAST-METHOD (SETF DB-POSTMODERN::INTERNAL-GET-VALUE) (T T  
DB-POSTMODERN::PM-BTREE)) ..)
   8: ((SB-PCL::FAST-METHOD ELEPHANT::PERSISTENT-SLOT-WRITER  
(DB-POSTMODERN::POSTMODERN-STORE-CONTROLLER T T T)) ..)
   9: (SB-PCL::SET-SLOT-VALUE #<DB-POSTMODERN::PM-INDEXED-BTREE  
db-table:root {1305E1A1}> DB-POSTMODERN::INDICES #<HASH-TABLE :TEST EQL  
:COUNT 0 {130EFA99}>)
  10: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.  
SB-PCL::.ARG1. SB-INT:&MORE SB-PCL::.DFUN-MORE-CONTEXT.  
SB-PCL::.DFUN-MORE-COUNT.)) ..)
  11: ((SB-PCL::FAST-METHOD SHARED-INITIALIZE :AROUND (PERSISTENT-OBJECT  
T)) #<unavailable argument> #<unavailable argument> #<unavailable  
argument> #<unavailable argument>)[:EXTERNAL]
  12: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.  
SB-INT:&MORE SB-PCL::.DFUN-MORE-CONTEXT. SB-PCL::.DFUN-MORE-COUNT.)) ..)
  13: ((SB-PCL::FAST-METHOD MAKE-INSTANCE (CLASS)) #<unavailable argument>  
#<unavailable argument> #<PERSISTENT-METACLASS  
DB-POSTMODERN::PM-INDEXED-BTREE>)[:EXTERNAL]
  14: ((FLET DB-POSTMODERN::INIT-ROOT))
  15: ((LAMBDA ()))
  16: (DB-POSTMODERN::EXECUTE-TRANSACTION-ONE-TRY  
#<POSTMODERN-STORE-CONTROLLER (POSTGRESQL 127.0.0.1 elepm postgres )>  
#<CLOSURE (LAMBDA #) {11EAE7D5}> NIL)
  17: ((SB-PCL::FAST-METHOD ELEPHANT::EXECUTE-TRANSACTION  
(DB-POSTMODERN::POSTMODERN-STORE-CONTROLLER T)) ..)[:EXTERNAL]
  18: ((SB-PCL::FAST-METHOD ELEPHANT::OPEN-CONTROLLER  
(DB-POSTMODERN::POSTMODERN-STORE-CONTROLLER)) ..)[:EXTERNAL]
  19: ((SB-PCL::FAST-METHOD ELEPHANT::OPEN-CONTROLLER :AROUND  
(DB-POSTMODERN::POSTMODERN-STORE-CONTROLLER)) ..)[:EXTERNAL]
  20: (OPEN-STORE (:POSTMODERN (:POSTGRESQL "127.0.0.1" "elepm" "postgres"  
"")))[:EXTERNAL]
  21: (DO-BACKEND-TESTS (:POSTMODERN (:POSTGRESQL "127.0.0.1" "elepm"  
"postgres" "")))
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





More information about the elephant-devel mailing list