Ticket UUID: | 1732414 | |||
Title: | valgrind error reported in tclParse.c | |||
Type: | Bug | Version: | None | |
Submitter: | kennykb | Created on: | 2007-06-06 22:17:49 | |
Subsystem: | 45. Parsing and Eval | Assigned To: | msofer | |
Priority: | 7 High | Severity: | ||
Status: | Closed | Last Modified: | 2007-06-07 06:08:09 | |
Resolution: | Fixed | Closed By: | msofer | |
Closed on: | 2007-06-06 23:08:09 | |||
Description: |
Running compile.test (haven't located the test case, yet, will update the report when I do), I get the following valgrind trouble report: ==7494== Conditional jump or move depends on uninitialised value(s) ==7494== at 0x40CCE20: Tcl_ParseCommand (tclParse.c:466) ==7494== by 0x407B0DA: TclCompileScript (tclCompile.c:1154) ==7494== by 0x407A60D: TclSetByteCodeFromAny (tclCompile.c:493) ==7494== by 0x407A7FC: SetByteCodeFromAny (tclCompile.c:588) ==7494== by 0x408D91F: TclCompEvalObj (tclExecute.c:1151) ==7494== by 0x4045784: TclEvalObjEx (tclBasic.c:4637) ==7494== by 0x4050D95: Tcl_IfObjCmd (tclCmdIL.c:244) ==7494== by 0x404416E: TclEvalObjvInternal (tclBasic.c:3617) | |||
User Comments: |
msofer added on 2007-06-07 06:08:09:
File Added - 232033: 1732414.patch Logged In: YES user_id=148712 Originator: NO Problem is if TclFindElement returns != TCL_OK: in that case elemStart is not defined. Attached patch (committed) solves the issue. File Added: 1732414.patch kennykb added on 2007-06-07 05:20:19: Logged In: YES user_id=99768 Originator: YES The error in question arises in test cases compile-16.24.0 and compile-16.24.1 |
Attachments:
- 1732414.patch [download] added by msofer on 2007-06-07 06:08:05. [details]