Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-06-23
04:39 • Closed ticket [1225044fff]: multiple problems with windows pipes in test suite</... artifact: 2339b34991 user: kennykb
03:08 • Ticket [1225044fff]: 4 changes artifact: 84212a7d60 user: kennykb
02:35 • Ticket [1225044fff]: 4 changes artifact: 8178ee269e user: dgp
2005-06-22
08:16 • Ticket [1225044fff]: 4 changes artifact: 9c66798f10 user: pointsman
07:28 • Ticket [1225044fff]: 4 changes artifact: 86798365a5 user: davygrvy
01:56 • Ticket [1225044fff]: 1 change artifact: a746f23540 user: kennykb
01:42 • Ticket [1225044fff]: 4 changes artifact: 31924f2c4a user: kennykb
01:40 • Ticket [1225044fff]: 5 changes artifact: 5930a160e6 user: kennykb
01:39 • Ticket [1225044fff]: 1 change artifact: e0a8a20836 user: dgp
2005-06-21
18:38 • New ticket [1225044fff]. artifact: 93880ca91d user: kennykb

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.