Artifacts Associated With Ticket 3386975
Ticket change [5d5b2a2902] (rid 115446) by msofer on 2011-08-05 19:42:31:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "obsolete: 8.6b2"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "48. Number Handling"
- title initialized to: "leak in double conversion"
- type initialized to: "Bug"
Ticket change [cdfc171e00] (rid 95979) by msofer on 2011-08-06 03:14:56:
- 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.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [67a99db6e3] (rid 102924) by kennykb on 2011-08-06 10:22:19:
- closedate changed to: "2011-08-06T03:22:19"
- closer changed to: "kennykb"
- 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.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "kennykb"
Ticket change [1abcfab032] (rid 123033) by kennykb on 2011-08-07 03:55:26:
- icomment:
Also added missing finalization for pow5_13. But I don't know in 8.6 how to make Tcl_Finalize happen.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [2873fe71f2] (rid 88700) by msofer on 2011-08-07 04:18:59:
- icomment:
maybe with patch http://sourceforge.net/support/tracker.php?aid=2919042?
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment: