[elephant-devel] elephant 1.0 is unstable under Clozure Common Lisp Version 1.5-r13651 (LinuxX8632)

Xu Jingtao jingtaozf at gmail.com
Fri Sep 24 14:17:53 UTC 2010


hi eslick:
This problem will also occure in 1.4,but not so often.

If i try my operation one or two times,the operation will work fine again.

eslick> Did you have this problem in 1.4?  We use Elephant extensively on Clozure on Mac/Linux under 1.4 but I haven't upgraded to the latest 1.5 on any system that I'm aware of.  There are some occasional bugs found in the schema management code too that may be lurking.
eslick> 
eslick> Ian
eslick> 
eslick> On Sep 23, 2010, at 10:51 PM, Xu Jingtao wrote:
eslick> 
eslick> > hi elephant-dev:
eslick> > I use elephant 1.0 under Clozure Common lisp,and exception often occurs
eslick> > like this:
eslick> > ===============================================
eslick> > There is no applicable method for the generic function:
eslick> >  #<STANDARD-GENERIC-FUNCTION ELEPHANT::SCHEMA-PREDECESSOR #x189D9726>
eslick> > when called with arguments:
eslick> >  (NIL)
eslick> > (B2D527D4) : 0 (PRINT-CALL-HISTORY :CONTEXT NIL :PROCESS NIL :ORIGIN NIL :DETAILED-P NIL :COUNT 536870911 :START-FRAME-NUMBER 0 :STREAM #<STRING-OUTPUT-STREAM  #x197B20BE> :PRINT-LEVEL 2 :PRINT-LENGTH 5 :SHOW-INTERNAL-FRAMES NIL :FORMAT :TRADITIONAL) 735
eslick> > (B2D52888) : 1 (PRINT-BACKTRACE-TO-STREAM #<STRING-OUTPUT-STREAM  #x197B20BE>) 71
eslick> > (B2D528A0) : 2 (GET-BACKTRACE) 327
eslick> > (B2D528D4) : 3 (FUNCALL #'#<(:INTERNAL (HUNCHENTOOT:HANDLE-REQUEST (HUNCHENTOOT:ACCEPTOR HUNCHENTOOT:REQUEST)))> #<SIMPLE-ERROR #x197B20E6>) 119
eslick> > (B2D528F0) : 4 (SIGNAL #<SIMPLE-ERROR #x197B20E6>) 903
eslick> > (B2D52918) : 5 (SIGNAL #<SIMPLE-ERROR #x197B20E6>) 903
eslick> > (B2D52940) : 6 (%ERROR #<SIMPLE-ERROR #x197B20E6> NIL -323663258) 119
eslick> > (B2D52954) : 7 (CERROR "Try calling it again" "There is no applicable method for the generic function:~%  ~s~%when called with arguments:~%  ~s" #<STANDARD-GENERIC-FUNCTION ELEPHANT::SCHEMA-PREDECESSOR #x189D9726> (NIL)) 823
eslick> > (B2D52998) : 8 (FUNCALL #'#<#<CCL::STANDARD-KERNEL-METHOD NO-APPLICABLE-METHOD (T)>> #<STANDARD-GENERIC-FUNCTION ELEPHANT::SCHEMA-PREDECESSOR #x189D9726> NIL) 103
eslick> > (B2D529B8) : 9 (FUNCALL #'#<#<STANDARD-METHOD UPDATE-INSTANCE-FOR-REDEFINED-CLASS :AROUND (ELEPHANT:PERSISTENT-OBJECT T T T)>> #<BDB-INDEXED-BTREE oid:-4> NIL NIL NIL) 199
eslick> > (B2D529E4) : 10 (%%STANDARD-COMBINED-METHOD-DCODE (#<STANDARD-METHOD UPDATE-INSTANCE-FOR-REDEFINED-CLASS :AROUND #> #<CCL::STANDARD-KERNEL-METHOD UPDATE-INSTANCE-FOR-REDEFINED-CLASS #>) -323663226) 679
eslick> > (B2D52A2C) : 11 (UPDATE-OBSOLETE-INSTANCE #<BDB-INDEXED-BTREE oid:-4>) 2359
eslick> > (B2D52A44) : 12 (%%NTH-ARG-DCODE #((#<#> #<#> #<#>) NIL NIL 1 #<STANDARD-GENERIC-FUNCTION ELEPHANT:GET-VALUE #x18A90AA6> ...) -323663203) 1415
eslick> > (B2D52A80) : 13 (FUNCALL #'#<#<STANDARD-METHOD ELEPHANT::GET-CONTROLLER-SCHEMA (ELEPHANT:STORE-CONTROLLER T)>> #<BDB-STORE-CONTROLLER /home/www/license/db/> 402 NIL) 223
eslick> > (B2D52A98) : 14 (FUNCALL #'#<#<STANDARD-METHOD ELEPHANT::GET-SCHEMA-ID-CLASS (ELEPHANT:STORE-CONTROLLER T)>> #<BDB-STORE-CONTROLLER /home/www/license/db/> 402) 95
eslick> > (B2D52AAC) : 15 (FUNCALL #'#<#<STANDARD-METHOD ELEPHANT::CONTROLLER-RECREATE-INSTANCE (ELEPHANT:STORE-CONTROLLER T)>> #<BDB-STORE-CONTROLLER /home/www/license/db/> 308 NIL) 743
eslick> > (B2D52AF8) : 16 (FUNCALL #'#<(:INTERNAL ELEPHANT::MAP-OBJ ELEPHANT:MAP-INVERTED-INDEX)> "test at gmail.com" 308) 47
eslick> > (B2D52B10) : 17 (FUNCALL #'#<(:INTERNAL #:G18136 ELEPHANT::MAP-BTREE-VALUES)> "test at gmail.com" 308) 39
eslick> > (B2D52B28) : 18 (FUNCALL #'#<(:INTERNAL ELEPHANT::MAP-BTREE-VALUES)>) 519
eslick> > (B2D52B88) : 19 (FUNCALL #'#<#<STANDARD-METHOD ELEPHANT::EXECUTE-TRANSACTION (DB-BDB::BDB-STORE-CONTROLLER T)>> #<BDB-STORE-CONTROLLER /home/www/license/db/> #<COMPILED-LEXICAL-CLOSURE (:INTERNAL ELEPHANT::MAP-BTREE-VALUES) #x197B2666> :TRANSACTION NIL :PARENT NIL :ENVIRONMENT NIL :RETRIES 200 :RETRY-WAIT 0.1 :DEGREE-2 T :READ-UNCOMMITTED NIL :TXN-NOSYNC NIL :TXN-NOWAIT NIL :TXN-SYNC NIL :SNAPSHOT NIL :INHIBIT-ROLLBACK-FN NIL) 1351
eslick> > (B2D52C5C) : 20 (MAP-BTREE-VALUES #<COMPILED-LEXICAL-CLOSURE (:INTERNAL ELEPHANT::MAP-OBJ ELEPHANT:MAP-INVERTED-INDEX) #x197B26A6> #<BDB-DUP-BTREE oid:100> "test at gmail.com" T) 719
eslick> > (B2D52C90) : 21 (FUNCALL #'#<#<STANDARD-METHOD ELEPHANT:MAP-BTREE (T ELEPHANT:BTREE)>>
eslick> > #<COMPILED-LEXICAL-CLOSURE (:INTERNAL ELEPHANT::MAP-OBJ ELEPHANT:MAP-INVERTED-INDEX) #x197B26A6> #<BDB-DUP-BTREE oid:100> :VALUE "test at gmail.com" :COLLECT T) 183
eslick> > (B2D52CD0) : 22 (MAP-INVERTED-INDEX #<Compiled-function ELEPHANT::IDENTITY2 #x18AC6786> #<ELEPHANT:PERSISTENT-METACLASS XJT-SITE::LICENSE-FILE> XJT-SITE::USER-MAIL :VALUE "test at gmail.com" :COLLECT T) 799
eslick> > (B2D52D2C) : 23 (url=/license/user-center) 119
eslick> > ===============================================
eslick> > 
eslick> > I can retry my operation and the error will not occur the next time.




More information about the elephant-devel mailing list