Skip to content
Tcl Source Code History Of Ticket 3386975
Login

History Of Ticket 3386975

Artifacts Associated With Ticket 3386975

  1. Ticket change [5d5b2a2902] (rid 115446) by msofer on 2011-08-05 19:42:31:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Running the following script in tcltest
      
        # from "test util-13.32 {just over exact - 17 digits}"
        testdoubledigits -2.6153245263757307e+65 17 e
      
      we get two very similar leaks:
        0:  malloc (vg_replace_malloc.c:236)
        1:  TclpAlloc (tclAlloc.c:705)
        2:  Tcl_Alloc (tclCkalloc.c:1046)
        3:  TclBN_mp_init_size (bn_mp_init_size.c:27)
        4:  TclBN_mp_div (bn_mp_div.c:126)
        5:  StrictBignumConversion (tclStrToD.c:3950)
        6:  TclDoubleDigits (tclStrToD.c:4319)
        7:  TestdoubledigitsObjCmd (tclTest.c:1686)
        8:  TclNREvalObjv (tclBasic.c:4268)
        9:  TEBCresume (tclExecute.c:2789)
      -- util.test: ==5444== 48 bytes in 1 blocks are definitely lost in loss record 56 of 72
      
        0:  malloc (vg_replace_malloc.c:236)
        1:  TclpAlloc (tclAlloc.c:705)
        2:  Tcl_Alloc (tclCkalloc.c:1046)
        3:  TclBN_mp_init_size (bn_mp_init_size.c:27)
        4:  TclBN_mp_div_d (bn_mp_div_d.c:78)
        5:  StrictBignumConversion (tclStrToD.c:3927)
        6:  TclDoubleDigits (tclStrToD.c:4319)
        7:  TestdoubledigitsObjCmd (tclTest.c:1686)
        8:  TclNREvalObjv (tclBasic.c:4268)
        9:  TEBCresume (tclExecute.c:2789)
      -- util.test: ==5444== 48 bytes in 1 blocks are definitely lost in loss record 55 of 72
      
      
      
    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: "48. Number Handling"
    11. title initialized to: "leak in double conversion"
    12. type initialized to: "Bug"
  2. Ticket change [cdfc171e00] (rid 95979) by msofer on 2011-08-06 03:14:56:

    1. icomment:
      Remark that util.test produces more leaks, extremely similar to these two. The hope is that they are different symptoms of the same bug.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [67a99db6e3] (rid 102924) by kennykb on 2011-08-06 10:22:19:

    1. closedate changed to: "2011-08-06T03:22:19"
    2. closer changed to: "kennykb"
    3. icomment:
      
      
      allow_comments - 1
      
      Egg on my face. Code was leaking two mp_ints for every call to [format %f] or [format %e] with a number in a range that requires bignums for conversion.
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "kennykb"
  4. Ticket change [1abcfab032] (rid 123033) by kennykb on 2011-08-07 03:55:26:

    1. icomment:
      Also added missing finalization for pow5_13.  But I don't know in 8.6 how to make Tcl_Finalize happen.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  5. Ticket change [2873fe71f2] (rid 88700) by msofer on 2011-08-07 04:18:59:

    1. icomment:
      maybe with patch http://sourceforge.net/support/tracker.php?aid=2919042?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"