From: Jason Molenda <jmolenda@apple.com>
To: Louis LeBlanc <leblanc@keyslapper.net>
Cc: gdb@sources.redhat.com
Subject: Re: stack corruption?
Date: Tue, 14 Jun 2005 21:36:00 -0000 [thread overview]
Message-ID: <EA9626BB-127B-4368-A952-14611295A09C@apple.com> (raw)
In-Reply-To: <20050614213141.GM62467@keyslapper.net>
On Jun 14, 2005, at 2:31 PM, Louis LeBlanc wrote:
> #9 0x0002e9f4 in handle_check (thread=0x759b70) at myprog.c:904
> #10 0x000e3134 in spawn (arg=0x759b70) at mythread.c:195
> #11 0xff354978 in _lwp_start () from /usr/lib/lwp/libthread.so.1
> #12 0xff354978 in _lwp_start () from /usr/lib/lwp/libthread.so.1
> Previous frame identical to this frame (corrupt stack?)
> (gdb)
>
> I have changed identifying names to protect the guilty, but this is
> pretty much typical.
In this particular example, the problem is that gdb didn't correctly
recognize when to stop the backtrace. While lame, were you expecting
something to be after _lwp_start in your stack backtrace?
Jason
next prev parent reply other threads:[~2005-06-14 21:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 1:45 Louis LeBlanc
2005-06-14 2:01 ` Daniel Jacobowitz
2005-06-14 3:33 ` Louis LeBlanc
2005-06-14 20:36 ` Jason Molenda
2005-06-14 20:52 ` Louis LeBlanc
2005-06-14 21:24 ` Mark Kettenis
2005-06-14 21:31 ` Louis LeBlanc
2005-06-14 21:36 ` Jason Molenda [this message]
2005-06-14 21:44 ` Mark Kettenis
2005-06-14 22:09 ` Louis LeBlanc
2005-06-14 22:35 ` Daniel Jacobowitz
2005-06-14 21:26 ` Jason Molenda
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=EA9626BB-127B-4368-A952-14611295A09C@apple.com \
--to=jmolenda@apple.com \
--cc=gdb@sources.redhat.com \
--cc=leblanc@keyslapper.net \
/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