Artifacts Associated With Ticket eb6b68c1a9
Ticket change [15e968b958] (rid 149225) by dgp on 2016-10-13 13:49:26:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
New test demonstrating failure: test stringComp-14.5 {} { apply {{} {string replace [string repeat a\u00fe 5] 3 end {} }} } a\u00fea - foundin initialized to: "8.6.2 +"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "Broken case in compiled [string replace]"
- type initialized to: "Bug"
Ticket change [ffdb138879] (rid 149226) by dgp on 2016-10-13 14:01:13:
- assignee changed to: "dkf"
- icomment:
The stanza of code: http://core.tcl.tk/tcl/artifact/57cea04b21f64a97?ln=5731-5736 is until now untested. The stanza is unreliable because it makes use of Tcl_SetObjLength() without accounting for that routine's bizarre dual-mode where it behaves functionally differently whether or not its (Tcl_Obj *) argument points to a value with an existing string rep or is pure unicode. It can act on bytes or on chars, but for proper functioning here, it would need to be forced to reliably operate on chars. Simplest fix would be just to remove this stanza and forgo the attempted optimization in the (rare?) circumstance that lack of sharing permits it.
- login: "dgp"
- mimetype: "text/plain"
Ticket change [6ec4fa44e8] (rid 149253) by dkf on 2016-10-14 09:05:42:
- icomment:
Yet another gnarly nasty. Seems a reasonable way of dealing with it.
- login: "dkf"
- mimetype: "text/x-fossil-wiki"
- username: "dkf"
- icomment:
Ticket change [c6856f584e] (rid 149260) by dgp on 2016-10-14 19:29:07:
- assignee changed to: "dgp"
- closedate changed to: "2457676.31189052"
- closer changed to: "dgp"
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"