Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-11-19
00:16 • Ticket [1359094fff] Crash in Tclkit when exiting with a rechan FD still open... artifact: beab9805b7 user: andreas_kupries
00:16 • Closed ticket [1359094fff]. artifact: cbb651a129 user: andreas_kupries
2005-11-18
00:28 • Ticket [1359094fff]: 1 change artifact: 5079e01596 user: hobbs
2005-11-17
23:40 • Ticket [1359094fff]: 1 change artifact: 64e99e7dd6 user: jcw
23:39 • Ticket [1359094fff]: 4 changes artifact: 741e58ca6a user: jcw
23:39 • Add attachment pt.patch to ticket [1359094fff] artifact: 4261c360e3 user: jcw
16:39 • New ticket [1359094fff] Crash in Tclkit when exiting with a rechan FD still open... artifact: 31bb45513f user: jcw

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: