Doug Leavitt wrote:On 01/ 7/11 08:01 AM, Rein Tollevik wrote:On 06.01.11 22.48, Quanah Gibson-Mount wrote:--On Thursday, January 06, 2011 7:40 PM +0100 Rein Tollevik<rein@OpenLDAP.org> wrote:On 04.01.11 23.34, Quanah Gibson-Mount wrote:Please test RE24 heavily.test039 deadlocks for me on 64bit solaris10, both x86 and sparc :-( Ithangs in the monitor, triggered by the new swamp -SS option added toslapd-tester. It works if run with -S or -SSS. It is the third serverthat hangs, and it does so quite consistently with the same stack traceevery time. A gdb trace is at at:ftp://ftp.openldap.org/incoming/rein-test039-gdb-trace.txtDoes this happen on both HEAD and RE24, or RE24 only?Both, as well as when running the head tests suite with the 2.4.23release. Looks as if the swamp additions have tripped into anexisting problem, not anything new. Leave it out of RE24 until ifhave been resolved?Btw, any other Solaris test runs out there? I´t like to know if it isa real Solaris problem or just me..
I'm seeing a similar failure on 32 bit Sparc Solaris 10. But it actually locks up in test036 for me, I never get as far as test039. The gdb trace looks much the same as what you posted.
Looks like for some reason threads that are blocked waiting for their sockets to become writable are never getting waken up. A regular SIGINT shuts down slapd cleanly so it doesn't appear to be a problem with the condvars being used to manage the threads. That kinda points to select() simply not returning the writable status.
I haven't used this Solaris machine much, but in fact (looking at the remnants of other files in my source tree on this box) this appears to have been a problem since at least last August. (I.e., it looks like I was investigating this same problem back then but dropped it and never got back to it.)ReinI'm currently testing Solaris11 (Nevada) and not seeing any issues ineither 32 or 64bit builds using both RE24 and HEAD. I have not had any failures onx86 yet.Testing is still underway for sparc and other internal system testing onboth platforms.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/