Re: ddd GUI not coming up.
shaunak saha <[email protected]>
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
Congrats.. yeah.i will surely look into the log file and update. One thing i would like to know.Is it your old version(3.3.11 ) that started working and are using that now or the new one? On Tue, Jan 12, 2010 at 8:53 AM, Bethany Seeger <[email protected]>wrote: > > Hi, > I installed the latests sw you suggested Shaunak. Unfortunately that > didn't fix it. > > I also started poking around in the .ddd dir. I ended up deleting my > sessions (I didn't have anything that I couldn't recreate there) and a lock > file that was there. I tried the lock file first, then re-ran. That didn't > help. Then I tried deleting the sessions. > > Suddenly it's working again. > I'd still like to know why it stopped working, if the log file tells > anything. > > Otherwise, it's up and running again. > > Bethany > >> >> >> shaunak saha wrote: >> >>> >>> Hi, >>> >>> Can you please send your ~/.ddd/log file... >>> >>> Anyway, 3.3.11 is old. The latest version is ddd-3.3.12-rc2 which is >>> available at >>> ftp://alpha.gnu.org/gnu/ddd/ddd-3.3.12-rc2.tar.gz >>> You can try that. >>> >>> Regards, >>> Shaunak >>> >>> On Mon, Jan 11, 2010 at 8:47 AM, Bethany Seeger <[email protected]<mailto: >>> [email protected]>> wrote: >>> >>> >>> Hi, >>> >>> I've tried the archives first, but came up empty handed. >>> >>> A few days ago ddd was working fine for me, but then it stopped >>> loading the gui when it was starting up. >>> >>> I'm running Debian Etch and have not upgraded it recently, so I >>> don't think it's a package conflict/issue. >>> >>> Version -- GNU DDD 3.3.11 (i486-pc-linux-gnu) >>> >>> What I see when I run it: >>> >>> seeger@athena$ ddd ./mwrd >>> Warning: XmStringGetNextComponent: unknown type 140366656 >>> >>> (Annoyed? Try 'Edit->Preferences->General->Suppress X Warnings'!) >>> Warning: XmStringGetNextComponent: unknown type 140367528 >>> >>> Warning: XmStringGetNextComponent: unknown type 140367384 >>> >>> Warning: XmStringGetNextComponent: unknown type 140371848 >>> >>> Warning: XmStringGetNextComponent: unknown type 140367944 >>> >>> Warning: XmStringGetNextComponent: unknown type 140592912 >>> >>> Warning: XmStringGetNextComponent: unknown type 140592416 >>> >>> Warning: XmStringGetNextComponent: unknown type 140366728 >>> >>> Warning: XmStringGetNextComponent: unknown type 140366512 >>> >>> Warning: XmStringGetNextComponent: unknown type 140815104 >>> >>> I get the small spash screen, the tool tip and when I close that >>> window, nothing else happens. I figure I've hung it up somehow, >>> but can't find another instance running and am not sure where to >>> go with this. (ps -ef reveals the neither ddd nor gdb are running...) >>> >>> Any pointers would be helpful. >>> >>> Thanks, >>> Bethany >>> >>> >>> _______________________________________________ >>> ddd mailing list >>> [email protected] <mailto:[email protected]> >>> http://lists.gnu.org/mailman/listinfo/ddd >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> ddd mailing list >>> [email protected] >>> http://lists.gnu.org/mailman/listinfo/ddd >>> >>> >> ------------------------------------------------------------------------ >> >> >> GNU DDD 3.3.11 (i486-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 4.0.1 20050701 (prerelease) (Debian 4.0.0-12), GNU libc >> 2.3 >> Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release >> 0.93.94) >> Includes XPM 3.4.11, Athena Panner (7000002L), DDD core >> Built 2005-07-10 by Daniel Schepler <[email protected]>. >> $ ddd ./mwrd >> + /bin/sh -c 'exec gdb -q -fullname '\''./mwrd'\''' >> # Hello, world! >> # Opening session "117f000101000126331108900000039080393"... >> # Running GDB (pid 2201, tty /dev/pts/10)... >> # Current language: C/C++ >> # Searching "vsllib/ddd.vsl"... >> # Trying "/home/cooper/.ddd/vsllib/ddd.vsl" >> # Trying "/usr/share/ddd/vsllib/ddd.vsl" >> # Searching "vsllib/ddd.vsl"..."/usr/share/ddd/vsllib/ddd.vsl". >> # Creating >> "/home/cooper/.ddd/sessions/117f000101000126331108900000039080393/"... >> # Creating >> "/home/cooper/.ddd/sessions/117f000101000126331108900000039080393/"...done. >> # Copying "/home/cooper/.ddd/init" to >> "/home/cooper/.ddd/sessions/117f000101000126331108900000039080393/init"... >> # Copying "/home/cooper/.ddd/init" to >> "/home/cooper/.ddd/sessions/117f000101000126331108900000039080393/init"...done. >> # Copying "/home/cooper/.ddd/history" to >> "/home/cooper/.ddd/sessions/117f000101000126331108900000039080393/history"... >> # Copying "/home/cooper/.ddd/history" to >> "/home/cooper/.ddd/sessions/117f000101000126331108900000039080393/history"...done. >> # Saving session in >> "/home/cooper/.ddd/sessions/117f000101000126331108900000039080393/init"... >> # Searching "ddd/Ddd"... >> # Trying "/home/cooper/.ddd/ddd/Ddd" >> # Trying "/usr/share/ddd/ddd/Ddd" >> # Searching "ddd/Ddd"..."/usr/share/ddd/ddd/Ddd". >> # Saving session in >> "/home/cooper/.ddd/sessions/117f000101000126331108900000039080393/init"...done. >> 2010.01.12 10:44:49 >> <- "Using host libthread_db library >> \"/lib/tls/i686/cmov/libthread_db.so.1\".\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "set prompt (gdb) \n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "set height 0\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "set width 0\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "set annotate 1\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> " set verbose off\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info line\n" >> 2010.01.12 10:44:49 >> <- "No line number information available.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "list\n" >> 2010.01.12 10:44:49 >> <- "2235\t\n" >> "2236\t#ifdef JUST_PROCESSING\n" >> 2010.01.12 10:44:49 >> <- "2237\t fprintf(stderr, \"\\n" >> "*** This version will only process L1 data into L2 data. ***\\n" >> "\");\n" >> "2238\t fprintf(stderr, \"*** This will NOT run like the daemon usually >> does. ***\\n" >> "\");\n" >> "2239\t#endif\n" >> "2240\t}\n" >> "2241\t\n" >> "2242\tint main(int argc,char* argv[])\n" >> "2243\t{\n" >> "2244\t char datapath[PATH_MAX]=\".\", *progname;\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info line\n" >> 2010.01.12 10:44:49 >> <- "Line 2244 of \"mwrd.c\" starts at address 0x804ed8c <main+28> and ends >> at 0x804edb9 <main+73>.\n" >> >> "\032\032/home/cooper/projects_clean/mwr/MWR/mwrd.c:2244:79068:beg:0x804ed8c\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "output 4711\n" >> 2010.01.12 10:44:49 >> <- "4711" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "show language\n" >> 2010.01.12 10:44:49 >> <- "The current source language is \"auto; currently c\".\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "show version\n" >> 2010.01.12 10:44:49 >> <- "GNU gdb 6.4.90-debian\n" >> "Copyright (C) 2006 Free Software Foundation, Inc.\n" >> "GDB is free software, covered by the GNU General Public License, and >> you are\n" >> "welcome to change it and/or distribute copies of it under certain >> conditions.\n" >> "Type \"show copying\" to see the conditions.\n" >> "There is absolutely no warranty for GDB. Type \"show warranty\" for >> details.\n" >> "This GDB was configured as \"i486-linux-gnu\".\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "pwd\n" >> 2010.01.12 10:44:49 >> <- "Working directory /home/cooper/projects_clean/mwr/MWR.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info breakpoints\n" >> 2010.01.12 10:44:49 >> <- "No breakpoints or watchpoints.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "show history filename\n" >> 2010.01.12 10:44:49 >> <- "The filename in which to record the command history is >> \"/home/cooper/projects_clean/mwr/MWR/.gdb_history\".\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "show history size\n" >> 2010.01.12 10:44:49 >> <- "The size of the command history is 256.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> # Reading file "/home/cooper/projects_clean/mwr/MWR/mwrd.c"... >> # Reading file "/home/cooper/projects_clean/mwr/MWR/mwrd.c"...done. >> # File "/home/cooper/projects_clean/mwr/MWR/mwrd.c" 2757 lines, 95585 >> characters >> 2010.01.12 10:44:49 >> -> "info source\n" >> 2010.01.12 10:44:49 >> <- "Current source file is mwrd.c\n" >> "Compilation directory is /home/cooper/projects_clean/mwr/MWR\n" >> "Located in /home/cooper/projects_clean/mwr/MWR/mwrd.c\n" >> "Contains 2757 lines.\n" >> "Source language is c.\n" >> "Compiled with DWARF 2 debugging format.\n" >> "Includes preprocessor macro info.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info files\n" >> 2010.01.12 10:44:49 >> <- "Symbols from \"/home/cooper/projects_clean/mwr/MWR/mwrd\".\n" >> "Local exec file:\n" >> "\t`/home/cooper/projects_clean/mwr/MWR/mwrd\', file type elf32-i386.\n" >> 2010.01.12 10:44:49 >> <- "\tEntry point: 0x804a570\n" >> "\t0x08048114 - 0x08048127 is .interp\n" >> "\t0x08048128 - 0x08048148 is .note.ABI-tag\n" >> "\t0x08048148 - 0x080485c4 is .hash\n" >> "\t0x080485c4 - 0x08048f64 is .dynsym\n" >> "\t0x08048f64 - 0x08049606 is .dynstr\n" >> "\t0x08049606 - 0x0804973a is .gnu.version\n" >> "\t0x0804973c - 0x080497ec is .gnu.version_r\n" >> "\t0x080497ec - 0x08049824 is .rel.dyn\n" >> "\t0x08049824 - 0x08049c84 is .rel.plt\n" >> "\t0x08049c84 - 0x08049c9b is .init\n" >> "\t0x08049c9c - 0x0804a56c is .plt\n" >> "\t0x0804a570 - 0x0809e2e4 is .text\n" >> 2010.01.12 10:44:49 >> <- "\t0x0809e2e4 - 0x0809e300 is .fini\n" >> "\t0x0809e300 - 0x080ab48a is .rodata\n" >> "\t0x080ab48c - 0x080ab490 is .eh_frame\n" >> "\t0x080ac490 - 0x080ac498 is .ctors\n" >> "\t0x080ac498 - 0x080ac4a0 is .dtors\n" >> "\t0x080ac4a0 - 0x080ac4a4 is .jcr\n" >> "\t0x080ac4a4 - 0x080ac594 is .dynamic\n" >> "\t0x080ac594 - 0x080ac598 is .got\n" >> "\t0x080ac598 - 0x080ac7d4 is .got.plt\n" >> "\t0x080ac7e0 - 0x080b3780 is .data\n" >> "\t0x080b3780 - 0x081198c0 is .bss\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info program\n" >> 2010.01.12 10:44:49 >> <- "The program being debugged is not being run.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "set confirm off\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "source /tmp/dddjo32on\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info breakpoints\n" >> 2010.01.12 10:44:49 >> <- "No breakpoints or watchpoints.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "# reset\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info breakpoints\n" >> 2010.01.12 10:44:49 >> <- "No breakpoints or watchpoints.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "display\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info display\n" >> 2010.01.12 10:44:49 >> <- "There are no auto-display expressions now.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "set environment TERM dumb\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info files\n" >> 2010.01.12 10:44:49 >> <- "Symbols from \"/home/cooper/projects_clean/mwr/MWR/mwrd\".\n" >> "Local exec file:\n" >> "\t`/home/cooper/projects_clean/mwr/MWR/mwrd\', file type elf32-i386.\n" >> "\tEntry point: 0x804a570\n" >> "\t0x08048114 - 0x08048127 is .interp\n" >> "\t0x08048128 - 0x08048148 is .note.ABI-tag\n" >> "\t0x08048148 - 0x080485c4 is .hash\n" >> "\t0x080485c4 - 0x08048f64 is .dynsym\n" >> "\t0x08048f64 - 0x08049606 is .dynstr\n" >> "\t0x08049606 - 0x0804973a is .gnu.version\n" >> "\t0x0804973c - 0x080497ec is .gnu.version_r\n" >> "\t0x080497ec - 0x08049824 is .rel.dyn\n" >> "\t0x08049824 - 0x08049c84 is .rel.plt\n" >> "\t0x08049c84 - 0x08049c9b is .init\n" >> "\t0x08049c9c - 0x0804a56c is .plt\n" >> "\t0x0804a570 - 0x0809e2e4 is .text\n" >> "\t0x0809e2e4 - 0x0809e300 is .fini\n" >> "\t0x0809e300 - 0x080ab48a is .rodata\n" >> "\t0x080ab48c - 0x080ab490 is .eh_frame\n" >> "\t0x080ac490 - 0x080ac498 is .ctors\n" >> 2010.01.12 10:44:49 >> <- "\t0x080ac498 - 0x080ac4a0 is .dtors\n" >> "\t0x080ac4a0 - 0x080ac4a4 is .jcr\n" >> "\t0x080ac4a4 - 0x080ac594 is .dynamic\n" >> "\t0x080ac594 - 0x080ac598 is .got\n" >> "\t0x080ac598 - 0x080ac7d4 is .got.plt\n" >> "\t0x080ac7e0 - 0x080b3780 is .data\n" >> "\t0x080b3780 - 0x081198c0 is .bss\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "info program\n" >> 2010.01.12 10:44:49 >> <- "The program being debugged is not being run.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> # Opening session "117f000101000126331108900000039080393"...done. >> # Welcome to DDD 3.3.11 "Rhubarb" (i486-pc-linux-gnu) >> 2010.01.12 10:44:49 >> -> "help detach\n" >> 2010.01.12 10:44:49 >> <- "Detach a process or file previously attached.\n" >> "If a process, it is no longer traced, and it continues its execution. >> If\n" >> "you were debugging a file, the file is closed and gdb no longer >> accesses it.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "help run\n" >> 2010.01.12 10:44:49 >> <- "Start debugged program. You may specify arguments to give it.\n" >> "Args may include \"*\", or \"[...]\"; they are expanded using >> \"sh\".\n" >> "Input and output redirection with \">\", \"<\", or \">>\" are also >> allowed.\n" >> "\n" >> "With no arguments, uses arguments last specified (with \"run\" or \"set >> args\").\n" >> "To cancel previous arguments and run with no arguments,\n" >> "use \"set args\" without arguments.\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:49 >> -> "help step\n" >> 2010.01.12 10:44:49 >> <- "Step program until it reaches a different source line.\n" >> "Argument N means do this N times (or till program stops for another >> reason).\n" >> 2010.01.12 10:44:49 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help stepi\n" >> 2010.01.12 10:44:50 >> <- "Step one instruction exactly.\n" >> "Argument N means do this N times (or till program stops for another >> reason).\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help next\n" >> 2010.01.12 10:44:50 >> <- "Step program, proceeding through subroutine calls.\n" >> "Like the \"step\" command as long as subroutine calls do not happen;\n" >> "when they do, the call is treated as one instruction.\n" >> "Argument N means do this N times (or till program stops for another >> reason).\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help nexti\n" >> 2010.01.12 10:44:50 >> <- "Step one instruction, but proceed through subroutine calls.\n" >> "Argument N means do this N times (or till program stops for another >> reason).\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help until\n" >> 2010.01.12 10:44:50 >> <- "Execute until the program reaches a source line greater than the >> current\n" >> "or a specified location (same args as break command) within the current >> frame.\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help finish\n" >> 2010.01.12 10:44:50 >> <- "Execute until selected stack frame returns.\n" >> "Upon return, the value returned is printed and put in the value >> history.\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help cont\n" >> 2010.01.12 10:44:50 >> <- "Continue program being debugged, after signal or breakpoint.\n" >> "If proceeding from breakpoint, a number N may be used as an >> argument,\n" >> "which means to set the ignore count of that breakpoint to N - 1 (so >> that\n" >> "the breakpoint won\'t break until the Nth time it is reached).\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help signal\n" >> 2010.01.12 10:44:50 >> <- "Continue program giving it signal specified by the argument.\n" >> "An argument of \"0\" means continue program without giving it a >> signal.\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help kill\n" >> 2010.01.12 10:44:50 >> <- "Kill execution of program being debugged.\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help up\n" >> 2010.01.12 10:44:50 >> <- "Select and print stack frame that called this one.\n" >> "An argument says how many frames up to go.\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> 2010.01.12 10:44:50 >> -> "help down\n" >> 2010.01.12 10:44:50 >> <- "Select and print stack frame called by this one.\n" >> "An argument says how many frames down to go.\n" >> 2010.01.12 10:44:50 >> <- "(gdb) " >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> ddd mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/ddd >> >> > > > _______________________________________________ > ddd mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ddd > _______________________________________________ ddd mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ddd