[flexi-streams-devel] Flexi-streams test suite failing on OpenMCL

Tiarnan O'Corrain ocorrain at gmail.com
Tue May 22 21:22:13 UTC 2007


Hi--

> Very strange.  Could you confirm in the inspector that the underlying
> stream is really a binary stream with element type (UNSIGNED-BYTE 8)?

Here's the description of the underlying stream from the slime
inspector -- I can't
inspect this stream itself in slime...

#<FILE-BINARY-INPUT-STREAM
("home:src;site;flexi-streams-0.11.2;test;hebrew_utf8_lf.txt"/10)
#x8557786>
Class: #<STANDARD-CLASS CCL::FILE-BINARY-INPUT-STREAM>
Wrapper: #<CCL::CLASS-WRAPPER CCL::FILE-BINARY-INPUT-STREAM #x810DDF6>
Instance slots
CCL::DIRECTION: :INPUT
CCL::CLOSED: NIL
CCL::SHARED-RESOURCE: NIL
CCL::IOBLOCK: #S(CCL::FILE-IOBLOCK :STREAM #<FILE-BINARY-INPUT-STREAM
("home:src;site;flexi-streams-0.11.2;test;hebrew_utf8_lf.txt"/10)
#x8557786>
                                   :UNTYI-CHAR NIL
                                   :INBUF #<IO-BUFFER  (UNSIGNED-BYTE
                                                        8) 3/2048/2048
#x85576F6>
                                   :OUTBUF NIL
                                   :ELEMENT-TYPE (INTEGER 0 255)
                                   :ELEMENT-SHIFT 0
                                   :CHARPOS 0
                                   :DEVICE 10
                                   :ADVANCE-FUNCTION
CCL::INPUT-FILE-IOBLOCK-ADVANCE ..)
CCL::ELEMENT-TYPE: (INTEGER 0 255)
CCL::FILENAME: "home:src;site;flexi-streams-0.11.2;test;hebrew_utf8_lf.txt"
CCL::ACTUAL-FILENAME: NIL
CCL::EXTERNAL-FORMAT: :BINARY

> And (using the debugger - I think, IIRC, you press v on the top frame)
> could you try to find the exact place where the error occurs?

the error is occurring in input.lisp, when stream-read-char is called from
compare-files in test.lisp.

regards

Tiarnán



More information about the Flexi-streams-devel mailing list