Summary: | DDD hangs on startup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Emanuel Eick <chaostrooper> |
Component: | [OLD] Development | Assignee: | Luca Barbato <lu_zero> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | radim |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Emanuel Eick
2005-05-22 05:33:54 UTC
I emerged it and on startup it is working correctly. tell me how to trigger the issue. Hi, ok I googled a little bit and stumbled over this report. It sounds very similar to my problem http://lists.gnu.org/archive/html/bug-ddd/2005-04/msg00025.html . To the question how I trigger the problem: I open a standard konsole in kde 3.4 and type #ddd After this ddd runs until it stops with the Opening Session message and showing the sandclock. Like I said, removing the config folder .ddd doesn't solve the problem. But somehow I am able to start the program as root whitout that issue. Next I will try to login in kde as root and start the program \Emanuel emerge -vp xorg-x11 please An emerge -vp xorg-x11 returns: [ebuild R ] x11-base/xorg-x11-6.8.2-r1 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers +ipv6 -minimal -mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB I also added a brand new user and tried to start ddd from its console, result was negative :-( Next I tried: # ddd --check-configuration .... No configuration problems found And a: chaot@localhost ~ $ ddd --trace GNU DDD 3.3.10 (i686-pc-linux-gnu) Copyright (C) 1995-1999 Technische Universit An emerge -vp xorg-x11 returns: [ebuild R ] x11-base/xorg-x11-6.8.2-r1 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers +ipv6 -minimal -mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB I also added a brand new user and tried to start ddd from its console, result was negative :-( Next I tried: # ddd --check-configuration .... No configuration problems found And a: chaot@localhost ~ $ ddd --trace GNU DDD 3.3.10 (i686-pc-linux-gnu) Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany. Copyright (C) 1999-2001 Universität Passau, Germany. Copyright (C) 2001 Universität des Saarlandes, Germany. Copyright (C) 2001-2004 Free Software Foundation, Inc. Compiled with GCC 3.4.3-20050110 (Gentoo 3.4.3.20050110-r2, ssp-3.4.3.20050110-0, pie-8.7.7), GNU libc 2.3 Requires X11R6, Xt11R6, Motif 2.2.3 (Motif Version 2.2.3) Includes XPM 3.4.11, Athena Panner (7000002L), DDD core Built 2005-05-25 by root <root@127.0.0.1>. $ ddd --trace + /bin/sh -c 'exec gdb -q -fullname' # Hello, world! # Opening session "1014cd7d2d4000111700663900000074950029"... # Enabling core dumps... # Enabling core dumps...done. # Running GDB (pid 22226, tty /dev/pts/6)... 2005.05.25 09:37:19 <- "gdb> " # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "/home/chaot/.ddd/vsllib/ddd.vsl" # Trying "/usr/share/ddd-3.3.10/vsllib/ddd.vsl" # Searching "vsllib/ddd.vsl"..."/usr/share/ddd-3.3.10/vsllib/ddd.vsl". # Creating "/home/chaot/.ddd/sessions/1014cd7d2d4000111700663900000074950029/"... # Creating "/home/chaot/.ddd/sessions/1014cd7d2d4000111700663900000074950029/"...done. # Copying "/home/chaot/.ddd/init" to "/home/chaot/.ddd/sessions/1014cd7d2d4000111700663900000074950029/init"... # Copying "/home/chaot/.ddd/init" to "/home/chaot/.ddd/sessions/1014cd7d2d4000111700663900000074950029/init"...done. # Saving session in "/home/chaot/.ddd/sessions/1014cd7d2d4000111700663900000074950029/init"... # Saving session in "/home/chaot/.ddd/sessions/1014cd7d2d4000111700663900000074950029/init"...done. \Emanuel I cannot reproduce the problem still. I'll try to remove the offending code soon. Ok, I tried to solve the issue by doing an "emerge -uDvat world". Result: same behavior as before :-( I really have no idea which program doesn't work together with ddd \Emanuel please run DDD alone with just x and a simple wm. Now I used a simple twm, but this didn't work neither. I ssem to have the same problem: When starting ddd it waits forever with searching "vslib/ddd.vsl" "/usr/share/ddd-3.3.11/vslib/ddd.vsl" in the status line When I select e.g. "Attach to Process" from the menu, it says: Attach to process: Waiting until gdb gets ready When I press enter in the gdb command line in the lower part of ddd's window, it opens the requested dialog. Additional Note: removing .gdbinit fixes the problem.... Hi, thnx for that hint. It worked! How could I oversee that :-( I had the same problem. The default .gdminit file contains the line: set prompt gdm> Commenting out this line allows ddd to start normally. Presumably ddd is waiting for the default (gdm) prompt and not finding it. what produces that file? I can't reproduce the issue locally... reopen once you can give me more informations (In reply to comment #14) > what produces that file? > > I can't reproduce the issue locally... Hi, targa help # equery belongs .gdbinit [ Searching for file(s) .gdbinit in *... ] sys-devel/gdb-6.4 (/etc/skel/.gdbinit) targa help # adding this line, without quotes to ~/.gdbinit solves this problem "set prompt (gdb) " Please note final space, which is vital for correct ddd function. I think this bug should get reopened, as everyone, who has gdb installed before they add their users would get same behavior. Say problem. I think ddd ebuild should alter /etc/skel/.gdbinit AND add custom script, that would on first ddd invocation change ~/.gdbinit, so that there's correct gdb prompt printed. |