From: Daniel Jacobowitz <drow@false.org>
To: Rich Rattanni <rattanni@gmail.com>
Cc: gdb@sourceware.org, Paul Brook <paul@codesourcery.com>
Subject: Re: Debugging glibc crashes with GDB
Date: Mon, 12 Mar 2007 01:15:00 -0000 [thread overview]
Message-ID: <20070312011502.GA29117@caradoc.them.org> (raw)
In-Reply-To: <3187bd480703111104r46b15863g2d59714f5cc3793e@mail.gmail.com>
On Sun, Mar 11, 2007 at 02:04:41PM -0400, Rich Rattanni wrote:
> Below you will find the GDB output related to my question. My problem
> is that when I try to debug a program after receiving a glibc abort
> error (MALLOC_CHECK = 2) I cannot backtrace the program to find out
> what piece of my application caused the problem. I can see the call
> to raise and abort, but then I get the error message "Backtrace
> stopped:
> frame did not save the PC".
I believe this is a known problem with the ARM port of GCC. What GCC
version are you using to build glibc?
It doesn't save the return address anywhere when it reaches abort;
this is a somewhat limited value optimization.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-03-12 1:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-11 18:04 Rich Rattanni
2007-03-11 21:36 ` Mark Kettenis
2007-03-11 22:37 ` shanevolpe
2007-03-12 0:19 ` Rich Rattanni
2007-03-12 1:15 ` Daniel Jacobowitz [this message]
2007-03-12 8:32 ` Mark Kettenis
2007-03-12 11:04 ` Daniel Jacobowitz
2007-03-12 23:59 ` Michael Snyder
2007-03-13 15:51 ` Daniel Jacobowitz
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=20070312011502.GA29117@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=paul@codesourcery.com \
--cc=rattanni@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