From: Baurzhan Ismagulov <ibr@radix50.net>
To: gdb@sourceware.org
Subject: backtrace in core on arm-linux
Date: Mon, 05 Mar 2007 18:43:00 -0000 [thread overview]
Message-ID: <20070305184323.GA4506@radix50.net> (raw)
Hello all,
I can't get the backtrace in a core file on arm-linux. To reproduce:
int main(void) {
for (;;) printf("Hello, world!\n");
}
Compile, run under gdb HEAD, press Ctrl-\, bt works:
#0 0x400cb530 in write () from /lib/libc.so.6
#1 0x40080c40 in _IO_new_file_write () from /lib/libc.so.6
#2 0x4007f764 in new_do_write () from /lib/libc.so.6
#3 0x4007f86c in _IO_new_do_write () from /lib/libc.so.6
#4 0x400800f0 in _IO_new_file_overflow () from /lib/libc.so.6
#5 0x400816c4 in __overflow () from /lib/libc.so.6
#6 0x40078048 in puts () from /lib/libc.so.6
#7 0x000084bc in main () at b.c:7
Run from shell, press Ctrl-\, open core, bt shows:
#0 0x400cb530 in write () from /lib/libc.so.6
#1 0x00003704 in ?? ()
#2 0x00003704 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
How can I fix this?
Thanks in advance,
--
Baurzhan Ismagulov
http://www.kz-easy.com/
next reply other threads:[~2007-03-05 18:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 18:43 Baurzhan Ismagulov [this message]
2007-03-05 18:53 ` Daniel Jacobowitz
2007-03-06 0:18 ` Michael Snyder
2007-03-06 4:56 ` Baurzhan Ismagulov
2007-03-06 19:42 ` Michael Snyder
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=20070305184323.GA4506@radix50.net \
--to=ibr@radix50.net \
--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