.
D 2023-10-09T13:38:00.028
J icomment I'm\snot\ssure\sthe\s"reachable"\swarnings\son\san\sexplicit\sexit\scan\sbe\streated\sas\sreal\sleaks\ssince\sthe\smemory\sis\sstill\sreachable\sas\sopposed\sto\s"definitely\slost".\r\n\r\nAnyways,\sa\slittle\smore\sdetail\son\srunning\sRolf's\stest:\r\n\r\n```\r\n==192368==\sHEAP\sSUMMARY:\r\n==192368==\s\s\s\s\sin\suse\sat\sexit:\s70,279\sbytes\sin\s49\sblocks\r\n==192368==\s\s\stotal\sheap\susage:\s291,376\sallocs,\s291,327\sfrees,\s30,779,604\sbytes\sallocated\r\n==192368==\r\n==192368==\s48\sbytes\sin\s2\sblocks\sare\sdefinitely\slost\sin\sloss\srecord\s26\sof\s38\r\n==192368==\s\s\s\sat\s0x484182F:\smalloc\s(vg_replace_malloc.c:431)\r\n==192368==\s\s\s\sby\s0x489210F:\sTclpAlloc\s(tclAlloc.c:699)\r\n==192368==\s\s\s\sby\s0x48B0192:\sTcl_Alloc\s(tclCkalloc.c:1038)\r\n==192368==\s\s\s\sby\s0x48A31B9:\sTclArgumentEnter\s(tclBasic.c:5720)\r\n==192368==\s\s\s\sby\s0x48A2B91:\sTclEvalEx\s(tclBasic.c:5454)\r\n==192368==\s\s\s\sby\s0x49D7D92:\sTcl_FSEvalFileEx\s(tclIOUtil.c:1783)\r\n==192368==\s\s\s\sby\s0x49E9564:\sTcl_MainEx\s(tclMain.c:412)\r\n==192368==\s\s\s\sby\s0x4011C4:\smain\s(tclAppInit.c:94)\r\n==192368==\r\n==192368==\s1,140\s(96\sdirect,\s1,044\sindirect)\sbytes\sin\s2\sblocks\sare\sdefinitely\slost\sin\sloss\srecord\s37\sof\s38\r\n==192368==\s\s\s\sat\s0x484182F:\smalloc\s(vg_replace_malloc.c:431)\r\n==192368==\s\s\s\sby\s0x489210F:\sTclpAlloc\s(tclAlloc.c:699)\r\n==192368==\s\s\s\sby\s0x48B0192:\sTcl_Alloc\s(tclCkalloc.c:1038)\r\n==192368==\s\s\s\sby\s0x4A14360:\sTcl_NewStringObj\s(tclStringObj.c:255)\r\n==192368==\s\s\s\sby\s0x49FB4F9:\sTclSubstTokens\s(tclParse.c:2329)\r\n==192368==\s\s\s\sby\s0x48A23FF:\sTclEvalEx\s(tclBasic.c:5332)\r\n==192368==\s\s\s\sby\s0x49D7D92:\sTcl_FSEvalFileEx\s(tclIOUtil.c:1783)\r\n==192368==\s\s\s\sby\s0x49E9564:\sTcl_MainEx\s(tclMain.c:412)\r\n==192368==\s\s\s\sby\s0x4011C4:\smain\s(tclAppInit.c:94)\r\n==192368==\r\n==192368==\sLEAK\sSUMMARY:\r\n==192368==\s\s\s\sdefinitely\slost:\s144\sbytes\sin\s4\sblocks\r\n==192368==\s\s\s\sindirectly\slost:\s1,044\sbytes\sin\s15\sblocks\r\n==192368==\s\s\s\s\s\spossibly\slost:\s0\sbytes\sin\s0\sblocks\r\n==192368==\s\s\s\sstill\sreachable:\s69,091\sbytes\sin\s30\sblocks\r\n==192368==\s\s\s\s\s\s\s\s\ssuppressed:\s0\sbytes\sin\s0\sblocks\r\n==192368==\sReachable\sblocks\s(those\sto\swhich\sa\spointer\swas\sfound)\sare\snot\sshown.\r\n==192368==\sTo\ssee\sthem,\srerun\swith:\s--leak-check=full\s--show-leak-kinds=all\r\n==192368==\r\n==192368==\sFor\slists\sof\sdetected\sand\ssuppressed\serrors,\srerun\swith:\s-s\r\n==192368==\sERROR\sSUMMARY:\s2\serrors\sfrom\s2\scontexts\s(suppressed:\s0\sfrom\s0)\r\n```
J login apnadkarni
J mimetype text/x-markdown
K 89fbf1f86e4935a146f30dcf3829f44e90a564d5
U apnadkarni
Z 467161555002cec9386ae901d5ea2cb0