public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Khoo Yit Phang <khooyp@cs.umd.edu>
Cc: Jan Kratochvil <jan.kratochvil@redhat.com>,
	Hui Zhu <teawater@gmail.com>,
	       gdb@sourceware.org
Subject: Re: Disable -lmcheck when Python has threads (Re: [BUG] gdb crash when "python import gtk")
Date: Thu, 06 Sep 2012 19:30:00 -0000	[thread overview]
Message-ID: <87txvbj6fv.fsf@fleche.redhat.com> (raw)
In-Reply-To: <2E2CF815-7C3F-40D1-A8FB-CEB190731F20@cs.umd.edu> (Khoo Yit	Phang's message of "Thu, 30 Aug 2012 12:11:01 -0400")

>>>>> "Yit" == Khoo Yit Phang <khooyp@cs.umd.edu> writes:

Yit> Here's the corresponding bug report for glibc stating that it is by
Yit> design: http://sourceware.org/bugzilla/show_bug.cgi?id=9939

I asked the local glibc hackers to see if they can fix it.
It seems to me that, while the existing malloc hooks are inherently
broken for multi-threading in the "wrapper" case, there is no deep
reason that mcheck has to use these hooks.

Tom

      parent reply	other threads:[~2012-09-06 19:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19  5:26 [BUG] gdb crash when "python import gtk" Hui Zhu
2012-07-19  7:16 ` Hui Zhu
2012-07-19  7:21   ` Phil Muldoon
2012-07-19  7:40   ` Jan Kratochvil
2012-07-19  7:54     ` Hui Zhu
     [not found]     ` <A681786A-58A1-41E6-8410-8EBD8330E6BE@cs.umd.edu>
2012-08-30 16:05       ` Disable -lmcheck when Python has threads (Re: [BUG] gdb crash when "python import gtk") Jan Kratochvil
2012-08-30 16:07         ` Jan Kratochvil
2012-08-30 16:09         ` Khoo Yit Phang
2012-08-30 16:11           ` Khoo Yit Phang
2012-08-30 16:41             ` Khoo Yit Phang
2012-09-06 19:30             ` Tom Tromey [this message]

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

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

  git send-email \
    --in-reply-to=87txvbj6fv.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=khooyp@cs.umd.edu \
    --cc=teawater@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).