threads/136345: Recursive read rwlocks in thread A cause deadlock with write lock in thread B

Nick Esborn nick at desert.net
Wed Jul 15 21:40:04 UTC 2009


The following reply was made to PR threads/136345; it has been noted by GNATS.

From: Nick Esborn <nick at desert.net>
To: bug-followup at FreeBSD.org,
 rink at FreeBSD.org
Cc:  
Subject: Re: threads/136345: Recursive read rwlocks in thread A cause deadlock with write lock in thread B
Date: Wed, 15 Jul 2009 14:32:38 -0700

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-19-950902279
 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
 Content-Transfer-Encoding: 7bit
 
 Even after the above patch, I still run into occasional MySQL thread  
 deadlocks, which I originally described in what is now threads/135673.
 
 I also posted on freebsd-current a few days ago:
 
    http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009328.html
 
 I'd be happy to collect whatever data would be helpful in tracking  
 down this deadlock.  This only seems to happen under our production  
 workload, so that might make it harder to capture meaningful debug  
 data, but I'm certainly willing to try.  I can also arrange for  
 developer access to the system in question, if that would help  
 significantly.
 
 -nick
 
 --
 nick at desert.net - all messages cryptographically signed
 
 
 --Apple-Mail-19-950902279
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (Darwin)
 
 iEYEARECAAYFAkpeSvYACgkQw1bX5UNr2ABajACeNpj/MW4X+4zfvlWNCXnqo6D9
 EZkAoLpGHxs4RoHMd7yqyba4IPzKxsJh
 =5I4q
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-19-950902279--


More information about the freebsd-threads mailing list