【发布时间】:2011-09-27 05:08:35
【问题描述】:
当我尝试使用 gdb 调试我的 C++ 应用程序时,我收到以下错误:
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
如果我尝试退出 gdb,我会收到 A debugging session is active. Inferior 1 [process 17785] will be killed.
我自己没有使用任何线程库。
我尝试了gdb: Cannot find new threads: generic error 中建议的解决方案,但没有帮助。
我的操作系统:Ubuntu 10.04
$ gcc -v
(Ubuntu 4.4.3-4ubuntu5)
$ uname -a
Linux rskDesktop 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:07:13 UTC 2011 x86_64 GNU/Linux
有什么建议吗?
【问题讨论】: