[elephant-devel] add-to-root problem

Slobodan Blazeski slobodan.blazeski at gmail.com
Mon Oct 8 19:52:58 UTC 2007


Hi All

This is a log from running  the tests on Allegro, I was unable to run FiveAM
on LW:

ELE-TESTS(8): (time (do-backend-tests))


; loading system definition from
c:\libraries\elephant\ele-postmodern.asdinto #<The ASDF0 package>
; Loading c:\libraries\elephant\ele-postmodern.asd
; registering #<SYSTEM ELE-POSTMODERN @ #x21232daa> as ELE-POSTMODERN
Attempting to load libmemutil.dll...
Loaded c:\libraries\elephant\libmemutil.dll
;;; Compiling file c:\libraries\elephant\src\memutil\memutil.lisp
;;; Writing fasl file c:\libraries\elephant\src\memutil\memutil.fasl
;;; Fasl write complete
; Fast loading c:\libraries\elephant\src\memutil\memutil.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\package.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\pm-sql.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\pm-controller.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\pm-transaction.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\pm-btree.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\pm-cursor.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\pm-btree-index.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\pm-indexed-btree.fasl
; Fast loading c:\libraries\elephant\src\db-postmodern\pm-secondary.fasl
; Fast loading from bundle code\acldns.fasl.
Warning: Postgres warning: CREATE TABLE / PRIMARY KEY will create implicit
index "blob_pkey" for table "blob"
Warning: Postgres warning: CREATE TABLE / PRIMARY KEY will create implicit
index "metatree_pkey" for table "metatree"
..f........
; While compiling (:ANONYMOUS-LAMBDA 129):
Warning: Variable REHASH-THRESHOLD is never used.
Warning: Variable REHASH-SIZE is never used.
.....X.......X.....................................X............................
; While compiling (:ANONYMOUS-LAMBDA 150):
Warning: Variable INST is never used.
.......................
; While compiling (:ANONYMOUS-LAMBDA 156):
Warning: Free reference to undeclared variable RV assumed special.
Testing length = 163840
..X...........X
; While compiling (FLET (:ANONYMOUS-LAMBDA 166) COLLECTOR):
Warning: Variable PKEY is never used.
Warning: Variable KEY is never used.
fXX
; While compiling (FLET (:ANONYMOUS-LAMBDA 169) COLLECTOR):
Warning: Variable PKEY is never used.
Warning: Variable KEY is never used.
fXX.
; While compiling (FLET (:ANONYMOUS-LAMBDA 173) RETURNER):
Warning: Variable PKEY is never used.
Warning: Variable KEY is never used.
fXX...X
; While compiling (FLET (:ANONYMOUS-LAMBDA 178) COLLECTOR):
Warning: Variable PKEY is never used.
Warning: Variable KEY is never used.
f
; While compiling (:INTERNAL (:ANONYMOUS-LAMBDA 180) 0):
Warning: Variable KEY is never used.
Warning: Variable HAS is never used.
Warning: Variable KEY is never used.
Warning: Variable HAS is never used.
Warning: Variable VALUE is never used.
Warning: Variable KEY is never used.
Warning: Variable HAS is never used.
.ff...X.....
; While compiling (:ANONYMOUS-LAMBDA 194):
Warning: Variable LIST is never used.
...........
; While compiling (:ANONYMOUS-LAMBDA 202):
Warning: Variable K is never used.
Warning: Variable M is never used.
.....
; While compiling (:ANONYMOUS-LAMBDA 204):
Warning: Variable M is never used.
...X.......................
; While compiling (:INTERNAL (:ANONYMOUS-LAMBDA 210) 0):
Warning: Variable V is never used.
Warning: Variable K is never used.
Warning: Variable K is never used.
Warning: Variable M is never used.
X
; While compiling (:INTERNAL (:ANONYMOUS-LAMBDA 211) 0):
Warning: Variable K is never used.
Warning: Variable K is never used.
Warning: Variable M is never used.
X..
; While compiling (:ANONYMOUS-LAMBDA 213):
Warning: Variable BOOL is never used.
X
; While compiling (:INTERNAL (:ANONYMOUS-LAMBDA 214) 0):
Warning: Variable K is never used.
f
; While compiling (:INTERNAL (:ANONYMOUS-LAMBDA 215) 0):
Warning: Variable K is never used.
...............
; While compiling (:INTERNAL (:ANONYMOUS-LAMBDA 218) 0):
Warning: Variable V is never used.
Warning: Variable K is never used.
.
; While compiling (:ANONYMOUS-LAMBDA 219):
Warning: Variable M is never used.
.......................................................
; While compiling (:ANONYMOUS-LAMBDA 241):
Warning: Free reference to undeclared variable *TEST-SPEC-SECONDARY* assumed
special.
Warning: Free reference to undeclared variable *TEST-SPEC-PRIMARY* assumed
special.

Single store mode: ignoring.X......
Warning: While compiling these undefined functions were referenced: SLOT6.
........X
; While compiling (:ANONYMOUS-LAMBDA 256):
Warning: Free reference to undeclared variable *TEST-SPEC-SECONDARY* assumed
special.

Single store mode: ignoring.
; While compiling (:ANONYMOUS-LAMBDA 257):
Warning: Free reference to undeclared variable *TEST-SPEC-SECONDARY* assumed
special.
Warning: Free reference to undeclared variable *TEST-SPEC-PRIMARY* assumed
special.

Single store mode: ignoring.
; While compiling (:ANONYMOUS-LAMBDA 258):
Warning: Free reference to undeclared variable *TEST-SPEC-SECONDARY* assumed
special.
Warning: Free reference to undeclared variable *TEST-SPEC-PRIMARY* assumed
special.

Single store mode: ignoring.
; While compiling (:ANONYMOUS-LAMBDA 259):
Warning: Free reference to undeclared variable *TEST-SPEC-SECONDARY* assumed
special.
Warning: Free reference to undeclared variable *TEST-SPEC-PRIMARY* assumed
special.

Single store mode: ignoring ..........
; While compiling (:INTERNAL (:ANONYMOUS-LAMBDA 265) 0):
Warning: Free reference to undeclared variable INST4 assumed special.
Warning: Free reference to undeclared variable INST5 assumed special.
Warning: Free reference to undeclared variable INST6 assumed special.
XX..........
Warning: While compiling these undefined functions were referenced:
MAKE-IDX-FOUR.
...X
; While compiling (:ANONYMOUS-LAMBDA 285):
Warning: Free reference to undeclared variable *TEST-SPEC-SECONDARY* assumed
special.
Warning: Free reference to undeclared variable *TEST-SPEC-PRIMARY* assumed
special.

Single store mode: ignoring......
Ranged get of 10/700 objects = Linear: 16.453 sec Indexed: 1.362 sec
.
; While compiling (:ANONYMOUS-LAMBDA 291):
Warning: Free reference to undeclared variable *TEST-SPEC-SECONDARY* assumed
special.
Warning: Free reference to undeclared variable *TEST-SPEC-PRIMARY* assumed
special.
Warning: Variable RV is never used.

Single store mode: ignoring.............................
; While compiling (:ANONYMOUS-LAMBDA 309):
Warning: Free reference to undeclared variable *TEST-SPEC-SECONDARY* assumed
special.

Second store spec missing: ignoring............
 Did 370 checks.
    Pass: 340 (91%)
    Skip: 0 ( 0%)
    Fail: 30 ( 8%)

 Failure Details:
 --------------------------------
 INDEXING-BASIC-TRIVIAL []:
      Unexpected Error: #<PROGRAM-ERROR @ #x213cebf2>
Class #<PERSISTENT-METACLASS IDX-ONE> is not yet finalized...
 --------------------------------
 --------------------------------
 INDEXING-BASIC-WITH-SYMBOL []:
      Unexpected Error: #<PROGRAM-ERROR @ #x2130bbc2>
Class #<PERSISTENT-METACLASS IDX-ONE> is not yet finalized...
 --------------------------------
 --------------------------------
 INDEXING-BASIC-WITH-STRING []:
      Unexpected Error: #<PROGRAM-ERROR @ #x2169017a>
Class #<PERSISTENT-METACLASS IDX-ONE> is not yet finalized...
 --------------------------------
 --------------------------------
 INDEXING-BASIC []:
      Unexpected Error: #<PROGRAM-ERROR @ #x216ca33a>
Class #<PERSISTENT-METACLASS IDX-ONE> is not yet finalized...
 --------------------------------
 --------------------------------
 INDEXING-SLOT-MAKUNBOUND []:
      Unexpected Error: #<PROGRAM-ERROR @ #x2132312a>
