From: Elias M. <lo...@gm...> - 2015-01-28 06:41:46
|
We saw this error in our application log. This is the first time it happened, and I have currently no way of reproducing. However, I'm posting the stack trace here in case it helps anyone: <ERROR> [06:12:05] potato.core session.lisp (acceptor-log-message potato-acceptor) - failed AVER: (< I 2) This is probably a bug in SBCL itself. (Alternatively, SBCL might have been corrupted by bad user code, e.g. by an undefined Lisp operation like (FMAKUNBOUND 'COMPILE), or by stray pointers from alien code or from unsafe Lisp code; or there might be a bug in the OS or hardware that SBCL is running on.) If it seems to be a bug in SBCL itself, the maintainers would like to know about it. Bug reports are welcome on the SBCL mailing lists, which you can find at <http://sbcl.sourceforge.net/>. Backtrace for: #<SB-THREAD:THREAD "hunchentoot-worker-127.0.0.1:43055" RUNNING {100ACAD183}> 0: ((LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX)) 1: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {100343A59B}>) 2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {100343A56B}>) 3: (PRINT-BACKTRACE :STREAM #<SB-IMPL::STRING-OUTPUT-STREAM {100343A4A3}> :START 0 :FROM :DEBUGGER-FRAME :COUNT 4611686018427387903 :PRINT-THREAD T :PRINT-FRAME-SOURCE NIL :METHOD-FRAME-STYLE NIL) 4: (TRIVIAL-BACKTRACE:PRINT-BACKTRACE-TO-STREAM #<SB-IMPL::STRING-OUTPUT-STREAM {100343A4A3}>) 5: (HUNCHENTOOT::GET-BACKTRACE) 6: ((FLET #:HANDLER1130 :IN HUNCHENTOOT:HANDLE-REQUEST) #<SB-INT:BUG "~@<failed AVER: ~2I~_~A~:>" {1002F2BE63}>) 7: (SIGNAL #<SB-INT:BUG "~@<failed AVER: ~2I~_~A~:>" {1002F2BE63}>) 8: (ERROR SB-INT:BUG :FORMAT-CONTROL "~@<failed AVER: ~2I~_~A~:>" :FORMAT-ARGUMENTS ((< SB-KERNEL::I 2))) 9: (SB-INT:BUG "~@<failed AVER: ~2I~_~A~:>" (< SB-KERNEL::I 2)) 10: (SB-IMPL::%FAILED-AVER (< SB-KERNEL::I 2)) 11: (SB-KERNEL:CLASSOID-TYPEP #<unavailable argument> #<unavailable argument> #<unavailable argument>) 12: (DRAKMA::DECODE-FLEXI-STREAM ((:TRANSFER-ENCODING . "chunked") (:SERVER . "CouchDB/1.6.1 (Erlang OTP/R16B03-1)") (:ETAG . "\"55XP2PFYQJZD2LKPDLLOFISKR\"") (:DATE . "Wed, 28 Jan 2015 06:12:05 GMT") (:CONTENT-TYPE . "text/plain; charset=utf-8") (:CACHE-CONTROL . "must-revalidate")) #<FLEXI-STREAMS:FLEXI-IO-STREAM {1009E62343}>) [tl,external] 13: (DRAKMA::READ-BODY #<FLEXI-STREAMS:FLEXI-IO-STREAM {1009E62343}> ((:TRANSFER-ENCODING . "chunked") (:SERVER . "CouchDB/1.6.1 (Erlang OTP/R16B03-1)") (:ETAG . "\"55XP2PFYQJZD2LKPDLLOFISKR\"") (:DATE . "Wed, 28 Jan 2015 06:12:05 GMT") (:CONTENT-TYPE . "text/plain; charset=utf-8") (:CACHE-CONTROL . "must-revalidate")) #<FLEXI-STREAMS::FLEXI-UTF-8-FORMAT (:UTF-8 :EOL-STYLE :LF) {1002F29763}>) 14: ((LABELS DRAKMA::FINISH-REQUEST :IN DRAKMA:HTTP-REQUEST) NIL NIL) 15: (DRAKMA:HTTP-REQUEST #<PURI:URI http://localhost:5984/potato/_design/domain/_view/domains_for_user?key=%22user-20e148e12afd0568e083%22> :METHOD :GET :PRESERVE-URI T :STREAM #<FLEXI-STREAMS:FLEXI-IO-STREAM {1009E62343}> :CLOSE NIL) 16: (CLOUCHDB::DB-REQUEST "potato/_design/domain/_view/domains_for_user" :METHOD :GET :PARAMETERS (("key" . "\"user-20e148e12afd0568e083\""))) 17: (CLOUCHDB:INVOKE-VIEW "domain" "domains_for_user" :KEY "user-20e148e12afd0568e083") 18: (POTATO.CORE:LOAD-DOMAINS-FOR-USER #<unavailable argument>) 19: (POTATO.CORE:USER-IS-IN-DOMAIN-P #<unavailable argument> #<unavailable argument>) 20: (POTATO.CORE:CHECK-USER-IN-DOMAIN #<unavailable argument> #<unavailable argument> :REQUIRE-ADMIN-P #<unavailable argument>) 21: ((LAMBDA (POTATO.WEB.PRIVATE::DATA) :IN POTATO.WEB.PRIVATE::PRIVATE-CHATS-FOR-USER) #<unavailable argument>) 22: (LOFN::PROCESS-JSON #<unavailable argument>) 23: ((:METHOD HUNCHENTOOT:HANDLE-REQUEST (HUNCHENTOOT:ACCEPTOR HUNCHENTOOT:REQUEST)) #<POTATO.CORE::POTATO-ACCEPTOR (host localhost, port 8081)> #<POTATO.CORE::POTATO-WEB-REQUEST {100B20B413}>) [fast-method] 24: ((:METHOD HUNCHENTOOT:HANDLE-REQUEST (POTATO.CORE::POTATO-ACCEPTOR T)) #<unavailable argument> #<unavailable argument>) [fast-method] 25: ((:METHOD HUNCHENTOOT:PROCESS-REQUEST (T)) #<POTATO.CORE::POTATO-WEB-REQUEST {100B20B413}>) [fast-method] 26: (HUNCHENTOOT::DO-WITH-ACCEPTOR-REQUEST-COUNT-INCREMENTED #<POTATO.CORE::POTATO-ACCEPTOR (host localhost, port 8081)> #<CLOSURE (LAMBDA NIL :IN HUNCHENTOOT:PROCESS-CONNECTION) {100B20A71B}>) 27: ((:METHOD HUNCHENTOOT:PROCESS-CONNECTION (HUNCHENTOOT:ACCEPTOR T)) #<POTATO.CORE::POTATO-ACCEPTOR (host localhost, port 8081)> #<USOCKET:STREAM-USOCKET {100ACAC063}>) [fast-method] 28: ((:METHOD HUNCHENTOOT:PROCESS-CONNECTION (LOFN:POLLING-SERVER-ACCEPTOR T)) #<POTATO.CORE::POTATO-ACCEPTOR (host localhost, port 8081)> #<USOCKET:STREAM-USOCKET {100ACAC063}>) [fast-method] 29: ((:METHOD HUNCHENTOOT:PROCESS-CONNECTION :AROUND (HUNCHENTOOT:ACCEPTOR T)) #<POTATO.CORE::POTATO-ACCEPTOR (host localhost, port 8081)> #<USOCKET:STREAM-USOCKET {100ACAC063}>) [fast-method] 30: ((FLET HUNCHENTOOT::PROCESS-CONNECTION% :IN HUNCHENTOOT::HANDLE-INCOMING-CONNECTION%) #<POTATO.CORE::POTATO-ACCEPTOR (host localhost, port 8081)> #<USOCKET:STREAM-USOCKET {100ACAC063}>) 31: ((LAMBDA NIL :IN BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS)) 32: ((FLET #:WITHOUT-INTERRUPTS-BODY-1226 :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE)) 33: ((FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE)) 34: ((FLET #:WITHOUT-INTERRUPTS-BODY-647 :IN SB-THREAD::CALL-WITH-MUTEX)) 35: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE) {7FFFCB50EC4B}> #<SB-THREAD:MUTEX "thread result lock" owner: #<SB-THREAD:THREAD "hunchentoot-worker-127.0.0.1:43055" RUNNING {100ACAD183}>> NIL T NIL) 36: (SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE #<SB-THREAD:THREAD "hunchentoot-worker-127.0.0.1:43055" RUNNING {100ACAD183}> #S(SB-THREAD:SEMAPHORE :NAME "Thread setup semaphore" :%COUNT 0 :WAITCOUNT 0 :MUTEX #<SB-THREAD:MUTEX (free) {100ACAD1F3}> :QUEUE #<SB-THREAD:WAITQUEUE {100ACAD223}>) #<CLOSURE (LAMBDA NIL :IN BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS) {100ACAD0EB}> NIL NIL NIL NIL) 37: ("foreign function: call_into_lisp") 38: ("foreign function: new_thread_trampoline") Regards, Elias |