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/2501] New: apps crash when nscd is malfunctioning


due to the socket leak bug in nscd, the situation that all client apps are 
immediately killed during startup occurred. this is because the nscd-client was 
able to open the socket and poll() on it succeeded, but then during writing the 
request header, it receives a SIGPIPE, because the receiving end (the nscd 
server) wasn't actually able to accept the connection due to being run out of 
file descriptors. 

I don't know a better way other than temporarily overwriting the SIGPIPE 
handler. mostly untested patch attached.

-- 
           Summary: apps crash when nscd is malfunctioning
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: drepper at redhat dot com
        ReportedBy: dmueller at suse dot com
                CC: glibc-bugs at sources dot redhat dot com


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

------- 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]