Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Crash in Tclkit when exiting with a rechan FD still open

Closed / Fixed1359094fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-11-17 16:39:19
This has been documented by Pat Thoyts (I *think* it is the same issue).  
See http://www.patthoyts.tk/tclkit.html (patch extracted and added 
separately below).

Anyway, the problem is most easily reproduced as described by D. 
Sanderson:

I noticed that the following will print the sdx ChangeLog, but then tclkit 
cores without printing any sort of exception:

    ./sdx eval eval 'puts [read [open ./sdx/ChangeLog]]'

See the patch for Pat's description of what is happening.

-jcw
jcwplain2005-11-17 23:39:21
File Added - 156648: pt.patch
jcw Ticket [1359094fff]: 1 change [History diff]2005-11-17 23:40:57
hobbs Ticket [1359094fff]: 1 change [History diff]2005-11-18 00:28:37
andreas_kupriesplain2005-11-19 00:16:25
Logged In: YES 
user_id=75003

Applied patch to both Head and 8.4 branch head, and
committed. Application was done manually, intervening
changes (ANSIfication) caused rejection.
andreas_kupries Ticket [1359094fff]: 2 changes [History diff]2005-11-19 00:16:26
Log in (anonymous is fine) to add a comment.

Attachments: