This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nscd/5818] New: Poor nscd configuration leads to SIGFPE from many processes.


This was discovered on glibc-2.5-18.x86_64 (on CentOS 5) and can be reproduced
with glibc-2.7-2.x86_64 (Fedora 8).  It is not x86_64 dependent and appears to
be a problem with many relatively recent versions of nscd.

To reproduce the problem, simply comment out the "suggested-size group" line in
/etc/nscd.conf, remove any existing nscd database files and (re)start nscd. 
Commands such as "ls -l" will now fail with SIGFPE:

For example:

  sed -i '/suggested-size.*group/s/^/#/' /etc/nscd.conf
  rm /var/db/nscd/*
  nscd -d &
  ls -la
 
You'll get some debug messages from nscd and "Floating point exception" from ls.

-- 
           Summary: Poor nscd configuration leads to SIGFPE from many
                    processes.
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: drepper at redhat dot com
        ReportedBy: jch at thehaxbys dot co dot uk
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5818

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]