From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19487 invoked by alias); 28 Oct 2008 00:25:15 -0000 Received: (qmail 19473 invoked by uid 22791); 28 Oct 2008 00:25:14 -0000 X-Spam-Check-By: sourceware.org Received: from yx-out-1718.google.com (HELO yx-out-1718.google.com) (74.125.44.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Oct 2008 00:24:35 +0000 Received: by yx-out-1718.google.com with SMTP id 3so1037350yxi.48 for ; Mon, 27 Oct 2008 17:24:32 -0700 (PDT) Received: by 10.100.141.10 with SMTP id o10mr1876773and.41.1225153472460; Mon, 27 Oct 2008 17:24:32 -0700 (PDT) Received: from ?192.168.10.3? (cpe-71-67-134-86.woh.res.rr.com [71.67.134.86]) by mx.google.com with ESMTPS id d34sm1634570and.3.2008.10.27.17.24.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 27 Oct 2008 17:24:31 -0700 (PDT) Message-ID: <49065BBD.3050800@gmail.com> Date: Tue, 28 Oct 2008 00:25:00 -0000 From: Andrew Lofthouse User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: gdb@sourceware.org Subject: "Cannot find new threads" on Fedora 9, but not on CentOS 5 (?) 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: 2008-10/txt/msg00120.txt.bz2 I'm trying to debug an application that throws a SEGFAULT in a shared library. On Fedora 9 (and on Ubuntu 8.04), I get the following error: [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new threads: generic error Cannot find new threads: generic error However, when using CentOS 5, the debugging session seems to work fine and gives the following output: [Detaching after fork from child process 1973] [Detaching after fork from child process 1992] [Detaching after fork from child process 2004] Program received signal SIGSEGV, Segmentation fault. etc, etc--basically gdb works and tells me where the segmentation fault is. So, I know that Fedora 9/Ubuntu 8.04 use gdb version 6.8, while CentOS 5 uses version 6.5. Why can an earlier version of gdb work fine, while the later version doesn't work? What can I do so that the later version works? Thanks, Andrew L.