[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5565) slapd crashes due to SIGPIPE



jwm@horde.net wrote:
> Full_Name: John Morrissey
> Version: RE23-20080612
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (2001:4830:120d:0:21f:5bff:fee9:da92)
>
>
> The fix for ITS 5469 stopped the assertion failures that caused slapd to crash,
> but slapd continues to crash every few days due to receipt of SIGPIPEs.

That is not possible; slapd explicitly ignores SIGPIPE.

> We had
> been running 2.3.41 plus the fix for ITS 5469, but upgraded to RE23 as of about
> a week ago to make sure a fix wasn't already present. Below is a representative
> backtrace.

This trace is not indicative of a crash. You have to tell gdb not to stop when 
SIGPIPE is received in order to get an accurate view of the program behavior: 
"handle SIGPIPE nostop"
-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/