Skip to content
Tcl Source Code View Ticket
Login

View Ticket

main.test crashes if wd contains space

Closed / Fixed678443ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-01-31 22:56:44
Win2000, WinXP:

If (and only if!) main.test is run in a working directory whose path name
contains whitespace, a crash results in four test cases: 

Tcl_Main-2.3, Tcl_Main-3.7, Tcl_Main-3.8, Tcl_Main-6.2

The problem appears to be that TclWinFilesystemAndEncodingsCleanup
is freeing binaryEncoding twice.

I suspect that the reason we come here when the path name contains
a space is that [interpreter] needs to be [list [interpreter]] in the [exec]
command in these four tests, but I have yet to verify that. I'll follow up
on this bug.
kennykbplain2003-02-01 05:58:04
File Added - 41206: main.stacktrace.txt
kennykbplain2003-02-01 06:01:44
Logged In: YES 
user_id=99768

Tried the hunch about [list [interpreter]] - but it makes no difference to the result.
kennykbplain2003-02-01 06:05:45
Logged In: YES 
user_id=99768

Omitted some of the failing tests.  The full set is Tcl_Main-

2.3 2.4 3.8 5.9 6.2 7.1 7.2

Stack trace is the same on all seven.
vincentdarleyplain2003-02-05 00:39:28
Logged In: YES 
user_id=32170

All main.test tests pass for me now (with space in wd). 
Also no crash.
Log in (anonymous is fine) to add a comment.

Attachments: