[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Final: thread lock nesting debugging
From: |
Neil Jerram |
Subject: |
Re: [PATCH] Final: thread lock nesting debugging |
Date: |
Thu, 20 Nov 2008 00:22:22 +0000 |
2008/11/19 Neil Jerram <address@hidden>:
>
> Also I wondered if there are already tools to debug this kind of thing
> (without new Guile code), and a quick search finds this [1], which
> suggests that helgrind could catch bad lock ordering for us.
>
> [1] http://www.network-theory.co.uk/docs/valgrind/valgrind_113.html
Well, in fact "valgrind --tool=helgrind guile" does produce tons of
output describing apparent lock ordering problems. I imagine some
will be false positives, but there's a lot to work through.
Neil