multiple problems with windows pipes in test suite
Closed / Fixed1225044fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-21 18:38:10
With the changes made in tclWinFile.c on 2005-04-19
in core-8-4-branch, I get a large number of problems in
io.test in the test suite.
io-6.7 - fails with status==TCL_ERROR, an empty error
message.
errorCode == NONE
io-6.31 - fails with status=TCL_ERROR, an empty error
message,
errorCode == NONE
io-6.43, io-6.44, io-6.45, io-6.46 - all hang
io-6.56 - fails with status==TCL_ERROR, an empty error
message,
errorCode == NONE
io-7.4 - hangs
io-8.2, io-8.3, io-8.5, io-8.6, io-8.7 - all hang
io-12.4 - fails with status==TCL_ERROR, empty error
message,
errorCode == NONE
io-12.5 -
---- Result was:
{} timeout {} timeout ? {} eof 1 {}
---- Result should have been (exact matching):
{} timeout {} timeout ? {} eof 0 {}
==== io-12.5 FAILED
io-13.6 - fails with status==TCL_ERROR, empty error
message,
errorCode == NONE
io-29.25 - hangs
io-36.1, io-39.17 - both fail with status==TCL_ERROR,
empty error
message, errorCode==NONE
Test suite hangs on exit after running io.test
dgp Ticket [1225044fff]: 1 change
[History diff]2005-06-22 01:39:25
kennykbplain2005-06-22 01:40:18
Logged In: YES user_id=99768 Also, Tcl_Main-5.3, Tcl_Main-5.4, Tcl_Main-5.10 all fail in their -cleanup blocks, again with status==TCL_ERROR and an empty error message.
kennykbplain2005-06-22 01:42:15
Logged In: YES user_id=99768 Also, winpipe-4.1 hangs
kennykb Ticket [1225044fff]: 1 change
[History diff]2005-06-22 01:56:26
davygrvyplain2005-06-22 07:28:46
Logged In: YES user_id=7549 I might be a few months before I can look at this.. Best to assign this to someone else..
pointsmanplain2005-06-22 08:16:47
Logged In: YES user_id=13222 I see the problems reported by kennykb also, if I compile tcl8.4.11 rc4 with VC++ 6.0, using makefile.vc, OPTS=symbols. Without symbols enabled, the test suite runs OK for mit w/o and w/ threads enabled (minus the known problem expr-22.9).
dgpplain2005-06-23 02:35:36
Logged In: YES user_id=80530 A comment received in e-mail: But why is the DEBUG build different than the release build? Answer that and you guys should find a solution. Also note than any pipe channel not set to blocking before closing WILL NOT return a status code just like the unix behavior.
kennykbplain2005-06-23 03:08:22
Logged In: YES user_id=99768 Applying the fix for Bug #1225727 has no observed effect on this bug, which reappears when the changes in 1.33.2.10 are reapplied.
kennykbplain2005-06-23 04:39:56
Logged In: YES user_id=99768 The 'return result' near the end of PipeClose2Proc was referencing uninitialized memory. Once that problem was corrected, the test failures and hangs went away.
Log in (anonymous is fine) to add a comment.