bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

3.3.9-test1 crashes


From: Jesse Zbikowski
Subject: 3.3.9-test1 crashes
Date: Wed, 12 May 2004 00:42:03 -0700
User-agent: Mutt/1.4.1i

I built ddd 3.3.9-test1 on Mandrake Linux 2.4.22 and tried two
different debuggers: native gdb and arm-elf-gdb.  In both cases the
application froze when I tried to type a colon ':' in the gdb console
window.  I had to kill it with the window manager.  

I used lesstif-devel-0.93.94-1.i386.rpm for my Motif headers and
lesstif-0.93.94-1.i386.rpm for the library.  Session log and gdb
versions below.

#uname -a
Linux Elmer 2.4.22 #2 Mon Nov 24 19:18:23 CET 2003 i686 unknown unknown 
GNU/Linux

GNU DDD 3.3.9-test1 (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.3.1 (Mandrake Linux 9.2 3.3.1-2mdk), 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 2004-05-11 by Leo McManus <leom@Elmer.Warner>.
$  ddd a.out
+  /bin/sh -c 'exec gdb -q -fullname '\''a.out'\'''
#  Hello, world!
#  Opening session "1182914064000108429202300000023760067"...
#  Raising core file size limit from 1024000000 to -1 bytes...
#  Raising core file size limit from 1024000000 to -1 bytes...done.
#  Running GDB (pid 24024, tty /dev/pts/22)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/leom/.ddd/vsllib/ddd.vsl"
#  Trying "/home/leom/jesse/ddd-3.3.9-test1/vsllib/ddd.vsl"
#  Searching 
"vsllib/ddd.vsl"..."/home/leom/jesse/ddd-3.3.9-test1/vsllib/ddd.vsl".
<- "(gdb) "
-> "set prompt (gdb) \n"
#  Creating "/home/leom/.ddd/sessions/1182914064000108429202300000023760067/"...
#  Creating 
"/home/leom/.ddd/sessions/1182914064000108429202300000023760067/"...done.
#  Copying "/home/leom/.ddd/init" to 
"/home/leom/.ddd/sessions/1182914064000108429202300000023760067/init"...
#  Copying "/home/leom/.ddd/init" to 
"/home/leom/.ddd/sessions/1182914064000108429202300000023760067/init"...done.
#  Copying "/home/leom/.ddd/history" to 
"/home/leom/.ddd/sessions/1182914064000108429202300000023760067/history"...
#  Copying "/home/leom/.ddd/history" to 
"/home/leom/.ddd/sessions/1182914064000108429202300000023760067/history"...done.
#  Saving session in 
"/home/leom/.ddd/sessions/1182914064000108429202300000023760067/init"...
#  Searching "ddd/Ddd"...
#  Trying "/home/leom/.ddd/ddd/Ddd"
#  Trying "/home/leom/jesse/ddd-3.3.9-test1/ddd/Ddd"
#  Searching "ddd/Ddd"..."/home/leom/jesse/ddd-3.3.9-test1/ddd/Ddd".
#  Saving session in 
"/home/leom/.ddd/sessions/1182914064000108429202300000023760067/init"...done.
<- "(gdb) "
-> "set height 0\n"
<- "(gdb) "
-> "set width 0\n"
<- "(gdb) "
-> "set annotate 1\n"
<- "(gdb) "
-> " set verbose off\n"
<- "(gdb) "
-> "info line\n"
<- "No line number information available.\n"
   "(gdb) "
-> "list\n"
<- "1\t#include <stdio.h>\n"
   "2\t\n"
   "3\tint main(void)\n"
   "4\t{\n"
   "5\t\tprintf (\"Dag wereld!\\n"
   "\");\n"
   "6\t\treturn 0;\n"
   "7\t}\n"
   "(gdb) "
-> "info line\n"
<- "Line 7 of \"hello.c\" starts at address 0x8048381 <main+37> and ends at 
0x8048383 <main+39>.\n"
   "\032\032/home/leom/jesse/hello.c:7:75:beg:0x8048381\n"
   "(gdb) "
-> "output 4711\n"
<- "4711(gdb) "
-> "show language\n"
<- "The current source language is \"auto; currently c\".\n"
   "(gdb) "
-> "show version\n"
<- "GNU gdb 5.3-25mdk (Mandrake Linux)\n"
   "Copyright 2002 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 \"i586-mandrake-linux-gnu\".\n"
   "(gdb) "
-> "pwd\n"
<- "Working directory /home/leom/jesse.\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "show history filename\n"
<- "The filename in which to record the command history is 
\"/home/leom/jesse/.gdb_history\".\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
   "(gdb) "
#  Reading file "/home/leom/jesse/hello.c"...
#  Reading file "/home/leom/jesse/hello.c"...done.
#  File "/home/leom/jesse/hello.c" 7 lines, 95 characters
#  Setting buttons...
#  Setting buttons...done.
-> "set confirm off\n"
<- "(gdb) "
-> "source /home/leom/tmp/ddddidzYw\n"
<- "The target architecture is set automatically (currently i386)\n"
   "The target endianness is set automatically (currently little endian)\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source\n"
<- "Current source file is hello.c\n"
   "Compilation directory is /home/leom/jesse\n"
   "Located in /home/leom/jesse/hello.c\n"
   "Contains 7 lines.\n"
   "Source language is c.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\n"
   "(gdb) "
-> "# reset\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "display\n"
<- "(gdb) "
-> "info display\n"
<- "There are no auto-display expressions now.\n"
   "(gdb) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "info files\n"
<- "Symbols from \"/home/leom/jesse/a.out\".\n"
   "Local exec file:\n"
   "\t`/home/leom/jesse/a.out\', file type elf32-i386.\n"
   "\tEntry point: 0x80482a0\n"
   "\t0x08048114 - 0x08048127 is .interp\n"
   "\t0x08048128 - 0x08048148 is .note.ABI-tag\n"
   "\t0x08048148 - 0x08048170 is .hash\n"
   "\t0x08048170 - 0x080481c0 is .dynsym\n"
   "\t0x080481c0 - 0x0804820c is .dynstr\n"
   "\t0x0804820c - 0x08048216 is .gnu.version\n"
   "\t0x08048218 - 0x08048238 is .gnu.version_r\n"
   "\t0x08048238 - 0x08048240 is .rel.dyn\n"
   "\t0x08048240 - 0x08048250 is .rel.plt\n"
   "\t0x08048250 - 0x08048267 is .init\n"
   "\t0x08048268 - 0x08048298 is .plt\n"
   "\t0x080482a0 - 0x08048464 is .text\n"
   "\t0x08048464 - 0x0804847e is .fini\n"
   "\t0x08048480 - 0x08048495 is .rodata\n"
   "\t0x08048498 - 0x0804849c is .eh_frame\n"
   "\t0x0804949c - 0x080494a8 is .data\n"
   "\t0x080494a8 - 0x08049570 is .dynamic\n"
   "\t0x08049570 - 0x08049578 is .ctors\n"
   "\t0x08049578 - 0x08049580 is .dtors\n"
   "\t0x08049580 - 0x08049584 is .jcr\n"
   "\t0x08049584 - 0x0804959c is .got\n"
   "\t0x0804959c - 0x080495a0 is .bss\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "info files\n"
<- "Symbols from \"/home/leom/jesse/a.out\".\n"
   "Local exec file:\n"
   "\t`/home/leom/jesse/a.out\', file type elf32-i386.\n"
   "\tEntry point: 0x80482a0\n"
   "\t0x08048114 - 0x08048127 is .interp\n"
   "\t0x08048128 - 0x08048148 is .note.ABI-tag\n"
   "\t0x08048148 - 0x08048170 is .hash\n"
   "\t0x08048170 - 0x080481c0 is .dynsym\n"
   "\t0x080481c0 - 0x0804820c is .dynstr\n"
   "\t0x0804820c - 0x08048216 is .gnu.version\n"
   "\t0x08048218 - 0x08048238 is .gnu.version_r\n"
   "\t0x08048238 - 0x08048240 is .rel.dyn\n"
   "\t0x08048240 - 0x08048250 is .rel.plt\n"
   "\t0x08048250 - 0x08048267 is .init\n"
   "\t0x08048268 - 0x08048298 is .plt\n"
   "\t0x080482a0 - 0x08048464 is .text\n"
   "\t0x08048464 - 0x0804847e is .fini\n"
   "\t0x08048480 - 0x08048495 is .rodata\n"
   "\t0x08048498 - 0x0804849c is .eh_frame\n"
   "\t0x0804949c - 0x080494a8 is .data\n"
   "\t0x080494a8 - 0x08049570 is .dynamic\n"
   "\t0x08049570 - 0x08049578 is .ctors\n"
   "\t0x08049578 - 0x08049580 is .dtors\n"
   "\t0x08049580 - 0x08049584 is .jcr\n"
   "\t0x08049584 - 0x0804959c is .got\n"
   "\t0x0804959c - 0x080495a0 is .bss\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "help detach\n"
<- "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"
   "(gdb) "
#  Opening session "1182914064000108429202300000023760067"...done.
#  Welcome to DDD 3.3.9-test1 "Perky" (i686-pc-linux-gnu)
-> "help run\n"
<- "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"
   "(gdb) "
-> "help step\n"
<- "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"
   "(gdb) "
-> "help stepi\n"
<- "Step one instruction exactly.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help next\n"
<- "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"
   "(gdb) "
-> "help nexti\n"
<- "Step one instruction, but proceed through subroutine calls.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help until\n"
<- "Execute until the program reaches a source line greater than the current\n"
   "or a specified line or address or function (same args as break command).\n"
   "Execution will also stop upon exit from the current stack frame.\n"
   "(gdb) "
-> "help finish\n"
<- "Execute until selected stack frame returns.\n"
   "Upon return, the value returned is printed and put in the value history.\n"
   "(gdb) "
-> "help cont\n"
<- "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"
   "(gdb) "
-> "help signal\n"
<- "Continue program giving it signal specified by the argument.\n"
   "An argument of \"0\" means continue program without giving it a signal.\n"
   "(gdb) "
-> "help kill\n"
<- "Kill execution of program being debugged.\n"
   "(gdb) "
-> "help up\n"
<- "Select and print stack frame that called this one.\n"
   "An argument says how many frames up to go.\n"
   "(gdb) "
-> "help down\n"
<- "Select and print stack frame called by this one.\n"
   "An argument says how many frames down to go.\n"
   "(gdb) "
!  Interrupt
-> "\003"
<- "Quit\n"
   "(gdb) "
-> "quit\n"
#  Running GDB (pid 24024, tty /dev/pts/22)...Exit 0.
#  Saving options in "/home/leom/.ddd/init"...
#  Saving options in "/home/leom/.ddd/init"...done.
#  Deleting session "1182914064000108429202300000023760067"...
#  Current session is [none].
#  Deleting session "1182914064000108429202300000023760067"...done.
#  Saving history in "/home/leom/.ddd/history"...
#  Saving history in "/home/leom/.ddd/history"...done.
#  Thanks for using DDD 3.3.9-test1!

[leom@Elmer jesse]$ gdb --version
GNU gdb 5.3-25mdk (Mandrake Linux)
Copyright 2002 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 "i586-mandrake-linux-gnu".
[leom@Elmer jesse]$ arm-elf-gdb --version
GNU gdb 5.3
Copyright 2002 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 "--host=i686-pc-linux-gnu --target=arm-elf".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]