[elephant-devel] STOP-AND-COPY-GC fails

Leslie P. Polzer sky at viridian-project.de
Fri Jun 5 08:14:07 UTC 2009


My first try with the new GC:

MYSTIC(39): (stop-and-copy-gc *store-controller*)
Transaction not specified for a transactional database

debugger invoked on a ELEPHANT-DESERIALIZATION-ERROR in thread #<THREAD "initial thread"
RUNNING {A8C7721}>:
  Elephant deserialization error:
Berkeley DB error #22: Invalid argument

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(ELEPHANT::DESERIALIZE
 #S(ELEPHANT-MEMUTIL:BUFFER-STREAM
    :BUFFER #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X081EF1F0 :TYPE (*
                                                                    (SB-ALIEN:UNSIGNED
                                                                     8))>
    :SIZE 5
    :POSITION 5
    :LENGTH 26560)
 #<BDB-STORE-CONTROLLER /home/sky/mystic/db/world/>
 NIL)
0] :ba

0: (ELEPHANT::DESERIALIZE
    #S(ELEPHANT-MEMUTIL:BUFFER-STREAM
       :BUFFER #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X081EF1F0 :TYPE (*
                                                                       (SB-ALIEN:UNSIGNED
                                                                        8))>
       :SIZE 5
       :POSITION 5
       :LENGTH 26560)
    #<BDB-STORE-CONTROLLER /home/sky/mystic/db/world/>
    NIL)
1: ((SB-PCL::FAST-METHOD ELEPHANT::PERSISTENT-SLOT-READER
     (DB-BDB::BDB-STORE-CONTROLLER T T)) #<unavailable lambda list>)
2: ((LAMBDA ()))
3: ((SB-PCL::FAST-METHOD ELEPHANT::EXECUTE-TRANSACTION
     (DB-BDB::BDB-STORE-CONTROLLER T))
    #<unavailable argument>
    #<unavailable argument>
    #<unavailable argument>
    #<unavailable argument>)[:EXTERNAL]
4: (ELEPHANT::COPY-PERSISTENT-OBJECT
    #<unavailable argument>
    #<unavailable argument>)
5: ((LAMBDA
        (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.
         SB-PCL::.ARG1.))
    #<unavailable argument>
    #<unavailable argument>
    #<BDB-STORE-CONTROLLER /home/sky/mystic/db/world1/>
    #<ARMOR "Robe" {DC81D61}>)
6: ((LAMBDA ()) #<unavailable lambda list>)
7: (ELEPHANT::MAP-INDEX-VALUES #<unavailable lambda list>)
8: (MAP-CLASS #<unavailable argument> #<unavailable argument>)[:EXTERNAL]
9: ((LAMBDA ()) #<unavailable lambda list>)
10: ((SB-PCL::FAST-METHOD ELEPHANT::EXECUTE-TRANSACTION
      (DB-BDB::BDB-STORE-CONTROLLER T))
     #<unavailable argument>
     #<unavailable argument>
     #<unavailable argument>
     #<unavailable argument>)[:EXTERNAL]
11: (ELEPHANT::MAP-INDEX-FROM-START #<unavailable lambda list>)
12: (ELEPHANT::MIGRATE-FROM-CURRENT
     #<unavailable argument>
     #<unavailable argument>)
13: ((LAMBDA
         (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.
          SB-PCL::.ARG1.))
     #<unavailable argument>
     #<unavailable argument>
     #<BDB-STORE-CONTROLLER /home/sky/mystic/db/world1/>
     #<BDB-STORE-CONTROLLER /home/sky/mystic/db/world/>)
14: ((SB-PCL::FAST-METHOD STOP-AND-COPY-GC (STORE-CONTROLLER))
     #<unavailable argument>
     #<unavailable argument>
     #<BDB-STORE-CONTROLLER /home/sky/mystic/db/world/>)[:EXTERNAL]
15: (SB-INT:SIMPLE-EVAL-IN-LEXENV
     (STOP-AND-COPY-GC *STORE-CONTROLLER*)
     #<NULL-LEXENV>)
16: (SB-EXT:INTERACTIVE-EVAL (STOP-AND-COPY-GC *STORE-CONTROLLER*))
17: (SB-ACLREPL::REP-ONE)
18: (SB-ACLREPL::REPL)[:EXTERNAL]
19: ((LAMBDA (SB-ACLREPL::NOPRINT)) NIL)
20: ((LAMBDA ()))
21: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {AF03D6D}>)
22: (SB-IMPL::TOPLEVEL-REPL NIL)
23: (SB-IMPL::TOPLEVEL-INIT)
24: ((LABELS SB-IMPL::RESTART-LISP))

0] :ab

MYSTIC(40): (with-transaction () (stop-and-copy-gc *store-controller*))

debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" RUNNING {A8C7721}>:
  The assertion (NULL ELEPHANT::*CURRENT-TRANSACTION*) failed.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Retry assertion.
  1: [ABORT   ] Exit debugger, returning to top level.

(SB-KERNEL:ASSERT-ERROR (NULL ELEPHANT::*CURRENT-TRANSACTION*) NIL NIL)[:EXTERNAL]
0] 1


Hmmm...


-- 
http://www.linkedin.com/in/polzer





More information about the elephant-devel mailing list