Ticket UUID: | 3387084 | |||
Title: | leaks in getting pwd, grp | |||
Type: | Bug | Version: | obsolete: 8.6b2 | |
Submitter: | msofer | Created on: | 2011-08-06 00:03:21 | |
Subsystem: | None | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Closed | Last Modified: | 2013-11-12 12:31:33 | |
Resolution: | Works For Me | Closed By: | dkf | |
Closed on: | 2013-11-12 12:31:33 | |||
Description: |
0: malloc (vg_replace_malloc.c:236) 1: nss_parse_service_list (nsswitch.c:622) 2: __nss_database_lookup (nsswitch.c:164) 3: ??? 4: ??? 5: getgrgid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:253) 6: TclpGetGrGid (tclUnixCompat.c:330) 7: GetGroupAttribute (tclUnixFCmd.c:1330) 8: NativeFileAttrsGet (tclIOUtil.c:2293) 9: Tcl_FSFileAttrsGet (tclIOUtil.c:2471) -- cmdAH.test: ==21234== 300 (60 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 85 of 87 -- fCmd.test: ==21855== 300 (60 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 95 of 99 -- unixFCmd.test: ==23585== 300 (60 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 84 of 86 0: malloc (vg_replace_malloc.c:236) 1: nss_parse_service_list (nsswitch.c:622) 2: __nss_database_lookup (nsswitch.c:164) 3: ??? 4: ??? 5: getpwuid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:253) 6: TclpGetPwUid (tclUnixCompat.c:218) 7: TclpSetVariables (tclUnixInit.c:877) 8: Tcl_CreateInterp (tclBasic.c:932) 9: Tcl_Main (tclMain.c:639) | |||
User Comments: |
dgp added on 2011-08-20 03:45:42:
I still can't reproduce these. Looking at the stack traces, could valgrind be pointing out problems in the glibc of your system? msofer added on 2011-08-15 20:09:35: File Added - 421165: output.txt msofer added on 2011-08-15 20:08:32: CFLAGS=-DPURIFY ./configure --disable-shared --enable-symbols; make test I still see the leaks on freshly updated trunk: uname -a Linux ari 2.6.35-30-generic #56-Ubuntu SMP Mon Jul 11 20:01:08 UTC 2011 x86_64 GNU/Linux /usr/bin/valgrind --leak-check=yes --num-callers=10 ./tcltest ../tests/cmdAH.test produces output.txt (attached) dgp added on 2011-08-15 19:50:41: Please confirm these are now out of date, and no longer leaking. Or offer more complete reproduction recipe. Thanks! msofer added on 2011-08-06 07:04:15: Forgot to mention: 2nd leak appears in every test |
Attachments:
- output.txt [download] added by msofer on 2011-08-15 20:09:34. [details]