Skip to content
Tcl Source Code Artifact [74ca5f065c]
Login

Artifact [74ca5f065c]

Artifact 74ca5f065cf33defa8a2de12939ac991bdf38471:

Ticket change [74ca5f065c] - New ticket [219236ffffffffff|219236ffff] <i>Tcl_EvalEx() passes the wrong command size to EvalObjv()</i>. by nobody on 2000-10-26 05:03:58.
D 2000-10-26T05:03:58
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4729\sBug\nVersion:\s8.3\nSubmitDate:\s'2000-03-30'\nLastModified:\s'2000-04-03'\nSeverity:\sMED\nStatus:\sAssigned\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nYu\sZhang\n\nCVS:\n*\sRCS:\s@(#)\s$Id:\stclParse.c,v\s1.13\s1999/11/10\s02:51:57\shobbs\sExp\s$\n\nObservedBehavior:\nI\stried\sto\sintegrate\sDon\sLibes\stcl-debugger\sfrom\sexpect5.31\swith\sTcl8.3.0\sand\sfound\sthat\sall\sdebugger\sfunctionality\sworks\sexcept\sfor\sbreakpoint\sby\spattern\smatch.\s\nThe\sreason\sof\sthis\sproblem\sis:\sTcl_EvalEx()\spasses\sbytesLeft\sinstead\sof\sparse.commandSize\sas\sthe\ssize\sof\sthe\scommand\sjust\sparsed\sto\sEvalObjv().\sEvalObjv()\swill\scall\strace\sfunctions,\sincluding\sthe\sdebugger_trap()\sfunction,\spassing\sthem\sthe\scommand\sstring.\sDue\sto\sthe\swrong\scommand\ssize,\sthe\scommand\sstring\sdebugger_trap()\sgets\sis\swrong,\scausing\sbogus\sbreakpoints.\n\n\n\ntclParse.c:1393\sis\sthe\sline\sin\squestion.\s\sThe\schange\spasses\sthe\ntest\ssuites,\sbut\smaybe\sonly\sbecause\sit\sonly\saffects\sC\scommand\straces,\nin\sTclX\sand\sExpect.\n\nLooking\sat\sthe\sstructure\sof\sTcl_Parse,\sI\swould\sthink\sthat\sthe\ncorrect\svalue\sis\sactually\n\s\s\s\sparse.commandStart\s+\sparse.commandSize\nbecause\syou\shave\sto\saccount\sfor\spossible\scomments.\s\n--\s03/30/2000\shobbs
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 10.\sObjects
J title Tcl_EvalEx()\spasses\sthe\swrong\scommand\ssize\sto\sEvalObjv()
J type Bug
K 219236ffffffffffffffffffffffffffffffffff
U nobody
Z f85e4a04d7f3eccd33a671dc24512945