tags 408450 moreinfo unreproducible severity 408450 important thanks On Thu, Jan 25, 2007 at 04:18:10PM -0600, Jim Studt wrote: > I noticed my postfix bouncing mail when 'deliver' failed with a glibc > malloc checking memory error. > Investigation showed it to always occur in a getpwnam() call. The > following test program fails in > something like 100-400 calls on my libnss-ldap system but works > correctly through 70k calls > (all of /usr/share/dict/words) on 'normal' systems. (Deliver bug is > #408406)
> This bug causes email systems to randomly bounce mail. If the bug is > not limited to unrecognized > users it will effect the stability of the whole system. I only have > 160 users, not enough to test using > only valid names, they all get cached. > That program will look up each line of standard input. > A good test is... > fgrep -v \' /usr/share/dict/words | ./ut > ... to send in all the words without apostrophes, like so... > [EMAIL PROTECTED]:~$ fgrep -v \' /usr/share/dict/words | ./ut > ........................................................................ > .. > ................................................*** glibc detected > *** free(): invalid pointer: 0xb7f17d14 *** > Aborted (core dumped) I am not able to reproduce this problem with the current etch version of libnss-ldap (which is 251-7.1, not 251-7) on i386. Please confirm what LDAP server you're using, what architecture the failure happens on, and a backtrace from such a crash with libnss-ldap rebuilt. If the architecture is one of amd64, i386, and powerpc, please also run the test app under valgrind so we can get feedback on where the corruption is happening, not just where the crash happens. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]