From: Bogdan Slusarczyk <bodzio131@op.pl>
To: gdb@sourceware.org
Subject: attaching gdb causes pthread_create hang [gdb6.3, long subject]
Date: Fri, 07 Sep 2007 10:04:00 -0000 [thread overview]
Message-ID: <46E117EE.4030600@op.pl> (raw)
Hi everyone, maybe you can help me.
There is following scenario:
1) I use gdb6.3, which was build on some linux, and I cannot change its
version and cannot build gdb for every linux on the world (I mean I have
to deliver built gdb to customers, regardless of which linux they have)
2) mentioned gdb will be used for debugging another delivered
application (huge and complicated)
Problem is, that gdb on on some linux machines works fine, on others it
causes that inside debugged application pthread_create hangs (from
boost::thread).
But:
- with simple application which uses boost::thread (pthread_create) it
works fine
- when I build the same gdb version on such specific linux, it works
fine too!
- it's not specific for linux distribution, my quess is that some
additional installed packages (or differences between them) can cause
this problem
And my questions
-what can cause mentioned problems? different system libraries (which
one)? what else?
-what kind of operations does gdb which could harm debugged application?
Thank in advance
Bogdan
next reply other threads:[~2007-09-07 9:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 10:04 Bogdan Slusarczyk [this message]
2007-09-07 12:32 ` Daniel Jacobowitz
2007-09-07 14:03 ` Bogdan Slusarczyk
2007-09-07 17:56 ` Daniel Jacobowitz
2007-09-18 9:34 ` Bogdan Slusarczyk
2007-09-18 10:20 ` Andreas Schwab
2007-09-18 10:51 ` Bogdan Slusarczyk
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=46E117EE.4030600@op.pl \
--to=bodzio131@op.pl \
--cc=gdb@sourceware.org \
/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