I'm running the latest version of Hunchentoot available from bknr.net in Clozure CL on a 64-bit Linux box. I see this error in the logs occasionally:
[2009-09-15 19:44:49 [ERROR]] Error while processing connection: :REAL- ERROR is an invalid initarg to INITIALIZE-INSTANCE for #<STANDARD- CLASS USOCKET:TIMEOUT-ERROR>. Valid initargs: (:SOCKET).
From poking around in the source it appears that this is only called in the usocket package. The site doesn't appear affected. Is this a known issue?
Thanks,
Patrick
On Wed, Sep 16, 2009 at 12:25 AM, Patrick May patrick.may@mac.com wrote:
I'm running the latest version of Hunchentoot available from bknr.net in Clozure CL on a 64-bit Linux box. I see this error in the logs occasionally:
[2009-09-15 19:44:49 [ERROR]] Error while processing connection: :REAL- ERROR is an invalid initarg to INITIALIZE-INSTANCE for #<STANDARD- CLASS USOCKET:TIMEOUT-ERROR>. Valid initargs: (:SOCKET).
From poking around in the source it appears that this is only called in the usocket package. The site doesn't appear affected. Is this a known issue?
Looks like a problem with usocket. Which versions of CCL and usocket are you using exactly? Are they the newest ones?
Thanks, Edi.
On Sep 16, 2009, at 3:00 AM, Edi Weitz wrote:
On Wed, Sep 16, 2009 at 12:25 AM, Patrick May patrick.may@mac.com wrote:
I'm running the latest version of Hunchentoot available from bknr.net
in Clozure CL on a 64-bit Linux box. I see this error in the logs occasionally:
[2009-09-15 19:44:49 [ERROR]] Error while processing connection: :REAL- ERROR is an invalid initarg to INITIALIZE-INSTANCE for #<STANDARD- CLASS USOCKET:TIMEOUT-ERROR>. Valid initargs: (:SOCKET).
From poking around in the source it appears that this is only called in the usocket package. The site doesn't appear affected. Is this a known issue?
Looks like a problem with usocket. Which versions of CCL and usocket are you using exactly? Are they the newest ones?
I'm using CCL 1.3-r12755M and the version of usocket fro the bknr.net Subversion repository.
Thanks,
Patrick
On Wed, Sep 16, 2009 at 1:22 PM, Patrick May patrick.may@mac.com wrote:
Looks like a problem with usocket. Which versions of CCL and usocket are you using exactly? Are they the newest ones?
I'm using CCL 1.3-r12755M and the version of usocket fro the bknr.net Subversion repository.
I just talked to Hans who is not at home right now. He thinks he found the problem and will fix it when he's back.
Edi.
I have committed the fix to this problem both to the usocket trunk and the bknr repositories. Thanks for reporting!
-Hans
On Thu, Sep 17, 2009 at 09:44, Edi Weitz edi@agharta.de wrote:
On Wed, Sep 16, 2009 at 1:22 PM, Patrick May patrick.may@mac.com wrote:
Looks like a problem with usocket. Which versions of CCL and usocket are you using exactly? Are they the newest ones?
I'm using CCL 1.3-r12755M and the version of usocket fro the bknr.net Subversion repository.
I just talked to Hans who is not at home right now. He thinks he found the problem and will fix it when he's back.
Edi.
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
On Sep 17, 2009, at 7:05 AM, Patrick May wrote:
On Sep 17, 2009, at 3:02 AM, Hans Hübner wrote:
I have committed the fix to this problem both to the usocket trunk and the bknr repositories. Thanks for reporting!
Thanks for the incredibly fast fix!
I just updated from the bknr Subversion repository and started getting errors immediately when serving static content. The error messages are below, but when I reverted to revision 499 of the repository, the problem went away.
Please let me know if there is any other debugging I can help with.
Welcome to Clozure Common Lisp Version 1.3-r12755M (LinuxX8664)! ? > Error: STRUCTURE.STRING-OUTPUT-STREAM #x300041ECCB4D> is not of the expected type STRUCTURE.300041ECCB4D> is not of the expected type STRUCTURE.> Error:
Error: value #<STRING-OUTPUT-STREAM #x3000419AB0ED> is not of the
expected type STRUCTURE.
While executing: CCL::CREATE-STRING-OUTPUT-STREAM-IOBLOCK Error: value #<STRING-OUTPUT-STREAM #x300041ECCB4D> is not of the
expected type STRUCTURE.
Error: value #<STRING-OUTPUT-STREAM #x3000419AB0ED> is not of the
expected type STRUCTURE.> While executing: RING-OUTPUT-STREAM #x3000419AB0ED> is not of the expected type STRUCTURE.
While executing: > While executing: CCL::CREATE-STRING-OUTPUT-
STREAM-IOBLOCK, in process Hunchentoot worker (client: 67.86.101.207:57187)(13). , in process Hunchentoot worker (client: 67.86.101.207:57186) (12).CREATE-STRING-OUTPUT-STREAM-IOBLOCK, in process Hunchentoot worker (cl, in process Hunchentoot worker (client: 67.86.101.207:57188) (14).
Error: value #<STRING-OUTPUT-STREAM #x300041ECCB4D> is not of the
expected type STRUCTURE.
While executing: CCL::CREATE-STRING-OUTPUT-STREAM-IOBLOCK, in
process Hunchentoot worker (client: 67.86.101.207:57189)(16).
;;; ;;; #<PROCESS Hunchentoot worker (client: 67.86.101.207:57187)(13) [Reset] #x30004199524D> requires access to Shared Terminal Input ;;; Type (:y 13) to yield control to this thread. ;;;
;;; ;;; #<PROCESS Hunchentoot worker (client: 67.86.101.207:57186)(12) [Reset] #x300041995A7D> requires access to Shared Terminal Input ;;; Type (:y 12) to yield control to this thread. ;;;
;;; ;;; #<PROCESS Hunchentoot worker (client: 67.86.101.207:57189)(16) [Reset] #x30004199405D> requires access to Shared Terminal Input ;;; Type (:y 16) to yield control to this thread. ;;;
;;; ;;; #<PROCESS Hunchentoot worker (client: 67.86.101.207:57188)(14) [Reset] #x30004199488D> requires access to Shared Terminal Input ;;; Type (:y 14) to yield control to this thread. ;;;
Attaching with attachtty and getting a backtrace gives:
(:y 13)
;;; ;;; Shared Terminal Input is now owned by #<PROCESS Hunchentoot worker (client: 67.86.101.207:57187)(13) [Reset] #x30004199524D> ;;;
Type :POP to abort, :R for a list of available restarts. Type :? for other options.
1 > b *(7F09B788BB80) : 0 (CREATE-STRING-OUTPUT-STREAM-IOBLOCK :STREAM #<STRING-OUTPUT -STREAM :CLOSED #x3000429815CD> :STRING "" :ELEMENT-TYPE CHARACTER :WRITE-CHAR- FUNCTION CCL::STRING-OUTPUT-STREAM-IOBLOCK-WRITE-CHAR :WRITE-CHAR-WHEN- LOCKED-FU NCTION CCL::STRING-OUTPUT-STREAM-IOBLOCK-WRITE-CHAR :WRITE-SIMPLE- STRING-FUNCTIO N CCL::STRING-OUTPUT-STREAM-IOBLOCK-WRITE-SIMPLE-STRING :FORCE-OUTPUT- FUNCTION # <Compiled-function FALSE #x300040018DCF> :CLOSE-FUNCTION #<Compiled- function CCL ::%CLOSE-STRING-OUTPUT-STREAM #x30004036726F>) 236 (7F09B788BC10) : 1 (%%MAKE-STRING-OUTPUT-STREAM #<BUILT-IN-CLASS STRING-OUTPUT- STREAM> "" CCL::STRING-OUTPUT-STREAM-IOBLOCK-WRITE-CHAR CCL::STRING- OUTPUT-STREA M-IOBLOCK-WRITE-SIMPLE-STRING) 269 (7F09B788BC48) : 2 (XP-OUT-STREAM #<CCL::XP-STRUCTURE #x30004297B78D>) 149 (7F09B788BC68) : 3 (FLUSH #<CCL::XP-STRUCTURE #x30004297B78D>) 45 (7F09B788BC80) : 4 (WRITE-STRING++ "value ~S is not of the expected type ~S." # <CCL::XP-STRUCTURE #x30004297B78D> 39 40) 109 (7F09B788BCB0) : 5 (WRITE-STRING+ "value ~S is not of the expected type ~S." #< CCL::XP-STRUCTURE #x30004297B78D> #<STRING-OUTPUT-STREAM :CLOSED #x3000429815CD
- 277
(7F09B788BCF8) : 6 (FUNCALL #'#<#<CCL::STANDARD-KERNEL-METHOD STREAM- WRITE-STRI NG (CCL::XP-STREAM T)>> #<CCL::XP-STREAM #x3000429815FD> "value ~S is not of the expected type ~S." 39 40) 245 (7F09B788BD48) : 7 (WRITE-SIMPLE-STRING "value ~S is not of the expected type ~ S." #<CCL::XP-STREAM #x3000429815FD> 39 40) 1477 (7F09B788BD90) : 8 (SUB-FORMAT #<CCL::XP-STREAM #x3000429815FD> 38 40) 2549 (7F09B788BE20) : 9 (DO-SUB-FORMAT #<CCL::XP-STREAM #x3000429815FD>) 157 (7F09B788BE40) : 10 (DO-SUB-FORMAT-1 #<CCL::XP-STREAM #x3000429815FD> (#<STRING -OUTPUT-STREAM #x3000419AB0ED> STRUCTURE)) 221 (7F09B788BEC0) : 11 (DO-XP-PRINTING #<Compiled-function (:INTERNAL FORMAT) (Non -Global) #x300040A872CF> #<INDENTING-STRING-OUTPUT-STREAM #x300042981E0D> ((#< STRING-OUTPUT-STREAM #x3000419AB0ED> STRUCTURE))) 349
. . .
(7F09B794EAC0) : 8398 (READ-LINE* #<STRING-OUTPUT-STREAM :CLOSED #x300041A5BE9D> NIL) 77 (7F09B794EAF8) : 8399 (FUNCALL #'#<(:INTERNAL CHUNGA::READ-HEADER- LINE CHUNGA:READ-HTTP-HEADERS)>) 173 (7F09B794EB60) : 8400 (READ-HTTP-HEADERS #<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/13) #x30004199598D> NIL) 205 (7F09B794EBB0) : 8401 (GET-REQUEST-DATA #<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/13) #x30004199598D>) 429 (7F09B794EC20) : 8402 (FUNCALL #'#<#<STANDARD-METHOD HUNCHENTOOT:PROCESS-CONNECTION (HUNCHENTOOT:ACCEPTOR T)>> #<ACCEPTOR (host *, port 8080)> #<USOCKET:STREAM-USOCKET #x30004199569D>) 1069 (7F09B794ECE0) : 8403 (%CALL-NEXT-METHOD (NIL #<STANDARD-METHOD HUNCHENTOOT:PROCESS-CONNECTION #> . 17459963928011)) 1069 (7F09B794ED60) : 8404 (FUNCALL #'#<#<STANDARD-METHOD HUNCHENTOOT:PROCESS-CONNECTION :AROUND (HUNCHENTOOT:ACCEPTOR T)>> #<ACCEPTOR (host *, port 8080)> #<USOCKET:STREAM-USOCKET #x30004199569D>) 693 (7F09B794EDF8) : 8405 (%%STANDARD-COMBINED-METHOD-DCODE (#<STANDARD- METHOD HUNCHENTOOT:PROCESS-CONNECTION :AROUND #> #<STANDARD-METHOD HUNCHENTOOT:PROCESS-CONNECTION #>) 17459963928011) 773 (7F09B794EE70) : 8407 (FUNCALL #'#<(:INTERNAL BORDEAUX- THREADS::BINDING-DEFAULT-SPECIALS)>) 805 (7F09B794EEB8) : 8408 (RUN-PROCESS-INITIAL-FORM #<PROCESS Hunchentoot worker (client: 67.86.101.207:57187)(13) [Reset] #x30004199524D> (#<COMPILED-LEXICAL-CLOSURE # #x3000419951BF>)) 717 (7F09B794EF48) : 8409 (FUNCALL #'#<(:INTERNAL CCL::%PROCESS-PRESET- INTERNAL)> #<PROCESS Hunchentoot worker (client: 67.86.101.207:57187) (13) [Reset] #x30004199524D> (#<COMPILED-LEXICAL-CLOSURE # #x3000419951BF>)) 389 (7F09B794EF98) : 8410 (FUNCALL #'#<(:INTERNAL CCL::THREAD-MAKE- STARTUP-FUNCTION)>) 301 1 >
The full backtrace is available at http://www.softwarematters.org/ccl64-dribble.gz .
Thanks,
Patrick
On Fri, Sep 18, 2009 at 17:18, Patrick May patrick.may@mac.com wrote:
I just updated from the bknr Subversion repository and started getting errors immediately when serving static content. The error messages are below, but when I reverted to revision 499 of the repository, the problem went away.
Please let me know if there is any other debugging I can help with.
Welcome to Clozure Common Lisp Version 1.3-r12755M (LinuxX8664)! ? > Error: STRUCTURE.STRING-OUTPUT-STREAM #x300041ECCB4D> is not of the expected type STRUCTURE.300041ECCB4D> is not of the expected type STRUCTURE.> Error: > Error: value #<STRING-OUTPUT-STREAM #x3000419AB0ED> is not of the expected type STRUCTURE.
I fail to believe that my addition of a condition class and removal of two initargs creates the cited problem. Can you make sure that the problem is not related to your environment (i.e. reproduce it in a cleanly checked out environment) and, if the problem persists, provide us with minimal steps to reproduce the problem?
Thanks, Hans
On Sep 18, 2009, at 7:48 PM, Hans Hübner wrote:
On Fri, Sep 18, 2009 at 17:18, Patrick May patrick.may@mac.com wrote:
I just updated from the bknr Subversion repository and started
getting errors immediately when serving static content. The error messages are below, but when I reverted to revision 499 of the repository, the problem went away.
Please let me know if there is any other debugging I can
help with.
Welcome to Clozure Common Lisp Version 1.3-r12755M (LinuxX8664)! ? > Error: STRUCTURE.STRING-OUTPUT-STREAM #x300041ECCB4D> is not of the expected type STRUCTURE.300041ECCB4D> is not of the expected type STRUCTURE.> Error:
Error: value #<STRING-OUTPUT-STREAM #x3000419AB0ED> is not of the
expected type STRUCTURE.
I fail to believe that my addition of a condition class and removal of two initargs creates the cited problem. Can you make sure that the problem is not related to your environment (i.e. reproduce it in a cleanly checked out environment) and, if the problem persists, provide us with minimal steps to reproduce the problem?
Hans,
I cleaned the system, including removing all my asdf-install directories and rebuilt from scratch. It has been up and running for several days now. I suspect the problem was due to different packages in the asdf registry. It was not your code.
Thanks again for the help.
Regards,
Patrick