The slot SLOT1 is missing from the object #<IDX-UNBOUND-DEL oid:46> of
class #<PERSISTENT-METACLASS IDX-UNBOUND-DEL> during operation SETF..
 --------------------------------
 --------------------------------
 DUP-TEST []:
      (POP #:RESULT26752) evaluated to (0
                                  -2
                                  -3
                                  -4
                                  -5
                                  -6
                                  -7
                                  -8
                                  -9), which is not EQUALP to (0
                                                               -1
                                                               -2
                                                               -3
                                                               -4
                                                               -5
                                                               -6
                                                               -7
                                                               -8
                                                               -9)..
 --------------------------------
 --------------------------------
 GET-FROM-INDEX3 []:
      Unexpected Error: #<TYPE-ERROR @ #x2176dcca>
`NIL' is not of the expected type `NUMBER'..
 --------------------------------
 --------------------------------
 PREV-NODUP-TEST []:
      Unexpected Error: #<SIMPLE-ERROR @ #x216a9a92>
precondition for this test is wrong (-9999), check dependencies between
tests..
 --------------------------------
 --------------------------------
 PPREV-NODUP-TEST []:
      Unexpected Error: #<SIMPLE-ERROR @ #x2167f952>
precondition for this test is wrong, check dependencies between tests..
 --------------------------------
 --------------------------------
 GET-INDEXED2 []:
      Unexpected Error: #<TYPE-ERROR @ #x212bb0f2>
`NIL' is not of the expected type `NUMBER'..
 --------------------------------
 --------------------------------
 BTREE-GET []:
      Unexpected Error: #<PROGRAM-ERROR @ #x216e9b32>
