dev-util/ddd-3.3.11 sys-devel/gdb-6.4 USE="nls -test -vanilla" when running ddd programname fires up ddd, I can see gdb running in the ddd window, but it then seems to just hang. ddd displays in the bottom status bar 'opening session 117f000001000116520687100000117790022' and then it appers to hang. if I go into the gdb window, and type quit ddd open a window which says GGB could not be started. running gdb from the shell works fine. gdb GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. 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. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". any ideas????????????????????????????????????
strace your ddd session and try and take a look at what ddd is doing. If you can't figure it out attached the gzip'd log of the strace (you can use the script utility to record the output of strace). You may want to try strace -fF which should try to follow any forks as well.
strace ddd - actually locks X windows, requiring an CTRL ALT Backspace X windows reset!!! Yikes... looks like you cant debug a debugger :-) any ideas...
Created attachment 103453 [details] strace of ddd this is an strace of ddd running.
(In reply to comment #3) > Created an attachment (id=103453) [edit] > strace of ddd > > this is an strace of ddd running. > yeah, I got strace to run in the end, seems to crash x if you dont output to a file, which I should of done in the first place strace -v -fF ddd parallax4
The problem seems to be coming from the inability of ddd (motif?) to display the accented character on one of the programmer's names. On my system, ddd hangs during loading when it tries to read the umlauts in the name Lütkehaus, which is displayed in the output window (above the "Opening session..."). Can someone verify?
I had the same bug, and the strange thing is that I have two Gentoo computers with same configuration -- in one it worked, while in the other not --so it was surely caused by some configuration issue. Finally I found http://www.mail-archive.com/bug-gdb%40gnu.org/msg06919.html that explained what happened. I just cancelled .gdbinit in the home (~) and magically ddd started working fine! This file comes from Gentoo and -- as it was reported already in the past -- is badly written and causes pains. BR Luca Celetto (In reply to comment #0) > dev-util/ddd-3.3.11 > sys-devel/gdb-6.4 USE="nls -test -vanilla" > > when running ddd programname > > fires up ddd, I can see gdb running in the ddd window, > but it then seems to just hang. > ddd displays in the bottom status bar 'opening session > 117f000001000116520687100000117790022' > > and then it appers to hang. > > if I go into the gdb window, and type quit ddd open a window > which says GGB could not be started. > > running gdb from the shell works fine. > gdb > GNU gdb 6.4 > Copyright 2005 Free Software Foundation, Inc. > 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. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-linux-gnu". > > > any ideas???????????????????????????????????? >
ahh ok, my user was created before gdb was installed; in the recent versions of gdb that nasty .gdbinit from /etc/skel/ is rm'd in the ebuild.