D 2025-05-27T03:29:32.134
J assignee dkf
J icomment A\sproposed\sfix\sfor\sthe\sleak\sin\sTclCompileTryCmd\sis\sin\sthe\s[bug-c587295271-trycompile-leak]\sbranch.\sThis\sseems\sto\sfix\sthe\serror.test\sleaks.\r\n\r\nHowever,\sassemble.test\s(see\sbelow)\sstill\sshows\sa\sseparate\sleak.\sI'm\snot\ssure\swhere\sthe\sAllocJumptable\scall\sat\stclAssembly.c:1514\sis\ssupposed\sto\shave\sa\smatching\sfree,\sboth\sfor\serror\sand\ssuccess\scases.\r\n\r\nVolunteering\s@dkf\sfor\sa\sfix\s:-)\r\n\r\n==3567==\s104\sbytes\sin\s1\sblocks\sare\sdefinitely\slost\sin\sloss\srecord\s6\sof\s10\r\n==3567==\s\s\s\sat\s0x483B7F3:\smalloc\s(in\s/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)\r\n==3567==\s\s\s\sby\s0x488EC2A:\sTclpAlloc\s(tclAlloc.c:700)\r\n==3567==\s\s\s\sby\s0x48AE3C1:\sTcl_Alloc\s(tclCkalloc.c:1035)\r\n==3567==\s\s\s\sby\s0x4890E05:\sAllocJumptable\s(tclCompile.h:1134)\r\n==3567==\s\s\s\sby\s0x4892D0A:\sAssembleOneLine\s(tclAssembly.c:1514)\r\n==3567==\s\s\s\sby\s0x4891CBA:\sTclAssembleCode\s(tclAssembly.c:1059)\r\n==3567==\s\s\s\sby\s0x4891A78:\sTclCompileAssembleCmd\s(tclAssembly.c:943)\r\n==3567==\s\s\s\sby\s0x49320B0:\sTclAttemptCompileProc\s(tclEnsemble.c:3353)\r\n==3567==\s\s\s\sby\s0x490D1B6:\sCompileCmdCompileProc\s(tclCompile.c:2252)\r\n==3567==\s\s\s\sby\s0x490D694:\sCompileCommandTokens\s(tclCompile.c:2382)\r\n==3567==\s\s\s\sby\s0x490DB8B:\sTclCompileScript\s(tclCompile.c:2568)\r\n==3567==\s\s\s\sby\s0x490B52B:\sTclSetByteCodeFromAny\s(tclCompile.c:1143)\r\n==3567==\s\s\s\sby\s0x4939053:\sTclCompileObj\s(tclExecute.c:1790)\r\n==3567==\s\s\s\sby\s0x48A1453:\sTclNREvalObjEx\s(tclBasic.c:6235)\r\n==3567==\s\s\s\sby\s0x48C11D6:\sTclNRCatchObjCmd\s(tclCmdAH.c:195)\r\n==3567==\s\s\s\sby\s0x489E179:\sDispatch\s(tclBasic.c:4639)\r\n==3567==\s\s\s\sby\s0x489E1E1:\sTclNRRunCallbacks\s(tclBasic.c:4655)\r\n==3567==\s\s\s\sby\s0x489DA3C:\sTcl_EvalObjv\s(tclBasic.c:4394)\r\n==3567==\s\s\s\sby\s0x48A03E9:\sTclEvalEx\s(tclBasic.c:5494)\r\n==3567==\s\s\s\sby\s0x498B7DC:\sTcl_FSEvalFileEx\s(tclIOUtil.c:1792)\r\n==3567==\s\s\s\sby\s0x499FFC5:\sTcl_MainEx\s(tclMain.c:404)\r\n==3567==\s\s\s\sby\s0x10B63B:\smain\s(tclAppInit.c:94)
J login apnadkarni
J mimetype text/x-fossil-plain
K c58729527114216540ced9f26d1e3afd602f9410
U apnadkarni
Z c254be516659d825117d8d791940a5d1