Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157042 - dev-util/ddd-3.3.11 loads , but seems to hang, does not show source code
Summary: dev-util/ddd-3.3.11 loads , but seems to hang, does not show source code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Alec Warner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-03 20:24 UTC by Lee
Modified: 2007-01-29 00:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace of ddd (ddd.strace.gz,158.86 KB, application/x-gzip)
2006-12-06 07:31 UTC, Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lee 2006-12-03 20:24:49 UTC
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????????????????????????????????????
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-12-04 13:36:57 UTC
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.
Comment 2 Lee 2006-12-06 07:03:29 UTC
strace ddd - actually locks X windows, requiring an CTRL ALT Backspace X windows reset!!! Yikes...

looks like you cant debug a debugger :-)

any ideas...

Comment 3 Lee 2006-12-06 07:31:56 UTC
Created attachment 103453 [details]
strace of ddd 

this is an strace of ddd running.
Comment 4 Lee 2006-12-06 07:33:26 UTC
(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

Comment 5 Stavros Christoforou 2007-01-23 10:02:39 UTC
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?
Comment 6 Luca Celetto 2007-01-26 15:41:33 UTC
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????????????????????????????????????
> 
Comment 7 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-01-29 00:40:32 UTC
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.