Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 462 This is the wrong way of fixing this bug. kim_library_init() just registers KIM's error tables using a pthread-once call. I would like to understand the deadlock this patch is intended to fix. There are multiple mutexes involved (one for the error table array and one for KIM's copy of the framework cfbundle). However it's not obvious to me from just looking at the patch what the deadlock is. I don't see a regression test tagged with this bug number.