From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Khoo Yit Phang <khooyp@cs.umd.edu>
Cc: 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, 30 Aug 2012 16:05:00 -0000 [thread overview]
Message-ID: <20120830160438.GA25469@host2.jankratochvil.net> (raw)
In-Reply-To: <A681786A-58A1-41E6-8410-8EBD8330E6BE@cs.umd.edu>
Hi,
On Thu, 30 Aug 2012 18:00:46 +0200, Khoo Yit Phang wrote:
> I ran into a similar issue as below and tracked it down: the "memory
> clobbered before allocated block" (and other related messages) because
> -lmcheck is not thread safe, and triggers spuriously when threads are used
> in Python (e.g., the "gtk" module).
this needs some references to glibc/gtk/python maintainers statements etc.
-lmcheck is AFAIK thread safe in glibc itself.
It seems to me rather that python and/or gtk may have some bugs exposed by
-lmcheck. Could you provide a reproducer (with proper versions of all
components and OS) of the problematic behavior?
Thanks,
Jan
next prev parent reply other threads:[~2012-08-30 16:05 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 ` Jan Kratochvil [this message]
2012-08-30 16:07 ` Disable -lmcheck when Python has threads (Re: [BUG] gdb crash when "python import gtk") 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
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=20120830160438.GA25469@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb@sourceware.org \
--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).