Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2023-03-23
21:38
Merge trunk d89991c58b Fix [bdcb5126c0]: Failed assertion in test chan-io-7.3. check-in: 8e48a63d32 user: pooryorick tags: unchained
2023-03-20
14:22 • Closed ticket [bdcb5126c0]: Failed assertion in test chan-io-7.3 plus 6 othe... artifact: f29c4fd22f user: jan.nijtmans
14:18
Fix [bdcb5126c0]: Failed assertion in test chan-io-7.3 check-in: f96ef976ee user: jan.nijtmans tags: core-8-branch
13:02 • Ticket [bdcb5126c0] Failed assertion in test chan-io-7.3 status still Open w... artifact: c62e55a4f5 user: jan.nijtmans
12:44 • Ticket [bdcb5126c0]: 3 changes artifact: f5732f9ade user: dgp
12:37 • Ticket [bdcb5126c0]: 3 changes artifact: 5da5fdb252 user: dgp
12:35 • New ticket [bdcb5126c0]. artifact: ce69bc0f33 user: dgp

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.