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

Re: (ITS#5469) Assertion failure causes slapd crash



jwm@horde.net wrote:
> Full_Name: John Morrissey
> Version: 2.3.41
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (66.133.190.110)
>
>
OK, the backtraces helped a lot. Thread 6 hit the assertion while trying to 
close the connection, and thread 5 was already trying to close the connection. 
And Thread 5 was waiting for thread 2 to wake up and give up the connection 
handle. Seems like a bug in connection.c, aggravated by the presence of 
persistent searches on the connection.

> (continuing the openldap-software thread starting at
> http://marc.info/?l=openldap-software&m=120654684131594&w=2)
>
> An assertion failure causes slapd to crash every few days in our environment.
> The assertion seems to be in servers/slapd/connection.s:680:
>
>      assert( c->c_writewaiter == 0);
>

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/