unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Neil Jerram" <neiljerram@googlemail.com>
To: linasvepstas@gmail.com
Cc: bug-guile@gnu.org
Subject: Re: [PATCH] Final: thread lock nesting debugging
Date: Thu, 20 Nov 2008 00:22:22 +0000	[thread overview]
Message-ID: <49dd78620811191622w3e8f22eg28c57e051a86dc8b@mail.gmail.com> (raw)
In-Reply-To: <49dd78620811191521vdc920cenacc5c4d4040a37a1@mail.gmail.com>

2008/11/19 Neil Jerram <neiljerram@googlemail.com>:
>
> 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




  reply	other threads:[~2008-11-20  0:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-17  4:42 [PATCH] Final: thread lock nesting debugging Linas Vepstas
2008-11-17 13:21 ` Han-Wen Nienhuys
2008-11-18 13:26 ` Ludovic Courtès
2008-11-19 23:14 ` Neil Jerram
2008-11-19 23:21   ` Neil Jerram
2008-11-20  0:22     ` Neil Jerram [this message]
2008-11-20 16:03   ` Linas Vepstas
2008-11-20 18:33     ` Linas Vepstas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49dd78620811191622w3e8f22eg28c57e051a86dc8b@mail.gmail.com \
    --to=neiljerram@googlemail.com \
    --cc=bug-guile@gnu.org \
    --cc=linasvepstas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).