Tcl Source Code

View Ticket
Login
Ticket UUID: 1359094
Title: Crash in Tclkit when exiting with a rechan FD still open
Type: Bug Version: None
Submitter: jcw Created on: 2005-11-17 16:39:19
Subsystem: 25. Channel System Assigned To: andreas_kupries
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2005-11-19 00:16:26
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2005-11-18 17:16:26
Description:
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
User Comments: andreas_kupries added on 2005-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.

jcw added on 2005-11-17 23:39:21:

File Added - 156648: pt.patch

Attachments: