Cannot Find New Threads Generic Error Ddd
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring gdb "thread debugging using libthread_db enabled" developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question gdb libthread_db x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; unable to find libthread_db matching inferior's thread library it only takes a minute: Sign up Cannot find new threads: generic error up vote 1 down vote favorite 1 When I try to debug my C++ application using gdb, I get the following error: [Thread debugging using libthread_db enabled]
Cannot Execute This Command While The Selected Thread Is Running.
Cannot find new threads: generic error If I try to quit gdb, I get A debugging session is active. Inferior 1 [process 17785] will be killed. I am not using any thread library myself. I tried the solutions suggested in gdb: Cannot find new threads: generic error but did not help. My OS: 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 Any suggestions? c++ debugging gdb share|improve this question edited Sep 27 '11 at 10:56 Kevin 2,84211747 asked Sep 27 '11 at 5:08 suresh 7031618 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote I am not using any thread library myself Take a look at this answer: reverse-step multithread error which should apply in your situation: force GDB not to activate thread debugging if you don't want it to be aware of the threads. (the EDIT applies as well, but maybe it's one of the libraries you use which requires the libpthread.so) share|improve this answer answered Sep 27 '11 at 10:37 Kevin 2,84211747 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged c++ debugging gdb or ask your own question. asked 5 years ago viewed 1353 times active 5 years ago Linked 25 gdb: Cannot find new threads: generic error 6 reverse-step multithread error Related 4Remote debug error with GDB25gdb: Cannot find new threads: generic error38How to track down a double free or corruption error in C++ with gdb4gdb: Cannot find new threads: generic error after system upda
- Cannot find new threads: generic error Summary: Cannot find new threads: generic error Status: NEW Alias: None Product: gdb Classification: Unclassified Component: threads (show other bugs) Version: 7.2 Importance: P3 normal Target Milestone: --- Assignee: Not yet assigned to anyone URL: Keywords: Depends on: 17629 Blocks: Show dependency tree /graph Reported: 2008-09-27 17:38 UTC by Carlo Wood Modified: 2014-11-20 11:46 UTC (History) CC List: 4 users http://stackoverflow.com/questions/7564463/cannot-find-new-threads-generic-error (show) gbenson gdb-prs john.carter palves See Also: Host: Target: Build: Last reconfirmed: Attachments Very short file that "kills gdb". (81 bytes, text/plain) 2011-05-27 05:26 UTC, John Carter Details fix (661 bytes, patch) 2011-05-27 10:46 UTC, Pedro Alves Details | Diff View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in https://sourceware.org/bugzilla/show_bug.cgi?id=9635 before you can comment on or make changes to this bug. Description Carlo Wood 2008-09-27 17:38:01 UTC [Converted from Gnats 2530] 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
rv:38.0) Gecko/20100101 Thunderbird/38.7.1 ddd is dying frequently on me. When re-installing ddd on a gentoo system, I get * QA Notice: Package triggers severe warnings which indicate that it * may https://lists.gnu.org/archive/html/bug-ddd/2016-04/msg00000.html exhibit random runtime failures. * Binary file /var/tmp/portage/dev-util/ddd-3.3.12-r4/temp/build.log matches * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of http://www.mrunix.de/forums/archive/index.php/t-35045.html this software. * Homepage: https://www.gnu.org/software/ddd strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/bin/ddd On a dd crash, I get warning: .dynamic section for "/lib64/libc.so.6" is not at the expected cannot find address (wrong library or version mismatch?) warning: .dynamic section for "/lib64/libpthread.so.0" is not at the expected address (wrong library or version mismatch?) warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error I have lrwxrwxrwx 1 root root 12 Apr 3 cannot find new 13:53 /lib64/libc.so.6 -> libc-2.22.so* lrwxrwxrwx 1 root root 18 Apr 3 13:53 /lib64/libpthread.so.0 -> libpthread-2.22.so* and -rwxr-xr-x 1 root root 1677152 Apr 3 13:52 /lib64/libc-2.22.so* -rwxr-xr-x 1 root root 97728 Apr 3 13:52 /lib64/libpthread-2.22.so* There appears to be no linux-vdso.so on my system. If that is the problem, what should be done about it? I've tried this. The first two warnings were eliminated with export LD_LIBRARY_PATH=/lib64 which was not needed some time ago. I then tried ln -s /usr/src/linux/arch/x86/entry/vdso/vdso64.so /lib64/linux-vdso.so.1 which gets rid of the vdso complaint, but changes nothing else. I suspect the problem started with an update to glibc sometime ago. But the maintainers on Gentoo seem to think the problem is "upstream", thus either in ddd or gdb. I have offered in the past to try helping with checking out the new (?) version of ddd. Is that work still going on? Is the current version being maintained? If so would more information or a core dump be desired?. Thanks, Fred reply via email to [Prev in Thread] Current Thread [Next in Thread] ddd crashing, Fred Krogh<= Index(es): Date Thread
ich hab hier nen kleines problem mit einem QDialog unter linux. unter mac osx läuft es dagegen problemlos. hier erstmal der code ausschnitt void QChatWindow::serverSettings() { Settings dialog(this); if(dialog.exec() ){ server = dialog._server->text(); channel += dialog._channel->text(); activeChannel = dialog._channel->text(); ClientNick->setNickname( dialog._nick->text() ); } socket->connectToHost( server, port ); _chatArea->append( tr("Trying to connect to the server\n") ); } wenn ich das prog aus der konsole starte, bekomme ich einen Segmentation fault. der debugger liefert mir folgendes Cannot find thread 16384: generic error info threads Cannot find new threads: generic error info sharedlibrary ich habe es jetzt einmal mit -lqt und -lqt-mt übersetzt, das problem bleibt allerdings. kann mir jemand sagen, woran das liegt? Gruß HL anda_skoa19-06-2004, 13:40Eigenartig. Wenn ich dir richtig verstehe, benutzt du selbst keine Threads. Laufen andere Qt Programme? Ciao, _ HangLoose19-06-2004, 13:49Original geschrieben von anda_skoa Wenn ich dich richtig verstehe, benutzt du selbst keine Threads. nein, nur diesen dialog(oder läuft das intern als thread ab?). und genau dort steigt das programm auch aus. Laufen andere Qt Programme? ja problemlos, unter osx läuft das gleiche programm komischerweise auch problemlos. Gruß HL anda_skoa19-06-2004, 17:15Original geschrieben von HangLoose nein, nur diesen dialog(oder läuft das intern als thread ab?). und genau dort steigt das programm auch aus. Wenn du nicht expizit Threads benutzt, gibt es keine. Funktioniert dieses Programm, wenn du den Inhalt der Methode auskommentierst? Ciao, _ HangLoose20-06-2004, 10:15moin hm, an der methode selbst scheint es nicht zu liegen. sehr eigenartig das ganze. wenn ich das programm mit ddd öffne bekomme ich folgende fehlermeldung /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S: No such file or directory wenn ich das programm dann starte Copyright © 1999-2001 Universität Passau, Germany. Copyright © 2001 Universität des Saarlandes, Germany. (gdb) file /home/rip/.eclipse/workspace/QChat-0.1/QChat-0