|
2025-07-09
| ||
| 06:38 | • Closed ticket [f8dd3d8d35]: Valgrind memory leak in uplevel.test plus 5 othe... artifact: 37760df4d9 user: jan.nijtmans | |
|
2025-07-08
| ||
| 14:25 | • Ticket [f8dd3d8d35]: 3 changes artifact: 032adfcfe9 user: apnadkarni | |
| 14:23 | Fix [f8dd3d8d35]. Memory leak in uplevel compile check-in: f264e1b33f user: apnadkarni tags: trunk, main | |
| 03:00 | • Ticket [f8dd3d8d35] Valgrind memory leak in uplevel.test status still Open w... artifact: 8525ebc269 user: apnadkarni | |
| 02:58 | Proposed fix for [f8dd3d8d35]. Memory leak in uplevel compile. closed check-in: a5734a2f35 user: apnadkarni tags: bug-f8dd3d8d35 | |
| 02:57 | • New ticket [f8dd3d8d35] Valgrind memory leak in uplevel.test. artifact: 4a054a1cb3 user: apnadkarni | |
Valgrind memory leak in uplevel.test
Closed / Fixedf8dd3d8d3595fbdf244064f3db38d6c526aebd10Created 1 year agoUpdated 1 year ago
Descriptionplain2025-07-08 02:57:14
``` make -s valgrind TESTFLAGS="-f uplevel.test" ``` shows ``` ==108442== 638 (384 direct, 254 indirect) bytes in 8 blocks are definitely lost in loss record 3 of 3 ==108442== at 0x483EB26: malloc (vg_replace_malloc.c:446) ==108442== by 0x486FA8F: TclpAlloc (tclAlloc.c:700) ==108442== by 0x488E290: Tcl_Alloc (tclCkalloc.c:1035) ==108442== by 0x48E2638: TclCompileUplevelCmd (tclCompCmdsSZ.c:4373) ==108442== by 0x490FB87: TclAttemptCompileProc (tclEnsemble.c:3358) ==108442== by 0x48EC1E9: CompileCmdCompileProc (tclCompile.c:2289) ==108442== by 0x48EC69F: CompileCommandTokens (tclCompile.c:2419) ==108442== by 0x48ECB81: TclCompileScript (tclCompile.c:2605) ==108442== by 0x48EA558: TclSetByteCodeFromAny (tclCompile.c:1148) ==108442== by 0x499FF58: TclProcCompileProc (tclProc.c:2063) ==108442== by 0x499F71B: TclPushProcCallFrame (tclProc.c:1578) ==108442== by 0x49A129B: TclNRApplyObjCmd (tclProc.c:2752) ==108442== by 0x487E7B6: Dispatch (tclBasic.c:4637) ==108442== by 0x487E81A: TclNRRunCallbacks (tclBasic.c:4653) ==108442== by 0x487E0C2: Tcl_EvalObjv (tclBasic.c:4391) ==108442== by 0x4880856: TclEvalEx (tclBasic.c:5492) ==108442== by 0x4968266: Tcl_FSEvalFileEx (tclIOUtil.c:1792) ==108442== by 0x497C0B8: Tcl_MainEx (tclMain.c:404) ==108442== by 0x4006F1: main (tclAppInit.c:100) ==108442== ==108442== LEAK SUMMARY: ==108442== definitely lost: 384 bytes in 8 blocks ==108442== indirectly lost: 254 bytes in 13 blocks ==108442== possibly lost: 0 bytes in 0 blocks ==108442== still reachable: 0 bytes in 0 blocks ==108442== suppressed: 0 bytes in 0 blocks ```
Referenced by2
f264e1b33fFix [f8dd3d8d35]. Memory leak in uplevel compile check-in2025-07-08 14:23:55a5734a2f35Proposed fix for [f8dd3d8d35]. Memory leak in uplevel compile. check-in2025-07-08 02:58:56
apnadkarniplain2025-07-08 03:00:01
Proposed (obvious) fix in [a5734a2f35].
apnadkarniplain2025-07-08 14:25:29
Fixed in [f264e1b33f].
jan.nijtmans Closed ticket [f8dd3d8d35].
[History diff]2025-07-09 06:38:15
Log in (anonymous is fine) to add a comment.