Public bug reported:

I'm attempting to run valgrind against Tcl/Tk on Feisty,
not having done that process on Ubuntu before (It works
fine on SuSE and Fedora).

I'm encountering a number of memory access errors and
leaks inside the functions __nss_lookup_function and
__nss_database_lookup.  API-level calls that tickle the bug
appear to include getpwnam_r and getgrgid_r.

A typical valgrind report is attached.

==16342== Memcheck, a memory error detector.
==16342== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==16342== Using LibVEX rev 1658, a library for dynamic binary translation.
==16342== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==16342== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation 
framework.
==16342== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==16342== For more details, rerun with: -v
==16342== 
Tests running in interp:  /home/kennykb/SourceForge/tcl/kaboodle/tcltest
Tests located in:  /home/kennykb/SourceForge/tcl/tests
Tests running in:  /home/kennykb/SourceForge/tcl/kaboodle
Temporary files stored in /home/kennykb/SourceForge/tcl/kaboodle
Test files sourced into current interpreter
Running tests that match:  *
Skipping test files that match:  clock.test
Only running test files that match:  c*.test
Tests began at Wed Jun 06 23:37:03 EDT 2007
case.test
chan.test
==16342== Invalid read of size 4
==16342==    at 0x4014759: (within /lib/ld-2.5.so)
==16342==    by 0x4005B69: (within /lib/ld-2.5.so)
==16342==    by 0x4007995: (within /lib/ld-2.5.so)
==16342==    by 0x4010D94: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427945E: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==  Address 0x5284C74 is 36 bytes inside a block of size 37 alloc'd
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4007F33: (within /lib/ld-2.5.so)
==16342==    by 0x4010D94: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427945E: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427954F: (within /lib/tls/i686/cmov/libc-2.5.so)
cmdAH.test
==16342== 
==16342== Invalid read of size 4
==16342==    at 0x4014787: (within /lib/ld-2.5.so)
==16342==    by 0x4005B69: (within /lib/ld-2.5.so)
==16342==    by 0x4007995: (within /lib/ld-2.5.so)
==16342==    by 0x400B836: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x400BA2A: (within /lib/ld-2.5.so)
==16342==    by 0x4010DF4: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==  Address 0x537FC5C is 28 bytes inside a block of size 31 alloc'd
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4007F33: (within /lib/ld-2.5.so)
==16342==    by 0x400B836: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x400BA2A: (within /lib/ld-2.5.so)
==16342==    by 0x4010DF4: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342== 
==16342== Invalid read of size 4
==16342==    at 0x4014743: (within /lib/ld-2.5.so)
==16342==    by 0x4005B69: (within /lib/ld-2.5.so)
==16342==    by 0x4007995: (within /lib/ld-2.5.so)
==16342==    by 0x4010D94: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427945E: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==  Address 0x5380308 is 32 bytes inside a block of size 35 alloc'd
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4007F33: (within /lib/ld-2.5.so)
==16342==    by 0x4010D94: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427945E: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF0B: (within /lib/tls/i686/cmov/libnss_compat-2.5.so)
cmdIL.test
cmdInfo.test
cmdMZ.test
compExpr-old.test
compExpr.test
compile.test
concat.test
config.test

Tests ended at Wed Jun 06 23:38:34 EDT 2007
all.tcl:        Total   926     Passed  889     Skipped 37      Failed  0
Sourced 11 Test Files.
Number of tests skipped for each constraint:
        1       !ieeeFloatingPoint
        2       hasIsoLocale
        9       knownBug
        1       longIs64bit
        4       memory
        8       nonPortable
        12      win
