Overview
| Artifact ID: | 55d533534c624ff6cc2a3b088e47e12751e74804 |
|---|---|
| Ticket: | 879a0747bee593e2cd0f531fa723f5f5d5595527
Incomplete multibyte char @eof -> failed read |
| User & Date: | ferrieux on 2015-04-20 12:52:13 |
Changes
- assignee changed to: "dgp"
- icomment:
Nothing obviously suspect in the strace :/ I get the same 2 full reads + 1 short + 1 empty as you do: read(4, "JL\32\0\0\0+13717 at http://dot.kde.o"..., 4096) = 4096 read(4, "rg/Lokalize\" rel=\"nofollow\">Loka"..., 4096) = 4096 read(4, "class=\"taxonomy-image-links\"><im"..., 4096) = 2865 read(4, "", 1231) = 0 Two things: - please post environment (output from "env"), in case something hides in one of the locale-oriented variables . I have an [encoding system] also equal to "utf-8", but the devil may hide in the details. - the failing assertion is: assert(!GotFlag(statePtr, CHANNEL_EOF) || GotFlag(statePtr, CHANNEL_STICKY_EOF) || Tcl_InputBuffered((Tcl_Channel)chanPtr) == 0); Added in this commit: 2014-11-06 16:34 [16bdf667aa] Stop Tcl forcing EOF condition on channels to be permanent. It may be fleeting, and all parts of Tcl channel ecosystem have to deal with that. New assertions and tests to keep us on track.(user: dgp, tags: trunk) Since it is not immediately clear to me, I'll assign to Don for comment on all three parts (a comment in the code itself would be welcome too). (I assume that since we've read the whole file, the one which should evaluate to true is CHANNEL_STICKY_EOF, which is a recent addition best mastered by Don) I am still *very* interested to see how this can heisenbug depending on libc version, or environment, or whatever...
- login: "ferrieux"
- mimetype: "text/plain"