Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5d5b2a29024e7ef65b88a5a79e192b9c3599eda6
Ticket: 3386975fffffffffffffffffffffffffffffffff
leak in double conversion
User & Date: msofer on 2011-08-05 19:42:31
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "obsolete: 8.6b2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "msofer"
  10. subsystem changed to: "48. Number Handling"
  11. title changed to: "leak in double conversion"
  12. type changed to: "Bug"