From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9195 invoked by alias); 21 Sep 2004 13:01:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9072 invoked from network); 21 Sep 2004 13:01:16 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Sep 2004 13:01:16 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1C9kGf-0002dn-MU; Tue, 21 Sep 2004 09:01:13 -0400 Date: Tue, 21 Sep 2004 13:01:00 -0000 From: Daniel Jacobowitz To: Timo Sirainen Cc: gdb@sources.redhat.com Subject: Re: Linux 2.6 backtrace problems Message-ID: <20040921130113.GA10074@nevyn.them.org> Mail-Followup-To: Timo Sirainen , gdb@sources.redhat.com References: <3F0C315B-0B1C-11D9-8F31-000393CC2E90@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F0C315B-0B1C-11D9-8F31-000393CC2E90@iki.fi> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-09/txt/msg00169.txt.bz2 On Mon, Sep 20, 2004 at 06:46:32PM +0300, Timo Sirainen wrote: > 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 You are using a C library which was built without frame pointers and shipped without debug info. If this is a Debian system, install the Debian packages of gdb and libc6-dbg and let us know if it's still there. -- Daniel Jacobowitz