From: Larry Martell <larry@software-horizons.com>
To: "Min Xu \(Hsu\)" <xu@cs.wisc.edu>
Cc: gdb@sources.redhat.com
Subject: Re: gdb runs multi-threaded with non-threaded app and gets SEGV
Date: Sat, 16 Jul 2005 00:52:00 -0000 [thread overview]
Message-ID: <20050716005207.16238.qmail@web52001.mail.yahoo.com> (raw)
In-Reply-To: <20050715230356.GB7686@cs.wisc.edu>
--- "Min Xu (Hsu)" <xu@cs.wisc.edu> wrote:
> On Fri, 15 Jul 2005 Larry Martell wrote :
> > --- "Min Xu (Hsu)" <xu@cs.wisc.edu> wrote:
> >
> > > Larry,
> > >
> > > How about you run the program and let the
> program
> > > pass the
> > > lib call without using GDB. And spin there until
> gdb
> > > is attached?
> >
> > I tried this, but after it attaches to the
> process,
> > as then I try to continue it, it immediatly gets
> > a SEGV. And it sounded like such a good idea too
> :-(
>
> How can this be possible is beyond me. :-(
>
> Are you using SPARC?
No, I'm on a P4 running Linux. My app makes many calls
to functions from this lib. It seems a call to any
one of them causes the SEGV from within gdb. Like I
said before, it doesn't do this when I run it outside
of gdb, but it worries me. (I had forgotten how much
fun it is debugging with printf's ;-)
-larry
next prev parent reply other threads:[~2005-07-16 0:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-15 18:25 Larry Martell
2005-07-15 19:51 ` Ramana Radhakrishnan
2005-07-15 21:03 ` Larry Martell
2005-07-15 21:30 ` Min Xu (Hsu)
2005-07-15 22:24 ` Larry Martell
2005-07-15 23:04 ` Min Xu (Hsu)
2005-07-16 0:52 ` Larry Martell [this message]
2005-07-18 16:01 ` Larry Martell
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=20050716005207.16238.qmail@web52001.mail.yahoo.com \
--to=larry@software-horizons.com \
--cc=gdb@sources.redhat.com \
--cc=xu@cs.wisc.edu \
/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).