From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13277 invoked by alias); 21 Sep 2004 13:34:13 -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 13269 invoked from network); 21 Sep 2004 13:34:12 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Sep 2004 13:34:12 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1C9kma-0002tF-4c; Tue, 21 Sep 2004 09:34:12 -0400 Date: Tue, 21 Sep 2004 13:34:00 -0000 From: Daniel Jacobowitz To: Timo Sirainen Cc: gdb@sources.redhat.com Subject: Re: Linux 2.6 backtrace problems Message-ID: <20040921133412.GA11077@nevyn.them.org> Mail-Followup-To: Timo Sirainen , gdb@sources.redhat.com References: <3F0C315B-0B1C-11D9-8F31-000393CC2E90@iki.fi> <20040921130113.GA10074@nevyn.them.org> <99F05BF6-0BD2-11D9-B18D-000393CC2E90@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99F05BF6-0BD2-11D9-B18D-000393CC2E90@iki.fi> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-09/txt/msg00172.txt.bz2 On Tue, Sep 21, 2004 at 04:31:53PM +0300, Timo Sirainen wrote: > On 21.9.2004, at 16:01, Daniel Jacobowitz wrote: > > >>#0 0xb7ebdee9 in raise () from /lib/tls/libc.so.6 > >>#1 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. > > It does seem to work, but I'm not really happy with that solution > either. I didn't need to use libc6-dbg with 2.4 kernel and using it > seems to be a bit of a pain. > > It's a bit strange that raise(SIGABRT) works, kill(getpid(), SIGABRT) > works, etc. It's only abort() that's the problem. But if it's only a > libc problem I'll submit a Debian bugreport. I'm not talking about using LD_LIBRARY_PATH=/usr/lib/debug. You should be able to just install the libc6-dbg package and debug the same copy of glibc you were using before. Backtraces should "magically" begin to work. If that does not happen, please do submit a Debian bug report. -- Daniel Jacobowitz