This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14122] memory leak in nss_parse_service_list()
- From: "alois.schloegl at ist dot ac.at" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 20 May 2012 23:33:20 +0000
- Subject: [Bug libc/14122] memory leak in nss_parse_service_list()
- Auto-submitted: auto-generated
- References: <bug-14122-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14122
--- Comment #8 from alois.schloegl at ist dot ac.at 2012-05-20 23:33:20 UTC ---
Created attachment 6416
--> http://sourceware.org/bugzilla/attachment.cgi?id=6416
/etc/nsswitch.conf
Attached is the /etc/nsswitch.conf on my systems. It came with Debian/squeeze
and Ubuntu 10.04, I did not change it.
Alois
P.S.: I tried to built the latest glibc. In userspace, make failed in the
following way:
...
/bin/sh ../scripts/rellns-sh /home/schloegl/glibc/lib/libnss_files.so.2
/home/schloegl/glibc/lib/libnss_files.so.new
mv -f /home/schloegl/glibc/lib/libnss_files.so.new
/home/schloegl/glibc/lib/libnss_files.so
/usr/bin/install -c /home/schloegl/src/glibc_built/nss/libnss_db.so
/home/schloegl/glibc/lib/libnss_db-2.15.90.so.new
mv -f /home/schloegl/glibc/lib/libnss_db-2.15.90.so.new
/home/schloegl/glibc/lib/libnss_db-2.15.90.so
echo libnss_db-2.15.90.so /home/schloegl/glibc/lib/libnss_db.so.2 >>
/home/schloegl/src/glibc_built/elf/symlink.list
rm -f /home/schloegl/glibc/lib/libnss_db.so.new
/bin/sh ../scripts/rellns-sh /home/schloegl/glibc/lib/libnss_db.so.2
/home/schloegl/glibc/lib/libnss_db.so.new
mv -f /home/schloegl/glibc/lib/libnss_db.so.new
/home/schloegl/glibc/lib/libnss_db.so
.././scripts/mkinstalldirs /var/db
mkdir /var/db
mkdir: cannot create directory `/var/db': Permission denied
make[2]: *** [/var/db/Makefile] Error 1
make[2]: Leaving directory `/home/schloegl/src/glibc/nss'
make[1]: *** [nss/subdir_install] Error 2
make[1]: Leaving directory `/home/schloegl/src/glibc'
make: *** [install] Error 2
Compiling the test file according to
http://sourceware.org/glibc/wiki/Testing/Builds
failed in this way:
$ gcc q.c -I /home/schloegl/glibc/include/ --sysroot=${SYSROOT}
-Wl,-rpath=${SYSROOT}/lib -Wl,--dynamic-linker=${SYSROOT}/lib/ld.so.1
In file included from /home/schloegl/glibc/include/features.h:399,
from /home/schloegl/glibc/include/pwd.h:26,
from q.c:3:
/home/schloegl/glibc/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such
file or directory
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.