Skip to content
Tcl Source Code History Of Ticket a06dfb35861a7656
Login

History Of Ticket a06dfb35861a7656

Artifacts Associated With Ticket a06dfb35861a7656

  1. Ticket change [d40bd3354f] (rid 228147) by apnadkarni on 2024-06-27 06:29:58:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      A valgrind run on commit [88b75ee393] shows 16 lost bytes. (Note that is the commit tested, not where the leak originated). I feel like I logged this ticket before but can't find it.
      
      ```
      ==829498== HEAP SUMMARY:
      ==829498==     in use at exit: 16 bytes in 1 blocks
      ==829498==   total heap usage: 29,202,866 allocs, 29,202,865 frees, 1,308,483,430 bytes allocated
      ==829498==
      ==829498== Searching for pointers to 1 not-freed blocks
      ==829498== Checked 114,960 bytes
      ==829498==
      ==829498== 16 bytes in 1 blocks are definitely lost in loss record 1 of 1
      ==829498==    at 0x484280F: malloc (vg_replace_malloc.c:442)
      ==829498==    by 0x489716C: TclpAlloc (tclAlloc.c:700)
      ==829498==    by 0x48B5692: Tcl_Alloc (tclCkalloc.c:1035)
      ==829498==    by 0x49D891F: Tcl_StaticLibrary (tclLoad.c:1066)
      ==829498==    by 0x4013A4: Tcl_AppInit (tclAppInit.c:135)
      ==829498==    by 0x49D9414: Tcl_MainEx (tclMain.c:370)
      ==829498==    by 0x401344: main (tclAppInit.c:94)
      ==829498==
      ==829498== LEAK SUMMARY:
      ==829498==    definitely lost: 16 bytes in 1 blocks
      ==829498==    indirectly lost: 0 bytes in 0 blocks
      ==829498==      possibly lost: 0 bytes in 0 blocks
      ==829498==    still reachable: 0 bytes in 0 blocks
      ==829498==         suppressed: 0 bytes in 0 blocks
      ==829498==
      ==829498== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
      ```
      
      The call to Tcl_StaticLibrary is to load Tcltest.
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to:
      Memory lost error from valgrind (Tcl_StaticLibrary) running tcltest
      
    16. type initialized to: "Bug"
  2. Ticket change [1f6d5d057f] (rid 253740) by apnadkarni on 2026-05-21 15:52:09:

    1. closedate changed to: "2461182.1612183102"
    2. closer changed to: "apnadkarni"
    3. icomment:
      Fixed via the other duplicate ticket that I can again not find :-) But confirmed valgrind no longer shows this error.
      
    4. login: "apnadkarni"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"