GNU bug report logs - #22152
fat_mutex owner corruption (fmoc) inside fat_mutex_unlock (guile-v2.0.11)

Previous Next

Package: guile;

Reported by: Iwan Aucamp <aucampia <at> gmail.com>

Date: Sat, 12 Dec 2015 19:04:03 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 22152-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Iwan Aucamp <aucampia <at> gmail.com>
Cc: Iwan Armand Aucamp <Iwan.Aucamp <at> concurrent.co.za>,
 Donovan Hutcheon <donovan.hutcheon <at> concurrent.co.za>,
 22152-done <at> debbugs.gnu.org, Waqar Ali <waqar.ali <at> concurrent.co.za>,
 Martin Cooper <Martin.Cooper <at> concurrent.co.za>
Subject: Re: bug#22152: fat_mutex owner corruption (fmoc) inside
 fat_mutex_unlock (guile-v2.0.11)
Date: Mon, 20 Jun 2016 16:05:01 -0400
Mark H Weaver <mhw <at> netris.org> writes:

> Iwan Aucamp <aucampia <at> gmail.com> writes:
>> We sporadically get "mutex not locked" and "mutex not locked by current thread"
>> exceptions on Solaris 10u10 with guile-2.0.11.
>
> Thanks very much for your detailed analysis and proposed fix.
>
> I've attached a patch that hopefully fixes this bug and also refactors
> the code to hopefully be somewhat more clear.  Can you please test it on
> Solaris and verify that it works for your use cases?

I went ahead and pushed commit 1e86dc32a42af549fc9e4721ad48cdd7d296c042
to stable-2.0, which will soon become guile-2.0.12.  I hope it fixes the
issue, although unfortunately my patch was never tested on Solaris.  I'm
going to close this bug, but feel free to reopen it if there are still
issues.

     Thanks,
       Mark




This bug report was last modified 8 years and 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.