Bugzilla – Bug 337395
glibc update causes modlogan to hang
Last modified: 2007-11-23 23:12:59 UTC
Created attachment 180937 [details] strace -f modlogan Preamble: This bug is similar to bug 328486, but there are two differences: - the program is hanging forever instead of crashing - the system is running 10.2, not 10.3 Now to the details: On a 10.2 x86_64 server, I use modlogan (modlogan-0.8.13-2.1 x86_64 from home:darix) to create web access statistics. This worked until the last glibc update. Since I installed the glibc update, modlogan hangs forever (at least I had a process hanging for several days...) at a "futex" call: fstat(4, {st_mode=S_IFREG|0644, st_size=24869, ...}) = 0 mmap(NULL, 24869, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b814d89a000 close(4) = 0 futex(0x669790, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted system call) (the EINTR was caused by pressing Ctrl-C) The full strace is attached. # rpm -qa --last | head -n 15 openssh-4.4p1-26 Sa 27 Okt 2007 13:53:21 CEST openssl-32bit-0.9.8d-23.7 Fr 19 Okt 2007 23:50:51 CEST hplip-hpijs-1.6.10-25 Fr 19 Okt 2007 23:50:48 CEST glibc-locale-32bit-2.5-34.5 Fr 19 Okt 2007 23:50:47 CEST zypper-0.6.15-0.4 Fr 19 Okt 2007 23:50:41 CEST openssl-0.9.8d-23.7 Fr 19 Okt 2007 23:50:39 CEST nscd-2.5-34.5 Fr 19 Okt 2007 23:50:35 CEST glibc-locale-2.5-34.5 Fr 19 Okt 2007 23:50:30 CEST glibc-devel-2.5-34.5 Fr 19 Okt 2007 23:49:44 CEST glibc-32bit-2.5-34.5 Fr 19 Okt 2007 23:49:37 CEST timezone-2.5-34.5 Fr 19 Okt 2007 23:49:33 CEST glibc-i18ndata-2.5-34.5 Fr 19 Okt 2007 23:49:30 CEST glibc-2.5-34.5 Fr 19 Okt 2007 23:49:28 CEST kernel-default-2.6.18.8-0.7 Fr 19 Okt 2007 23:48:12 CEST squirrelmail-1.4.9a-2.8 So 14 Okt 2007 19:51:58 CEST All glibc* packages have %arch x86_64. And yes, I rebooted the server after the kernel and glibc update ;-)
looks like glibc 2.5-34.5 is broken (and the problem is not modlogan-only, but more general, maybe name service related) x86_64 and i686, glibc 2.5-34.5, nss_ldap, "passwd: files ldap" in /etc/nsswitch.conf $ id <some-login> (hangs) $ strace id <some-login> .... fstat(3, {st_mode=S_IFREG|0644, st_size=227434, ...}) = 0 mmap(NULL, 227434, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b2543e3c000 close(3) = 0 futex(0x63cfa0, FUTEX_WAIT, 2, NULL <unfinished ...> (ctrl-c pressed) found no solution yet, and reinstalled glibc 2.5-25 from the 10.2 distribution, hanging disappeared
*** This bug has been marked as a duplicate of bug 334777 ***
VERIFIED - modlogan works again after installing today's glibc update. Thanks for fixing! My server will have a hard job this night - all the web statistics of several customers for the last month have to be updated ;-)