Skip to content
Tcl Source Code History Of Ticket 3386385
Login

History Of Ticket 3386385

Artifacts Associated With Ticket 3386385

  1. Ticket change [68bc53eddf] (rid 103117) by msofer on 2011-08-04 21:08:59:

    1. assignee initialized to: "ferrieux"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Sez valgrind on format.test:
      
      Conditional jump or move depends on uninitialised value(s)
        0:  vfprintf (vfprintf.c:1613)
        1:  vsprintf (iovsprintf.c:43)
        2:  sprintf (sprintf.c:34)
        3:  Tcl_RepresentationCmd (tclObj.c:4497)
        4:  TclNREvalObjv (tclBasic.c:4272)
        5:  TEBCresume (tclExecute.c:2789)
        6:  TclNRRunCallbacks (tclBasic.c:4314)
        7:  TclEvalObjEx (tclBasic.c:5885)
        8:  Tcl_EvalObjEx (tclBasic.c:5866)
        9:  Tcl_RecordAndEvalObj (tclHistory.c:190)
      -- format.test: ==5905== Conditional jump or move depends on uninitialised value(s)
      
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "msofer"
    10. subsystem initialized to: "10. Objects"
    11. title initialized to:
      Tcl_RepresentationCmd: sprintf dislikes unitialized ptrs
      
    12. type initialized to: "Bug"
  2. Ticket change [8eccc51ac7] (rid 120173) by ferrieux on 2011-08-06 01:08:47:

    1. closedate changed to: "2011-08-05T18:08:47"
    2. closer changed to: "ferrieux"
    3. icomment:
      Though it is technically correct that not both ptr1 and ptr2 in the twoPtrValue of a Tcl_Obj are meaningful in all types, it is out of  Tcl_RepresentationCmd's mission to keep track of that (since by definition it could be used on third-party types provided by extensions), hence perfectly valid for it to display a random hex value for the unused slots.
      Hence closing as Won't Fix (though I'd welcome a "valgrind pragma" -- if such beasts exist -- to silence the false alarm).
      
      
      
    4. login: "ferrieux"
    5. mimetype: "text/plain"
    6. resolution changed to: "Wont Fix"
    7. status changed to: "Closed"
    8. username: "ferrieux"