From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10562 invoked by alias); 13 Sep 2007 14:59:11 -0000 Received: (qmail 10553 invoked by uid 22791); 13 Sep 2007 14:59:11 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Sep 2007 14:58:57 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id D8D2B982A2; Thu, 13 Sep 2007 14:58:55 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id C18DC980BD; Thu, 13 Sep 2007 14:58:55 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IVq9e-00079u-6p; Thu, 13 Sep 2007 10:58:54 -0400 Date: Thu, 13 Sep 2007 16:49:00 -0000 From: Daniel Jacobowitz To: zoka Cc: gdb@sourceware.org Subject: Re: Incorrect GDB backtrace for pthreads Message-ID: <20070913145854.GA27458@caradoc.them.org> Mail-Followup-To: zoka , gdb@sourceware.org References: <12654909.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12654909.post@talk.nabble.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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-09/txt/msg00121.txt.bz2 On Thu, Sep 13, 2007 at 07:39:05AM -0700, zoka wrote: > Starting program: /home/zoka/gdb/threads > Failed to read a valid object file image from memory. > #0 0xffffe410 in ?? () # backtrace incorrect This is a kernel bug. > (gdb) info threads # GDB knows no threads ?! It sounds like either shared library debugging doesn't work on your system, or thread debugging doesn't. ld.so and libpthread.so are probably stripped. They need a symbol table for GDB to work. -- Daniel Jacobowitz CodeSourcery