[hunchentoot-devel] invalid initarg error

Patrick May patrick.may at mac.com
Fri Sep 18 14:18:18 UTC 2009


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
 > 40) 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





More information about the Tbnl-devel mailing list