[rucksack-devel] Rucksack tests fail when trying to deserialize object

Tiarnan O'Corrain ocorrain at gmail.com
Fri Aug 11 15:46:19 UTC 2006


Hi--

I'm running SBCL 0.9.15 on NetBSD 3.01.

The rucksack test suite fails with:

end of file on #<RUCKSACK::SERIALIZER {62A0F5A9}>
   [Condition of type END-OF-FILE]

Backtrace (from slime):
  0: (RUCKSACK::DESERIALIZE #<RUCKSACK::SERIALIZER {62A0F5A9}> T NIL)
  1: (RUCKSACK::DESERIALIZE-LIST #<RUCKSACK::SERIALIZER {62A0F5A9}>)
  2: (RUCKSACK::LOAD-OBJECTS #P"/tmp/rucksack-test-suite/schemas")
  3: (RUCKSACK::OPEN-SCHEMA-TABLE #P"/tmp/rucksack-test-suite/schemas"
:IF-EXISTS :OVERWRITE :IF-DOES-NOT-EXIST :CREATE)
  4: ((SB-PCL::FAST-METHOD INITIALIZE-INSTANCE :AFTER
(RUCKSACK:STANDARD-CACHE)) #<error printing object>)
  5: ((LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL.
SB-PCL::.ARG0. SB-PCL::.DFUN-REST-ARG.)) #<error printing object>)
  6: ((SB-PCL::FAST-METHOD MAKE-INSTANCE (CLASS)) #<unavailable
argument> #<unavailable argument> #<STANDARD-CLASS
RUCKSACK:STANDARD-CACHE> (:DIRECTORY #1=#P"/$
  7: (RUCKSACK:OPEN-CACHE #P"/tmp/rucksack-test-suite/" :CLASS
RUCKSACK:STANDARD-CACHE :RUCKSACK
#<RUCKSACK::SERIAL-TRANSACTION-RUCKSACK in #P"/tmp/rucksack-te$
  8: ((SB-PCL::FAST-METHOD INITIALIZE-INSTANCE :AFTER
(RUCKSACK:STANDARD-RUCKSACK)) (#(NIL 0) . #()) #<unavailable argument>
#<RUCKSACK::SERIAL-TRANSACTION-RUC$
  9: ((LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL.
SB-PCL::.ARG0. SB-PCL::.DFUN-REST-ARG.)) #<unavailable argument>
#<unavailable argument> #<RUCKSACK$
 10: ((SB-PCL::FAST-METHOD MAKE-INSTANCE (CLASS)) #<unavailable
argument> #<unavailable argument> #<STANDARD-CLASS
RUCKSACK::SERIAL-TRANSACTION-RUCKSACK> (:DIR$
 11: (RUCKSACK:OPEN-RUCKSACK #<unavailable argument> :IF-EXISTS :SUPERSEDE)
 12: (TEST-RUCKSACK::TEST-BASICS)
 13: (SB-FASL::LOAD-FASL-GROUP #<SB-SYS:FD-STREAM for "file
/home/ocorrait/src/rucksack/test.fasl" {6241F391}>)
 14: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file
/home/ocorrait/src/rucksack/test.fasl" {6241F391}> NIL #<unavailable
argument>)
 15: (SB-FASL::INTERNAL-LOAD #P"/home/ocorrait/src/rucksack/test.fasl"
#P"/home/ocorrait/src/rucksack/test.fasl" :ERROR NIL NIL :BINARY NIL)
 16: (SB-FASL::INTERNAL-LOAD #P"/home/ocorrait/src/rucksack/test.fasl"
#P"/home/ocorrait/src/rucksack/test.fasl" :ERROR NIL NIL NIL :DEFAULT)
 17: (LOAD #P"/home/ocorrait/src/rucksack/test.fasl")
 18: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:LOAD-OP
ASDF:CL-SOURCE-FILE)) #<unavailable argument> #<unavailable argument>
#<ASDF:LOAD-OP NIL {63A247E1}> #<AS$
 19: ((LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL.
SB-PCL::.ARG0. SB-PCL::.ARG1.)) #<unavailable argument> #<unavailable
argument> #<ASDF:LOAD-OP NIL $
 20: ((LAMBDA NIL))
 21: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA NIL) {63A52985}>)
 22: (ASDF:OPERATE ASDF:LOAD-OP RUCKSACK)

When I look at the temporary store, I see that the file is empty

$ ls -l /tmp/rucksack-test-suite/
total 12
-rw-r--r--  1 ocorrait  wheel  259 Aug 11 16:41 heap
-rw-r--r--  1 ocorrait  wheel   10 Aug 11 16:41 objects
-rw-r--r--  1 ocorrait  wheel    0 Aug  4 16:25 schemas
-rw-r--r--  1 ocorrait  wheel   73 Aug 11 16:41 store

Any ideas?

regards

Tiarnán



More information about the rucksack-devel mailing list