Artifacts Associated With Ticket 506653ffffffffff
Ticket change [524f2f4678] (rid 126294) by andreas_kupries on 2002-01-21 21:32:32:
- assignee initialized to: "nijtmans"
- cmimetype initialized to: "text/plain"
- comment initialized to:
This is a follow-up report to #219314. While the patch for that report possibly fixes the problem for the particular strings used it does not solve the general problem exposed by the test script in that report. The general problem is this: When using an escape encoding as the system encoding where will come a time when the escape encoding has to load one of the subordinate encodings to perform its task. At that time the system will try to translate the filename for that subordinate encoding using the current system encoding. Which is partially loaded, we have to load a subordinate encoding. The filename for that has to be translated ... Ad infinitum. Or at least until stack or heap run out. Jeff proposes the following general solution: When the command [encoding system] detects that the users asked it to make an escape encoding the system encoding it preloads all subordinate encodings *before* installing the escape encoding as the new system encoding. This prevents any future attempts to load the subordinate encodings. The penalty is that loading the system encoding takes more time in this case.
- foundin initialized to: "None"
- priority initialized to: "6"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "andreas_kupries"
- subsystem initialized to: "44. UTF-8 Strings"
- title initialized to: "Trouble escape encod. as system encod."
- type initialized to: "Bug"
Ticket change [44c52a323a] (rid 116763) by andreas_kupries on 2002-01-22 04:34:36:
- assignee changed to: "nobody"
Ticket change [9894837112] (rid 110629) by dkf on 2003-09-16 02:54:51:
- foundin changed to: "obsolete: 8.4.4"
Ticket change [f5c90ee652] (rid 130175) by dkf on 2003-09-16 04:10:02:
- assignee changed to: "hobbs"
Add attachment "506653.patch" [eb6092355f] (rid 103535) by dgp on 2004-07-02 04:26:33.
Ticket change [528575f122] (rid 126331) by dgp on 2004-07-02 04:26:33:
- icomment:
File Added - 92565: 506653.patch Logged In: YES user_id=80530 It appears to me that Patch 689341(committed in February 2003) has for the most part fixed this bug. Since it was applied, the loading of an escape encoding causes all of its subencodings to be loaded first. The only issue that appears to be unresolved is handling the case where one or more of the subencodings is missing. The attached patch fills that hole. Please review and apply if acceptable.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [29dfa05227] (rid 118461) by dgp on 2006-03-10 13:11:03:
- assignee changed to: "dgp"
- priority changed to: "9 Immediate"
Ticket change [58d90cffe0] (rid 117868) by dgp on 2006-03-14 03:57:46:
- closedate changed to: "2006-03-13T20:57:46"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 committed for 8.4.13 and 8.5a4
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"
Ticket change [c6d45493aa] (rid 121833) by dgp on 2006-03-25 04:27:24:
- icomment:
Logged In: YES user_id=80530 Based on testing reports, the latest patch was good for 8.4.13, but kills performance on Windows somehow on 8.5a4. Reverted from the HEAD.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Remind"
- status changed to: "Open"
- username: "dgp"
- icomment:
Ticket change [82fccbf8c0] (rid 117319) by dgp on 2006-10-11 19:47:09:
- priority changed to: "7 High"
Ticket change [4612d9a274] (rid 99455) by dgp on 2007-11-28 01:57:41:
- assignee changed to: "hobbs"
- icomment:
Logged In: YES user_id=80530 Originator: NO I lost track of this one. Is this still buggy on the HEAD? Is the patch still an effective, but performance-killing-on-Windows fix there?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [a03df97203] (rid 96768) by dgp on 2009-12-10 02:47:50:
- priority changed to: "9 Immediate"
Ticket change [6ea566703b] (rid 100187) by dgp on 2011-06-13 23:25:54:
- closedate changed to: "2011-06-13T16:25:54"
- closer changed to: "dgp"
- icomment:
The difference between branches when a subencoding of an escape encoding is missing persists. In 8.4.* the missing encoding is noticed when we try to first load the escape encoding and an error is thrown. In 8.5+ we carry on, and later if that missing subencoding is actually needed during encoding operations and it remains missing, Tcl will panic. The original bug (infinite loop loading an escape encoding) is long fixed. This ticket had hi priority as a signal to discover what it was in the revised encoding system of 8.5 that killed performance on Windows when patched. That was never determined. Unknown whether it is even still true. Either branch's approach to this vanishingly rare event seems defensible. Plan to just leave things alone.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "5 Medium"
- resolution changed to: "Out of Date"
- status changed to: "Pending"
- username: "dgp"
Ticket change [3b481fb871] (rid 112712) by sf-robot on 2011-06-28 00:20:03:
- closedate changed to: "2011-06-27T17:20:03"
- closer changed to: "sf-robot"
- icomment:
allow_comments - 1 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"