socket_inet-13.1 leaks memory
Closed / Fixed89062c85b3565ba88fb42983cf300ae9172e5368Created 10 years agoUpdated 10 years ago
Descriptionplain2016-07-08 13:57:20
Valgrind: ==28661== 48 (24 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 448 of 902 ==28661== at 0x4C29BFD: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==28661== by 0x5D14D5: TclpAlloc (tclAlloc.c:699) ==28661== by 0x43BD80: Tcl_Alloc (tclCkalloc.c:1059) ==28661== by 0xE85C062: ??? ==28661== by 0xE8639D5: ??? ==28661== by 0xE85DAC8: ??? ==28661== by 0xE85AD84: ??? ==28661== by 0x54A127: Tcl_LoadObjCmd (tclLoad.c:464) ==28661== 2,158 (74 direct, 2,084 indirect) bytes in 1 blocks are definitely lost in loss record 882 of 902 ==28661== at 0x4C29BFD: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==28661== by 0x5D14D5: TclpAlloc (tclAlloc.c:699) ==28661== by 0x43BD80: Tcl_Alloc (tclCkalloc.c:1059) ==28661== by 0xE85BF79: ??? ==28661== by 0xE863AD0: ??? ==28661== by 0xE85DAC8: ??? ==28661== by 0xE85AD84: ??? ==28661== by 0x54A127: Tcl_LoadObjCmd (tclLoad.c:464) ==28661== 5,952 bytes in 1 blocks are definitely lost in loss record 898 of 902 ==28661== at 0x4C29BFD: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==28661== by 0x5D14D5: TclpAlloc (tclAlloc.c:699) ==28661== by 0x43BD80: Tcl_Alloc (tclCkalloc.c:1059) ==28661== by 0xE85DE26: ??? ==28661== by 0xE85AD84: ??? ==28661== by 0x54A127: Tcl_LoadObjCmd (tclLoad.c:464) ==28661== by 0x42F72E: Dispatch (tclBasic.c:4357) ==28661== by 0x42F7B6: TclNRRunCallbacks (tclBasic.c:4390)
dgpplain2016-07-09 15:03:40
Leaks are very likely really in the Thread package. Will need to test again with debugging enabled in it.
dgpplain2016-07-11 17:09:09
Removing [thread::wait] stops the leak and doesn't break the test. Don't really understand it... oh well.
Log in (anonymous is fine) to add a comment.