Full_Name: J. Cameijo Cerdeira Version: 2.0.3 OS: linux 2.2.12 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (212.55.140.11) Hello, Setting the idletimeout parammeter in slapd.conf to any value > 0 results in a slapd hangup. After browsing connection.c , it seems to me that connections_timeout_idle() tries to lock connection_mutex and then, when connection_first() is called, a new lock is tried which results in a deadlock situation. Furthermore, again in connections_timeout_idle(), i believe connection_done() should be called inside de for(;;) loop. thanx, JCC
At 03:27 PM 9/22/00 +0000, ariedrec@esoterica.pt wrote: >Full_Name: J. Cameijo Cerdeira >Version: 2.0.3 >OS: linux 2.2.12 >URL: ftp://ftp.openldap.org/incoming/ >Submission from: (NULL) (212.55.140.11) > > >Hello, > >Setting the idletimeout parammeter in slapd.conf to any value > 0 results in a >slapd hangup. > >After browsing connection.c , it seems to me that connections_timeout_idle() >tries to lock connection_mutex and then, when connection_first() is called, >a new lock is tried which results in a deadlock situation. Without recursive locks, yes. I've patched this in devel. >Furthermore, again in connections_timeout_idle(), i believe connection_done() >should be called inside de for(;;) loop. I belive this would incorrect. Kurt
changed notes changed state Open to Test moved from Incoming to Software Bugs
changed notes changed state Test to Release
changed notes changed state Release to Closed
moved from Software Bugs to Archive.Software Bugs
fixed in devel fixed in re20