Artifacts Associated With Ticket 971cb4f1db
Ticket change [2104c6b508] (rid 136703) by miguel on 2014-02-03 18:52:06:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
In order to repro: launch tclsh, [set tcl_traceExec 3], enter (empty command) => watch the output, some of the strings reported are obviously garbage
- foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "miguel"
- priority initialized to: "5 Medium"
- private_contact initialized to: "214bb5765a5d2d4513fe393de9e8c8431e3e869a"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "miguel"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "garbage strings in trace execution"
- type initialized to: "Bug"
Ticket change [df7a9547b6] (rid 136704) by miguel on 2014-02-03 18:53:07:
- assignee changed to: "dkf"
- icomment:
assigning to dkf, hoping he sees immediately what's wrong
- login: "miguel"
- mimetype: "text/plain"
- username: "miguel"
Ticket change [3e839ad3f7] (rid 136712) by dkf on 2014-02-03 22:57:11:
- icomment:
It's the trim-set, which contains non-ASCII characters and which it seems that <tt>printf()</tt> doesn't do a good job of displaying. Not sure what to do about it, but it's really rather harmless.
- login: "dkf"
- mimetype: "text/html"
- priority changed to: "3 Low"
- severity changed to: "Cosmetic"
- username: "dkf"
- icomment:
Ticket change [46447ca0a4] (rid 136716) by dkf on 2014-02-04 08:46:00:
- icomment:
Such "garbage" as is there now is from <tt>TclPrintObject()</tt> rather than being injected by problems directly in <tt>printf()</tt>. I've only improved things in the tracing for the INST_STR_TRIM group of instructions because they're the only places where it is <i>very</i> likely to be a problem; elsewhere, problem characters are mostly rare. <p> I don't know if <tt>TclPrintObject()</tt> is doing the right thing, but it's what we use in other tricky cases (INST_PUSH for example).
- login: "dkf"
- mimetype: "text/html"
- priority changed to: "2"
- resolution changed to: "Fixed"
- username: "dkf"
- icomment:
Ticket change [5ab9f99d88] (rid 136717) by dkf on 2014-02-04 08:50:43:
- icomment:
Any further fix belongs in <tt>PrintSourceToObj()</tt> in <i>generic/tclCompile.c</i>, which everything else is focussed through. <p> <small>(Self note: this function moves to <i>tclDisassemble.c</i> on the <i>dkf-improved-disassembler</i> branch)</small>
- login: "dkf"
- mimetype: "text/html"
- username: "dkf"
- icomment:
Ticket change [741dadd017] (rid 136720) by dkf on 2014-02-04 09:05:06:
- closedate changed to: "2456692.87854185"
- closer changed to: "dkf"
- icomment:
Adjusted that function to be much less broken. (It assumed ASCII!) The result is that the reported case now produces code that can be much more easily understood.
- login: "dkf"
- mimetype: "text/html"
- status changed to: "Closed"
- username: "dkf"