==16342== 
==16342== ERROR SUMMARY: 5 errors from 3 contexts (suppressed: 43 from 1)
==16342== malloc/free: in use at exit: 1,219 bytes in 28 blocks.
==16342== malloc/free: 2,019,880 allocs, 2,019,852 frees, 84,448,361 bytes 
allocated.
==16342== For counts of detected errors, rerun with: -v
==16342== searching for pointers to 28 not-freed blocks.
==16342== checked 142,972 bytes.
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 1 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542F003: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342==    by 0x40B2DAE: TclFileAttrsCmd (tclFCmd.c:1032)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 2 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EFE5: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342==    by 0x40B2DAE: TclFileAttrsCmd (tclFCmd.c:1032)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 3 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EFC7: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342==    by 0x40B2DAE: TclFileAttrsCmd (tclFCmd.c:1032)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 4 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EFA9: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342==    by 0x40B2DAE: TclFileAttrsCmd (tclFCmd.c:1032)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 5 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EF8B: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342==    by 0x40B2DAE: TclFileAttrsCmd (tclFCmd.c:1032)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 6 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF83: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342==    by 0x40EF381: Tcl_FSConvertToPathType (tclPathObj.c:1165)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 7 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF65: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342==    by 0x40EF381: Tcl_FSConvertToPathType (tclPathObj.c:1165)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 8 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF47: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342==    by 0x40EF381: Tcl_FSConvertToPathType (tclPathObj.c:1165)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 9 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF29: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342==    by 0x40EF381: Tcl_FSConvertToPathType (tclPathObj.c:1165)
==16342== 
==16342== 
==16342== 8 bytes in 1 blocks are indirectly lost in loss record 10 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x427925B: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF0B: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342==    by 0x40EF381: Tcl_FSConvertToPathType (tclPathObj.c:1165)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 11 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542F003: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 12 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EFE5: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 13 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EFC7: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 14 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EFA9: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 15 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EF8B: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 16 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF83: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 17 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF65: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 18 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF47: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 19 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF29: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342== 
==16342== 
==16342== 16 bytes in 1 blocks are indirectly lost in loss record 20 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4266C7B: tsearch (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x427921D: __nss_lookup_function (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FF0B: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342== 
==16342== 
==16342== 19 bytes in 1 blocks are still reachable in loss record 21 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4009D7D: (within /lib/ld-2.5.so)
==16342==    by 0x4005B69: (within /lib/ld-2.5.so)
==16342==    by 0x4007995: (within /lib/ld-2.5.so)
==16342==    by 0x4010D94: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342== 
==16342== 
==16342== 19 bytes in 1 blocks are still reachable in loss record 22 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4007F33: (within /lib/ld-2.5.so)
==16342==    by 0x4010D94: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4168E66: pthread_cancel_init (in 
/lib/tls/i686/cmov/libpthread-2.5.so)
==16342==    by 0x4168F90: _Unwind_ForcedUnwind (in 
/lib/tls/i686/cmov/libpthread-2.5.so)
==16342== 
==16342== 
==16342== 19 bytes in 1 blocks are still reachable in loss record 23 of 28
==16342==    at 0x402171B: realloc (vg_replace_malloc.c:306)
==16342==    by 0x40495C5: TclpRealloc (tclAlloc.c:758)
==16342==    by 0x40543B3: Tcl_Realloc (tclCkalloc.c:1105)
==16342==    by 0x409F6A3: TclSetEnv (tclEnv.c:270)
==16342==    by 0x409FB6C: EnvTraceProc (tclEnv.c:587)
==16342==    by 0x410D4FB: TclCallVarTraces (tclTrace.c:2554)
==16342==    by 0x4114D14: TclPtrSetVar (tclVar.c:1696)
==16342==    by 0x411472B: Tcl_ObjSetVar2 (tclVar.c:1522)
==16342==    by 0x41143F2: Tcl_SetObjCmd (tclVar.c:1285)
==16342==    by 0x404DC79: TclEvalObjvInternal (tclBasic.c:3617)
==16342== 
==16342== 
==16342== 28 bytes in 1 blocks are still reachable in loss record 24 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x400BE46: (within /lib/ld-2.5.so)
==16342==    by 0x4010DF4: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4168E66: pthread_cancel_init (in 
/lib/tls/i686/cmov/libpthread-2.5.so)
==16342==    by 0x4168F90: _Unwind_ForcedUnwind (in 
/lib/tls/i686/cmov/libpthread-2.5.so)
==16342== 
==16342== 
==16342== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost 
in loss record 25 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4279687: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4279ED5: __nss_database_lookup (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542FEEB: ???
==16342==    by 0x5431422: ???
==16342==    by 0x4227C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4227717: getpwnam (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x41273AB: TclpGetUserHome (tclUnixFile.c:570)
==16342==    by 0x40F0B81: SetFsPathFromAny (tclPathObj.c:2342)
==16342==    by 0x40E75E5: Tcl_ConvertToType (tclObj.c:584)
==16342== 
==16342== 
==16342== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost 
in loss record 26 of 28
==16342==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==16342==    by 0x4279687: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4279ED5: __nss_database_lookup (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x542EF6B: ???
==16342==    by 0x542FA7B: ???
==16342==    by 0x4226972: getgrgid_r (in /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x412B67B: TclpGetGrGid (tclUnixCompat.c:551)
==16342==    by 0x41250C7: GetGroupAttribute (tclUnixFCmd.c:1332)
==16342==    by 0x40D3C5C: NativeFileAttrsGet (tclIOUtil.c:2362)
==16342==    by 0x40D4127: Tcl_FSFileAttrsGet (tclIOUtil.c:2546)
==16342== 
==16342== 
==16342== 208 bytes in 1 blocks are still reachable in loss record 27 of 28
==16342==    at 0x402095F: calloc (vg_replace_malloc.c:279)
==16342==    by 0x400E8B4: (within /lib/ld-2.5.so)
==16342==    by 0x4011078: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x4168E66: pthread_cancel_init (in 
/lib/tls/i686/cmov/libpthread-2.5.so)
==16342==    by 0x4168F90: _Unwind_ForcedUnwind (in 
/lib/tls/i686/cmov/libpthread-2.5.so)
==16342== 
==16342== 
==16342== 614 bytes in 1 blocks are still reachable in loss record 28 of 28
==16342==    at 0x402095F: calloc (vg_replace_malloc.c:279)
==16342==    by 0x4009B0A: (within /lib/ld-2.5.so)
==16342==    by 0x4005B69: (within /lib/ld-2.5.so)
==16342==    by 0x4007995: (within /lib/ld-2.5.so)
==16342==    by 0x4010D94: (within /lib/ld-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x40108ED: (within /lib/ld-2.5.so)
==16342==    by 0x429E0A1: (within /lib/tls/i686/cmov/libc-2.5.so)
==16342==    by 0x400CFA5: (within /lib/ld-2.5.so)
==16342==    by 0x429E254: __libc_dlopen_mode (in 
/lib/tls/i686/cmov/libc-2.5.so)
==16342== 
==16342== LEAK SUMMARY:
==16342==    definitely lost: 72 bytes in 2 blocks.
==16342==    indirectly lost: 240 bytes in 20 blocks.
==16342==      possibly lost: 0 bytes in 0 blocks.
==16342==    still reachable: 907 bytes in 6 blocks.
==16342==         suppressed: 0 bytes in 0 blocks.

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
valgrind errors in __nss_lookup_function and __nss_database_lookup
https://bugs.launchpad.net/bugs/119029
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to