Artifacts Associated With Ticket 1192047
Ticket change [0dfaf01ae0] (rid 94529) by dgp on 2005-04-28 22:56:05:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
A comment from TclFinalizeIOSubsystem: /* * Close it only if the refcount indicates that the channel is not * referenced from any interpreter. If it is, that interpreter will * close the channel when it gets destroyed. */ The clear assumption is that later finalization stages will destroy all existing interpreters and finish the task of closing channels. But that's not true, as pointed out in reports 218705 and 227269. Exit handlers are not routinely established to destory interps. This mismatch between assumption and reality is contributing to Bug 1191344. Either we should fulfill RFE 227269 and satisfy the assumptions in TFIOS, or we should recode TFIOS to not make those assumptions.
- foundin initialized to: "obsolete: 8.5a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "25. Channel System"
- title initialized to: "FinalizeIO makes bad assumption"
- type initialized to: "Bug"
Ticket change [1b37fe9334] (rid 123108) by dgp on 2005-04-29 22:45:25:
- icomment:
Logged In: YES user_id=80530 A related problem should be observed in any program that calls Tcl_GetStdChannel, but then never creates an interp. That standard channel will also not be closed during finalization.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c90493645d] (rid 122216) by andreas_kupries on 2005-10-06 03:17:58:
- icomment:
Logged In: YES user_id=75003 Note: 218705 is a bug in time_t handling and cannot see that it has relevance here.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [d1c1ca4254] (rid 113409) by dgp on 2005-10-06 07:54:54:
- icomment:
Logged In: YES user_id=80530 typo. 218075
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [972a433959] (rid 106457) by dgp on 2005-11-22 02:02:40:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 hoping to fix this for 8.4.12
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "dgp"
Ticket change [a2d8e15f1f] (rid 109961) by dgp on 2006-06-10 02:48:55:
- icomment:
Logged In: YES user_id=80530 FR 227269 cannot be fulfilled, so TFIOS needs re-coding to recognize that it cannot depend on interp deletion taking place in later stages of finalization.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [5a6a785522] (rid 118139) by dgp on 2006-06-10 02:48:56:
- assignee changed to: "andreas_kupries"
Ticket change [943a80baf9] (rid 105953) by andreas_kupries on 2006-09-26 05:04:35:
- icomment:
Logged In: YES user_id=75003 Do we have a place or document which clearly lists the various stages of finalization and what actions happen when, i.e. in what order ? Maybe some general lifecycle document for both interpreters, and the whole library ? From which we can derive life-cycle information for dependent structures, like channels.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [c839643457] (rid 122072) by dgp on 2007-12-04 01:48:42:
- assignee changed to: "dgp"
- priority changed to: "7 High"
Ticket change [2411242e17] (rid 131046) by nobody on 2008-11-12 14:46:29:
- icomment:
Yet another effect of this is 1028264 (socket: failed write prevents read). I'm ready to dive in, but please lend me your oxygen tanks. Any material on the harmony of finalizations would be more than welcome.
- login: "[email protected]"
- mimetype: "text/plain"
- username: "[email protected]"
- icomment:
Ticket change [0e36cf4521] (rid 94572) by ferrieux on 2008-11-12 14:47:59:
- icomment:
Sorry, that nobody was me :-}
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [b8906f12ed] (rid 128983) by ferrieux on 2009-05-07 03:29:41:
- icomment:
See also 486399 for yet another criticism of the finalization sequence.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [bc234ff83f] (rid 129612) by ferrieux on 2011-09-24 05:21:45:
- closedate changed to: "2011-09-23T22:21:45"
- closer changed to: "ferrieux"
- icomment:
Gone with 2001201 quick exit reform.
- login: "ferrieux"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "ferrieux"