Created attachment 318188 [details] core file generated by nscd segfault Description of problem: nscd segfaults on mail servers which do lots of host lookups for various DNS-based blacklists. All that gets logged is this in "dmesg": nscd[2739]: segfault at 0000000041004000 rip 0000555555563474 rsp 0000000040fab480 error 6 Version-Release number of selected component (if applicable): nscd-2.5-18.el5_1.1 glibc-common-2.5-18.el5_1.1 glibc-2.5-18.el5_1.1 How reproducible: Fairly reproducible on servers doing lots of host lookups Steps to Reproduce: I have not been able to reproduce this issue locally. However, the customer reports that this problem occurs fairly frequently in his setup. The core generated from the segfault has been collected and attached. Actual results: nscd segfaults with the message nscd[2739]: segfault at 0000000041004000 rip 0000555555563474 rsp 0000000040fab480 error 6 Expected results: nscd should not segfault Additional info: A bt on the core gives: Core was generated by `/usr/sbin/nscd'. Program terminated with signal 11, Segmentation fault. #0 gc (db=0x55555576e330) at mem.c:131 131 ref_t run = *prevp; (gdb) bt #0 gc (db=0x55555576e330) at mem.c:131 #1 0x0000555555562a0f in prune_cache (table=0x55555576e330, now=1199409921, fd=-1) at cache.c:486 #2 0x000055555555c303 in nscd_run (p=0x1) at connections.c:1484 #3 0x00002aaaaaed52f7 in ?? () #4 0x0000000000000000 in ?? ()
Created attachment 318189 [details] nscd.conf
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1415.html