Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Failed assertion in test chan-io-7.3

Closed / Fixedbdcb5126c0a6acb22dd36edd090b8c1c399d76a3Created 4 years agoUpdated 4 years ago
Descriptionplain2023-03-20 12:35:05
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.
Referenced by2
dgp Ticket [bdcb5126c0]: 3 changes [History diff]2023-03-20 12:37:28
dgpplain2023-03-20 12:44:25
Same problem with test io-7.3
jan.nijtmans Ticket [bdcb5126c0]: 3 changes [History diff]2023-03-20 13:02:56
jan.nijtmanswiki2023-03-20 14:22:58

Fixed [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)

Log in (anonymous is fine) to add a comment.