From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11896 invoked by alias); 6 Mar 2007 17:10:02 -0000 Received: (qmail 11887 invoked by uid 22791); 6 Mar 2007 17:10:02 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.mxtelecom.com (HELO puma.mxtelecom.com) (82.110.36.85) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Mar 2007 17:09:57 +0000 Received: from aileron.mxtelecom.com ([192.168.2.120]) by puma.mxtelecom.com with esmtp (Exim 4.66) (envelope-from ) id 1HOdAg-00086P-Q2 for gdb@sourceware.org; Tue, 06 Mar 2007 17:09:54 +0000 Message-ID: <45EDA062.5000000@mxtelecom.com> Date: Tue, 06 Mar 2007 17:10:00 -0000 From: Richard van der Hoff User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: Backtrace not working from within nanosleep References: <45ED99E9.8050404@mxtelecom.com> <20070306165840.GA6029@caradoc.them.org> In-Reply-To: <20070306165840.GA6029@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00092.txt.bz2 Daniel Jacobowitz wrote: > On Tue, Mar 06, 2007 at 04:42:17PM +0000, Richard van der Hoff wrote: >> The stack looks fine - it just looks like gdb can't unwind it. Any ideas >> what might be the problem here? >> >> I have: >> >> Linux kernel 2.4.26 >> GNU gdb 6.6 >> gcc (GCC) 3.3.4 >> glibc-2.3.6 > > LinuxThreads, presumably, since this is 2.4.x. Yes, indeed. > That means it is > fairly likely that you do not have unwind tables for nanosleep, so GDB > s unable to reason its way out. > > I believe this is fixed if you use glibc 2.5, but I'm not completely > sure of that. Hrm. That's something I can try. I've got a feeling my sysadmin isn't going to like the idea of upgrading everything to glibc 2.5, though... Thanks.