From: Timo Sirainen <tss@iki.fi>
To: gdb@sources.redhat.com
Subject: Linux 2.6 backtrace problems
Date: Mon, 20 Sep 2004 15:46:00 -0000 [thread overview]
Message-ID: <3F0C315B-0B1C-11D9-8F31-000393CC2E90@iki.fi> (raw)
[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]
Googling this problem doesn't show many people complaining, so I'm
wondering if it's just something wrong with my system.
So, simply put:
int main() { abort(); }
Running it and getting backtrace gives:
#0 0xb7ebdee9 in raise () from /lib/tls/libc.so.6
#1 0xb7fcbedc in ?? () from /lib/tls/libc.so.6
#2 0xbffff3f0 in ?? ()
#3 0xb7ebf781 in abort () from /lib/tls/libc.so.6
#4 0x00000000 in ?? ()
#5 0x00000020 in ?? ()
..
#37 0xb8000c40 in ?? () from /lib/ld-linux.so.2
#38 0xb7fe919c in ?? ()
#39 0x08048217 in ?? ()
#40 0xbffff3d8 in ?? ()
#41 0xb7ff23cf in _dl_lookup_versioned_symbol () from /lib/ld-linux.so.2
#42 0xb7ea97f8 in __libc_start_main () from /lib/tls/libc.so.6
#43 0xb7fcbedc in ?? () from /lib/tls/libc.so.6
Not very helpful. Sometimes it gives almost usable backtrace by losing
only the first 5 functions, but sometimes it's entirely corrupted.
First this happened with Linux 2.6.5, gdb 6.0 and gcc 3.something. I
went back to 2.4 kernel. Today I thought maybe it would be fixed by
now, but it still happens with 2.6.9-rc2-mm1, gdb 6.2.1 and gcc 3.3.4
(from Debian unstable). CPU is Athlon XP.
Is this kernel or gdb problem?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]
next reply other threads:[~2004-09-20 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-20 15:46 Timo Sirainen [this message]
2004-09-21 13:01 ` Daniel Jacobowitz
2004-09-21 13:32 ` Timo Sirainen
2004-09-21 13:34 ` 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=3F0C315B-0B1C-11D9-8F31-000393CC2E90@iki.fi \
--to=tss@iki.fi \
--cc=gdb@sources.redhat.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