View Ticket
Not logged in
Ticket UUID: bdcb5126c0a6acb22dd36edd090b8c1c399d76a3
Title: Failed assertion in test chan-io-7.3
Type: Bug Version: core-8-branch
Submitter: dgp Created on: 2023-03-20 12:35:05
Subsystem: 24. Channel Commands Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Critical
Status: Closed Last Modified: 2023-03-20 14:22:58
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2023-03-20 14:22:58
Description:
Make a debug build with configure options: --disable-shared --enable-symbols

Then

$ make test-tcl TESTFLAGS="-file chanio.test -match chan-io-7.3"
...

chanio.test
Test file error: tcltest: /home/dgp/fossil/tcl8.7/generic/tclIO.c:5017: Tcl_GetsObj: Assertion `!((statePtr)->flags & ((1<<9))) || ((statePtr)->flags & ((1<<10))) || ((statePtr)->flags & ((1<<15))) || Tcl_InputBuffered((Tcl_Channel)chanPtr) == 0' failed.
User Comments: jan.nijtmans added on 2023-03-20 14:22:58:

Fixed [f96ef976ee881560|here], just by letting TableToUtf return exactly the same as in Tcl 8.6 (even though TCL_CONVERT_MULTIBYTE doesn't make much sense in this situation)


dgp added on 2023-03-20 12:44:25:
Same problem with test io-7.3