From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25213 invoked by alias); 29 Oct 2008 01:52:58 -0000 Received: (qmail 25200 invoked by uid 22791); 29 Oct 2008 01:52:57 -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; Wed, 29 Oct 2008 01:52:10 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 31CA610595; Wed, 29 Oct 2008 01:52:08 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 1F27610594; Wed, 29 Oct 2008 01:52:08 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Kv0EB-0000xa-2K; Tue, 28 Oct 2008 21:52:07 -0400 Date: Wed, 29 Oct 2008 01:52:00 -0000 From: Daniel Jacobowitz To: ajloft@umich.edu Cc: gdb@sourceware.org Subject: Re: "Cannot find new threads" on Fedora 9, but not on CentOS 5 (?) Message-ID: <20081029015206.GA3669@caradoc.them.org> Mail-Followup-To: ajloft@umich.edu, gdb@sourceware.org References: <49065BBD.3050800@gmail.com> <8ac60eac0810271741h135f077bj2c3fcd7391e89ed7@mail.gmail.com> <4906615E.50606@gmail.com> <8ac60eac0810271836saf8c28pb1392b77c7926be0@mail.gmail.com> <4907B915.5040101@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4907B915.5040101@gmail.com> User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2008-10/txt/msg00128.txt.bz2 On Tue, Oct 28, 2008 at 09:15:01PM -0400, Andrew Lofthouse wrote: > It looks like something to do with gdb not finding the symbols for > /lib/libpthread.so.0. Does this have something to do with ldd not > listing libpthread as a shared lib? Or perhaps something with libpthread > really being stripped (but file shows otherwise)? Yeah - something having to do with a library, probably libgthread, dynamically loading it. Sounds like it might be a bug in GDB. Dynamically loading the thread library is unusual; it also stresses bits of GLIBC that are not ordinarily used. -- Daniel Jacobowitz CodeSourcery