Artifacts Associated With Ticket fb2a411b91
Ticket change [0d32e5d1c3] (rid 194306) by pooryorick on 2021-05-14 20:29:27:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
Up to at least commit [45fa0ff557cfdb12], tclZipfs.c exit handlers don't deallocate allocated storage. The command, <code><verbatim> make TESTFLAGS='-file zipfs.test' valgrind </verbatim></code> , produces the following results: <code><verbatim> zipfs.test Tests ended at Fri May 14 23:20:09 EEST 2021 all.tcl: Total 48 Passed 37 Skipped 11 Failed 0 Sourced 1 Test Files. Number of tests skipped for each constraint: 11 zipfslib --446328-- Discarding syms at 0x5830550-0x583617c in /usr/lib/libnss_files-2.33.so (have_dinfo 1) ==446328== ==446328== HEAP SUMMARY: ==446328== in use at exit: 518 bytes in 2 blocks ==446328== total heap usage: 344,223 allocs, 344,221 frees, 88,414,723 bytes allocated ==446328== ==446328== Searching for pointers to 2 not-freed blocks ==446328== Checked 151,904 bytes ==446328== ==446328== 6 bytes in 1 blocks are still reachable in loss record 1 of 2 ==446328== at 0x483E77F: malloc (vg_replace_malloc.c:307) ==446328== by 0x488C464: TclpAlloc (tclAlloc.c:699) ==446328== by 0x48A89FE: Tcl_Alloc (tclCkalloc.c:1054) ==446328== by 0x4A34950: ZipfsSetup (tclZipfs.c:1853) ==446328== by 0x4A3C176: TclZipfs_Init (tclZipfs.c:5655) ==446328== by 0x4A3C553: TclZipfs_AppHook (tclZipfs.c:5773) ==446328== by 0x10A38A: main (tclAppInit.c:88) ==446328== ==446328== 512 bytes in 1 blocks are still reachable in loss record 2 of 2 ==446328== at 0x483E77F: malloc (vg_replace_malloc.c:307) ==446328== by 0x488C464: TclpAlloc (tclAlloc.c:699) ==446328== by 0x48A89FE: Tcl_Alloc (tclCkalloc.c:1054) ==446328== by 0x499CC7C: RebuildTable (tclHash.c:1022) ==446328== by 0x499C2D9: CreateHashEntry (tclHash.c:368) ==446328== by 0x4A344AD: ZipFSCatalogFilesystem (tclZipfs.c:1755) ==446328== by 0x4A34C3B: TclZipfs_Mount (tclZipfs.c:2016) ==446328== by 0x4A3522A: ZipFSMountObjCmd (tclZipfs.c:2243) ==446328== by 0x4899194: Dispatch (tclBasic.c:4817) ==446328== by 0x489921A: TclNRRunCallbacks (tclBasic.c:4857) ==446328== by 0x4898ADC: Tcl_EvalObjv (tclBasic.c:4576) ==446328== by 0x489B1AF: TclEvalEx (tclBasic.c:5728) ==446328== by 0x49C60E8: Tcl_FSEvalFileEx (tclIOUtil.c:1782) ==446328== by 0x49D4BFD: Tcl_MainEx (tclMain.c:399) ==446328== by 0x10A3B4: main (tclAppInit.c:91) ==446328== ==446328== LEAK SUMMARY: ==446328== definitely lost: 0 bytes in 0 blocks ==446328== indirectly lost: 0 bytes in 0 blocks ==446328== possibly lost: 0 bytes in 0 blocks ==446328== still reachable: 518 bytes in 2 blocks ==446328== suppressed: 0 bytes in 0 blocks ==446328== ==446328== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) </code></verbatim>
- is_private initialized to: "0"
- login: "pooryorick"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "pooryorick"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to:
tclZipfs.c exit handlers don't deallocate allocated storage.
- type initialized to: "Bug"
Ticket change [b30f756ae1] (rid 194311) by pooryorick on 2021-05-14 21:00:48:
- icomment:
Fixed in [47601ca8e37b50f4] and [20117765bd03fc9f].
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- icomment:
Ticket change [64920e0663] (rid 194318) by pooryorick on 2021-05-15 09:10:33:
- closedate changed to: "2459349.88232694"
- closer changed to: "pooryorick"
- login: "pooryorick"
- mimetype: "text/plain"
- status changed to: "Closed"
Ticket change [17c9e823c0] (rid 194319) by pooryorick on 2021-05-15 09:11:58:
- closedate changed to: "2459349.88331311"
- icomment: "Merged to core-8-branch in [a2aa650ca5527582]."
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"