No methods applicable for generic function
#<STANDARD-GENERIC-FUNCTION SLOT1> with args (NIL) of classes (NULL)..
 --------------------------------
 --------------------------------
 GET-FIRST []:
      (POP #:RESULT26496) evaluated to NIL, which is not EQUALP to T..
 --------------------------------
 --------------------------------
 MAP-INDEXED []:
      (POP #:RESULT26483) evaluated to NIL, which is not EQUALP to T..
 --------------------------------
 --------------------------------
 MAP-INDEXED-INDEX []:
      (POP #:RESULT26600) evaluated to 0, which is not EQUALP to 15449..
 --------------------------------
 --------------------------------
 GET-LAST []:
      Unexpected Error: #<TYPE-ERROR @ #x213b3a32>
`NIL' is not of the expected type `NUMBER'..
 --------------------------------
 --------------------------------
 SET-RANGE []:
      Unexpected Error: #<PROGRAM-ERROR @ #x21363252>
No methods applicable for generic function
#<STANDARD-GENERIC-FUNCTION SLOT1> with args (NIL) of classes (NULL)..
 --------------------------------
 --------------------------------
 GET-LAST2 []:
      Unexpected Error: #<TYPE-ERROR @ #x213477b2>
`NIL' is not of the expected type `NUMBER'..
 --------------------------------
 --------------------------------
 MAP-INDEX-COLLECT-PARAM []:
      (LIST 990) evaluated to (990), which is not EQUAL to NIL..
 --------------------------------
 --------------------------------
 SET2 []:
      Unexpected Error: #<PROGRAM-ERROR @ #x212dbc92>
No methods applicable for generic function
#<STANDARD-GENERIC-FUNCTION SLOT2> with args (NIL) of classes (NULL)..
 --------------------------------
 --------------------------------
 SET-RANGE2 []:
      Unexpected Error: #<PROGRAM-ERROR @ #x212c0232>
No methods applicable for generic function
#<STANDARD-GENERIC-FUNCTION SLOT2> with args (NIL) of classes (NULL)..
 --------------------------------
 --------------------------------
 MAP-INDEX-VALUE-PARAM []:
      990 evaluated to 990, which is not = to 0..
 --------------------------------
 --------------------------------
 GET-FIRST2 []:
      Unexpected Error: #<TYPE-ERROR @ #x2168a1c2>
`NIL' is not of the expected type `NUMBER'..
 --------------------------------
 --------------------------------
 INDEXED-GET-FROM-SLOT2 []:
      Unexpected Error: #<PROGRAM-ERROR @ #x2166f3f2>
No methods applicable for generic function
#<STANDARD-GENERIC-FUNCTION SLOT2> with args (NIL) of classes (NULL)..
 --------------------------------
 --------------------------------
 MAP-INDEX-FROM-END []:
      (POP #:RESULT26613) evaluated to 0, which is not EQUALP to 15449..
 --------------------------------
 --------------------------------
 SET []:
      Unexpected Error: #<PROGRAM-ERROR @ #x21635852>
No methods applicable for generic function
#<STANDARD-GENERIC-FUNCTION SLOT1> with args (NIL) of classes (NULL)..
 --------------------------------
 --------------------------------
 INDEXED-GET []:
      Unexpected Error: #<PROGRAM-ERROR @ #x2130ba0a>
No methods applicable for generic function
#<STANDARD-GENERIC-FUNCTION SLOT1> with args (NIL) of classes (NULL)..
 --------------------------------
 --------------------------------
 INITARG-TEST []:
      Unexpected Error: #<PROGRAM-ERROR @ #x214ade9a>
No class named: P-INITFORM-TEST-2...
 --------------------------------
 --------------------------------
 MAKUNBOUND []:
      Unexpected Error: #<SIMPLE-ERROR @ #x211edbca>
Call to finalize-inheritance on forward-referenced-class
#<ACLMOP:FORWARD-REFERENCED-CLASS P-CLASS>..
 --------------------------------
 --------------------------------
 INITFORM-TEST []:
      Unexpected Error: #<PROGRAM-ERROR @ #x211c6eea>
No class named: P-INITFORM-TEST...
 --------------------------------
 --------------------------------
 BAD-INHERITENCE []:
      (POP #:RESULT26017) evaluated to NIL, which is not EQUALP to T..
 --------------------------------

; cpu time (non-gc) 131,899 msec (00:02:11.899) user, 55,690 msec system
; cpu time (gc)     4,407 msec user, 0 msec system
; cpu time (total)  136,306 msec (00:02:16.306) user, 55,690 msec system
; real time  426,904 msec (00:07:06.904)
; space allocation:
;  17,912,402 cons cells, 630,396,768 other bytes, 168,713 static bytes
NIL



On 10/7/07, Robert L. Read <read at robertlread.net> wrote:
>
> I'm afraid I don't personally have an LW system installed, nor do I have
> easy access to a windows machine.
>
> I don't think I will be able to help you, unless you can follow Henrik's
> suggestion and get the FiveAM, and therefore the test suite, working on
> your system.
>
> I think it important to support working on as many platforms as
> possible.  I would like to track this down, but I am pretty helpless
> when it comes to debugging on a system I don't have.
>
> The fact that you got it to work under Allegro suggests that it is some
> problem with our usage of LispWorks, and not a bug affecting every
> installation.
>
>
> On Sun, 2007-10-07 at 12:11 +0200, Slobodan Blazeski wrote:
> > Hi Richard
> >
> > I tried postmodern backend and under Allegro everything
> > seems fine, LW makes the same problem.
> > I was unable to run
> > tests since they depend on FiveAM which I'm  unable to install under
> windows.
> >
> > cheers
> >
> > Slobodan
> >
> > On 10/4/07, Slobodan Blazeski <slobodan.blazeski at gmail.com> wrote:
> >
> >
> >         On 10/4/07, Robert L. Read <read at robertlread.net> wrote:
> >                 Dear Slobodan,
> >
> >                 I suspect that this Lispworks dependent-bug, since it
> >                 appears to be in
> >                 the serializer, and related to type-dependent
> >                 information.
> >
> >                 Have you run the test suite?  I suspect that seeing
> >                 which tests fail or
> >                 succeed would give us a good indication.  An example
> >                 from which you can
> >                 prune out just what you need can be found in
> >                 "tests/RUNTEST.lisp" in the
> >                 distribution.
> >
> >         I didn't run the test but will do that and post the findings.
> >
> >                 Also, splease specify what version you are using, and
> >                 if you are using
> >                 the postmodern interface to postgres, or the generic
> >                 one (called
> >                 cl-sql).  The postmodern interface is not offically
> >                 released yet, but it
> >                 is much better, and I have been using for some months
> >
> >         I'm using generic clsql interface with  0.9
> >         version downloaded from
> http://common-lisp.net/project/elephant/dist/elephant-0.9.tar.gz
> >         plus
> >         prebuilt Elephant dlls. I will try to open store with postmodern
> and see how it goes.
> >
> >         thanks
> >         Bobi
> >
> >
> >                 .
> >
> >
> >
> >
> >
> >                 On Wed, 2007-10-03 at 23:25 +0200, Slobodan Blazeski
> >                 wrote:
> >                 > I just installed elephant
> >                 > under lispworks windows with postgre as backened.
> >                 Succesfully opened a store and I'm trying to fallow
> >                 the tutorial. However I am unable to add elments to
> >                 the root. Always get the same Error: #\something  is
> >                 not of type INTEGER like below:
> >                 > ELE-USER 45 : 4 > (add-to-root "my key" "my
> >                 value") .
> >                 > Any ideas ?
> >                 > thanks
> >                 > Slobodan
> >                 >
> >                 > Error: #\Tab is not of type INTEGER.
> >                 > 1 (abort) Return to level 4.
> >                 > 2 Return to debug level 4.
> >                 > 3 Return to level 3.
> >                 > 4 Return to debug level 3.
> >                 > 5 Return to level 2.
> >                 > 6 Return to debug level 2.
> >                 > 7 Return to level 1.
> >                 > 8 Return to debug level 1.
> >                 > 9 Return to level 0.
> >                 > 10 Return to top loop level 0.
> >                 >
> >                 > Type :b for backtrace, :c <option number> to
> >                 proceed, or :? for other
> >                 > options
> >                 >
> >                 > ELE-USER 46 : 5 > :b
> >                 > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> >                 > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> >                 > Call to DB-CLSQL::SQL-ADD-TO-CLCN
> >                 > Call to EVAL
> >                 > Call to INVOKE-DEBUGGER
> >                 > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> >                 > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> >                 > Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP
> >                 > Call to (METHOD ELEPHANT::PERSISTENT-SLOT-BOUNDP
> >                 > (DB-CLSQL::SQL-STORE-CONTROLLER T T))
> >                 > Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION 1
> >                 > ELEPHANT::INITIALIZE-PERSISTENT-SLOTS)
> >                 > Call to (METHOD ELEPHANT::EXECUTE-TRANSACTION
> >                 > (DB-CLSQL::SQL-STORE-CONTROLLER T))
> >                 > Call to (METHOD SHARED-INITIALIZE :AROUND
> >                 (PERSISTENT-OBJECT T))
> >                 > Call to CLOS::METHOD-COMBINATION-TEMPLATE
> >                 > Call to CLOS::METHOD-COMBINATION-TEMPLATE
> >                 > Call to CLOS::MAKE-INSTANCE-FROM-CLASS-1
> >                 > Call to SETQ
> >                 > Call to EVAL
> >                 > Call to INVOKE-DEBUGGER
> >                 > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> >                 > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> >                 > Call to DB-CLSQL::SQL-ADD-TO-CLCN
> >                 > Call to EVAL
> >                 > Call to INVOKE-DEBUGGER
> >                 > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> >                 > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> >                 > Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP
> >                 > Call to ROOT-EXISTSP
> >                 > Call to EVAL
> >                 > Call to INVOKE-DEBUGGER
> >                 > Call to ELEPHANT-MEMUTIL::BUFFER-READ-BYTE-VECTOR
> >                 > Call to ELEPHANT::SERIALIZE-TO-BASE64-STRING
> >                 > Call to DB-CLSQL::SQL-FROM-CLCN-EXISTSP
> >                 > Call to ROOT-EXISTSP
> >                 > Call to EVAL
> >                 > Call to CAPI::CAPI-TOP-LEVEL-FUNCTION
> >                 > Call to CAPI::INTERACTIVE-PANE-TOP-LOOP
> >                 > Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION
> >                 MP::PROCESS-SG-FUNCTION
> >                 > MP::INITIALIZE-PROCESS-STACK)
> >                 >
> >                 >
> >                 > _______________________________________________
> >                 > elephant-devel site list
> >                 > elephant-devel at common-lisp.net
> >                 >
> >                 http://common-lisp.net/mailman/listinfo/elephant-devel
> >
> >                 _______________________________________________
> >                 elephant-devel site list
> >                 elephant-devel at common-lisp.net
> >                 http://common-lisp.net/mailman/listinfo/elephant-devel
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20071008/d1d00bd9/attachment.html>


More information about the elephant-devel mailing list