This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
threads/2530: Cannot find new threads: generic error
- From: carlo at alinoe dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 27 Sep 2008 17:27:16 -0000
- Subject: threads/2530: Cannot find new threads: generic error
- Reply-to: carlo at alinoe dot com
>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 <http://gnu.org/licenses/gpl.html>
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: