> For Dwayne, it may be useful to try to run the adduser command under > valgrind; since nss certainly has nothing to do with gettext, this probably > points to a memory smash that needs to be tracked down.
With libnss-mysql enabled: ip02:/usr/share/doc/libpam-mysql# valgrind /usr/sbin/adduser --system --disabled-password --disabled-login --home /var/run/stunnel4 --no-create-home --group stunnel5 ==7368== Memcheck, a memory error detector for x86-linux. ==7368== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al. ==7368== Using valgrind-2.2.0, a program supervision framework for x86-linux. ==7368== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al. ==7368== For more details, rerun with: -v ==7368== ==7368== Invalid read of size 4 ==7368== at 0x1BE183B8: XS_Locale__gettext_gettext (in /usr/lib/perl5/auto/Locale/gettext/gettext.so) ==7368== by 0x80C32D5: Perl_pp_entersub (in /usr/bin/perl) ==7368== by 0x80BBDC8: Perl_runops_standard (in /usr/bin/perl) ==7368== by 0x80635E7: (within /usr/bin/perl) ==7368== Address 0x1 is not stack'd, malloc'd or (recently) free'd ==7368== ==7368== Process terminating with default action of signal 11 (SIGSEGV) ==7368== Access not within mapped region at address 0x1 ==7368== at 0x1BE183B8: XS_Locale__gettext_gettext (in /usr/lib/perl5/auto/Locale/gettext/gettext.so) ==7368== by 0x80C32D5: Perl_pp_entersub (in /usr/bin/perl) ==7368== by 0x80BBDC8: Perl_runops_standard (in /usr/bin/perl) ==7368== by 0x80635E7: (within /usr/bin/perl) ==7368== ==7368== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 43 from 1) ==7368== malloc/free: in use at exit: 1309294 bytes in 25954 blocks. ==7368== malloc/free: 40310 allocs, 14356 frees, 15787742 bytes allocated. ==7368== For a detailed leak analysis, rerun with: --leak-check=yes ==7368== For counts of detected errors, rerun with: -v Segmentation fault Without libnss-mysql enabled: ip02:/usr/share/doc/libpam-mysql# valgrind /usr/sbin/adduser --system --disabled-password --disabled-login --home /var/run/stunnel4 --no-create-home --group stunnel5 ==7373== Memcheck, a memory error detector for x86-linux. ==7373== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al. ==7373== Using valgrind-2.2.0, a program supervision framework for x86-linux. ==7373== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al. ==7373== For more details, rerun with: -v ==7373== Adding system user `stunnel5'... Adding new group `stunnel5' (106). Adding new user `stunnel5' (106) with group `stunnel5'. Not creating home directory. ==7373== warning: Valgrind's siglongjmp is incomplete ==7373== (it ignores cleanup handlers) ==7373== your program may misbehave as a result ==7373== ==7373== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 31 from 1) ==7373== malloc/free: in use at exit: 1083516 bytes in 19518 blocks. ==7373== malloc/free: 38990 allocs, 19472 frees, 15619892 bytes allocated. ==7373== For a detailed leak analysis, rerun with: --leak-check=yes ==7373== For counts of detected errors, rerun with: -v -- Dwayne Rightler [EMAIL PROTECTED] GnuPG Public Key: http://www.technicalogic.com/drightler/drightler.pub Sat Mar 12 20:52:34 CST 2005
pgpaHYUzsOTvI.pgp
Description: PGP signature