Home > Cannot Initialize > Cannot Initialize Thread Debugging Library Generic Error

Cannot Initialize Thread Debugging Library Generic Error

There are patches in buildroot for several gdb versions (including 6.2.1) to configure for -linux-uclibc. Can taking a few months off for personal development make it harder to re-enter the workforce? Why do most log files use plain text rather than a binary format? I tried creating symbolic links in /lib with the name libthread_db.so, one time pointing at the /lib/libthread_db.so.1 file, and another time pointing at the /lib/libthread_db-1.0.so file, and also I created the click site

Here's what I mean:% gdb --args javaGNU gdb 6.8-debianCopyright (C) 2008 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. This GDB was configured as "powerpc-unknown-linux-gnu"...(no debugging symbols found)... (gdb) run Starting program: /mnt/raid/usr/sbin/apache (no debugging symbols found)...warning: Cannot initialize thread debugging library: generic error (no debugging symbols found)...warning: Cannot initialize I'm getting symbols now.

I've just put tracing in the kernel - the kernel is picking up onthe breakpoints ok - I can see it forcing a SIGTRAP. However am not able to debug threads. Join them; it only takes a minute: Sign up Unable to Debug Multi-Threaded Application with gdb up vote 11 down vote favorite 1 I am debugging a multi-threaded application with gdb, well not really ... > > >> Which architecture are you trying this for ?

Were there science fiction stories written during the Middle Ages? Andrew de Quincey 2004-11-07 14:58:41 UTC PermalinkRaw Message Hi - I got an answer from the GDB list - the linux kernel (2.4.20) I am usingdoes not implement PTRACE_SINGLESTEP correctly. 10 This GDB wasconfigured as "ppc-405-linux"...Using host libthread_db library"/mnt/core/lib/libthread_db.so.1".(gdb) break mainBreakpoint 1 at 0x10000548: file test.c, line 10.(gdb) runStarting program: /mnt/core/a.outProgram received signal SIGSEGV, Segmentation fault.0x1000056c in main (argc=1, argv=0x7ffffa94) at test.c:1515 Haven't tried powerpc though.Manuel Andrew de Quincey 2004-11-05 21:49:34 UTC PermalinkRaw Message Post by Manuel Novoa IIIPost by Andrew de QuinceyI don't see how the libthread_db can be returning an error

Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html Follow-Ups: Re: Cannot initialize thread debugging library: generic error From: Ramana Radhakrishnan Index Nav: [DateIndex] [SubjectIndex] [AuthorIndex] [ThreadIndex] Message Is my teaching attitude wrong? Am I right in thinkingbreakpoints require some form of kernel support? https://trac.transmissionbt.com/ticket/3608 Mail is the world's favourite email.

GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. However I don't need those right now, although > they would be *useful*. > > The main concern for me is now threaded debugging. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Andrew de Quincey 2004-11-05 23:25:03 UTC PermalinkRaw Message Post by Ton TruongThe problem is the "run" command.

Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html Ramana Radhakrishnan-3 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate Index Nav: [DateIndex] [SubjectIndex] [AuthorIndex] [ThreadIndex] Message Nav: [DatePrev][DateNext] [ThreadPrev][ThreadNext] Other format: [Raw text] Cannot initialize thread debugging library: generic error From: srinivas bakki I tried running the above example in gdb: waverley:~/src/winbuild/windist$ gdb make GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. I type "break main" and then "c"RX: Z0,10000548,4TX:RX: m10000548,4TX: 38000000RX: X10000548,0:TX:RX: M10000548,4:7d821008TX: OK-- here GDB read the contents of 0x10000548 - my breakpoint - and replaces itwith the trap instruction (0x7d821008)RX:

Exactly the same behaviour. http://vootext.com/cannot-initialize/cannot-initialize-data-bindings-datagrid.html David Meggy 2004-11-05 23:42:32 UTC PermalinkRaw Message You start with the cont command when remote debugging and the runcommand when natively debugging. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Requireslatest uClibc snapshot (11/3/04 or later) though.Interesting.

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Andrew is running gdb natively here.Post by Andrew de QuinceyPost by Ton TruongThe problem is the "run" command. Please Note: this e-mail address is only for reporting problems with ASF Bugzilla. navigate to this website Free forum by Nabble Edit this page Search: LoginHelp/GuideAbout TracPreferencesRegister WikiTimelineRoadmapBrowse SourceView TicketsSearch Context Navigation ← Previous TicketNext Ticket → Opened 6 years ago Closed 6 years ago #3608 closed Bug

This GDB was configured as "mipsel-linux-uclibc"... (gdb) start -f Breakpoint 1 at 0x409880: file ../../daemon/daemon.c, line 314. You should ignore /lib/.debug/* -- that is not the library you are looking for. Theoretically it should have worked if you did have libthread_db installed on the target .

Andrew de Quincey 2004-11-05 21:58:08 UTC PermalinkRaw Message Here's an example of the breakpoint problem - this time from GDB running onthe target machine directly.

make distclean ./configure --enable-maintainer-mode --other-opts && make && make install Comment 2 André Malo 2003-03-03 13:01:55 UTC No further response. Tips for work-life balance when doing postdoc with two very young children and a one hour commute What is the purpose of this solder jumper? GDB is compiled against this version of uclibc.First issue is that breakpoints dont seem to be working - I can set them, butthe execution never stops. Mail is the world's favourite email.

Thanks for using Apache. Build gdb with this toolchain ? > > The debugger starts up well and am able to do all the > basic debugging including handling the signals. > However am use "cont" instead# gdb ./a.outGNU gdb 6.2.1Copyright 2004 Free Software Foundation, Inc.GDB is free software, covered by the GNU General Public License, and you arewelcome to change it and/or distribute copies my review here And I then noticed that Xprt has started segfaulting too.

It's actually the pre-release version, nevertheless it's quite stable. We have it working on MIPS, not sure about PPC. cheers Ramana > > Any pointers ? > > Regards > Srinivas Bakki > > > ___________________________________________________________ > Yahoo! Remote debugging of threaded appsworks on mips.

Type "show copying"and "show warranty" for details.This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)(gdb) rStarting program: /usr/bin/java Test(no debugging symbols found)(no debugging symbols found)(no debugging symbols found)(no debugging symbols found)[Thread http://www.busybox.net/lists/uclibc/2003-March/005800.htmldon't know if this helps you enough. Thanks for using Apache! Do the following:# remove the original gdb% dpkg -r gdb# install the new gdb% dpkg -i custom-gdb-7.0-amd64.debIf you ever needed to revert back to the stock versions of GDB, you can

share|improve this answer answered Aug 2 '12 at 21:48 Tony K. 3,8531121 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google When i run the > test program in teh debugger it throws up following > warnings: > > Cannot initialize thread debugging library: generic > error Which architecture are you Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. Regards Srinivas Bakki ___________________________________________________________ Yahoo!

I've tried the new commands, but I'm haven't been successful in stepping backwards still - well more experimenting ahead!