From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30855 invoked by alias); 27 Sep 2008 17:38:02 -0000 Received: (qmail 30839 invoked by uid 71); 27 Sep 2008 17:38:01 -0000 Resent-Date: 27 Sep 2008 17:38:01 -0000 Resent-Message-ID: <20080927173801.30838.qmail@sourceware.org> Resent-From: gdb-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: gdb-prs@sources.redhat.com Resent-Reply-To: gdb-gnats@sources.redhat.com, carlo@alinoe.com Received: (qmail 28610 invoked by uid 48); 27 Sep 2008 17:27:16 -0000 Message-Id: <20080927172716.28609.qmail@sourceware.org> Date: Sat, 27 Sep 2008 17:38:00 -0000 From: carlo@alinoe.com Reply-To: carlo@alinoe.com To: gdb-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: threads/2530: Cannot find new threads: generic error Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00084.txt.bz2 >Number: 2530 >Category: threads >Synopsis: Cannot find new threads: generic error >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: change-request >Submitter-Id: net >Arrival-Date: Sat Sep 27 17:38:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: carlo@alinoe.com >Release: 6.8 >Organization: >Environment: debian Lenny >Description: gdb stopped working, I can't recall why -- must have been some update of the operating system. What happens when I try to debug my C++ application is this: hikaru:~/projects/cwchessboard/cwchessboard-objdir>gdb ./tstpgnread GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... (gdb) r Starting program: /home/carlo/projects/cwchessboard/cwchessboard-objdir/tstpgnread [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new threads: generic error Cannot find new threads: generic error (gdb) This application is NOT using threads. Is this a known problem that I can solve myself or is more information needed? > ldd ./tstpgnread linux-vdso.so.1 => (0x00007fffd61fe000) libgiomm-2.4.so.1 => /usr/local/install/4.3.1/lib/libgiomm-2.4.so.1 (0x00007f28cdbfd000) libgio-2.0.so.0 => /usr/local/install/4.3.1/lib/libgio-2.0.so.0 (0x00007f28cd988000) libglibmm-2.4.so.1 => /usr/local/install/4.3.1/lib/libglibmm-2.4.so.1 (0x00007f28cd701000) libgmodule-2.0.so.0 => /usr/local/install/4.3.1/lib/libgmodule-2.0.so.0 (0x00007f28cd4fe000) libdl.so.2 => /lib/libdl.so.2 (0x00007f28cd2fa000) libgobject-2.0.so.0 => /usr/local/install/4.3.1/lib/libgobject-2.0.so.0 (0x00007f28cd0b6000) libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f28cceb1000) libglib-2.0.so.0 => /usr/local/install/4.3.1/lib/libglib-2.0.so.0 (0x00007f28ccbcf000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f28cc8c3000) libm.so.6 => /lib/libm.so.6 (0x00007f28cc640000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f28cc429000) libc.so.6 => /lib/libc.so.6 (0x00007f28cc0d6000) libselinux.so.1 => /lib/libselinux.so.1 (0x00007f28cbeba000) /lib64/ld-linux-x86-64.so.2 (0x00007f28cde86000) > uname -a Linux hikaru 2.6.25-2-amd64 #1 SMP Mon Jul 14 11:05:23 UTC 2008 x86_64 GNU/Linux If I first start the program and later attach to it, there are no problems. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: