bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.3 (alphaev6-unknown-linux-gnu) gets `Segmentation fault' signal


From: James Duhl
Subject: DDD 3.3 (alphaev6-unknown-linux-gnu) gets `Segmentation fault' signal
Date: Thu, 15 Mar 2001 22:48:20 -0600

Hi bug-ddd,

To enable us to fix the bug, you should include the following information:
* What you were doing to get this message.  Report all the facts.
--------------------
Simple, repeatable.
===================
Type then get:
address@hidden i2c]#ddd hwmon -v
GNU DDD 3.3 (alphaev6-unknown-linux-gnu)
Copyright (C) 1995-1999 Technische Universitdt Braunschweig, Germany.
Copyright (C) 1999-2001 Universitdt Passau, Germany.

Internal error (Segmentation fault).

Oops!  You have found a bug in DDD.
=================
Addition information, The total run time, about 50 sec start to crash.
The memory used exceeds 2 gig ram. No X window at all.
-----------------
* The contents of the `~/.ddd/log' file as generated by this session.
-----------------
 GNU DDD 3.3 (alphaev6-unknown-linux-gnu)
Copyright (C) 1995-1999 Technische Universitdt Braunschweig, Germany.
Copyright (C) 1999-2001 Universitdt Passau, Germany.

Compiled with GCC 2.95.2 19991024 (release), GNU libc 2.1
Requires X11R6, Xt11R6, Motif 2.0 (GNU/LessTif Version 2.0 Release 0.92.6)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2001-03-06 by root <address@hidden>.
$  ./ddd cxxtest
+  /bin/sh -c 'exec gdb -q -fullname '\''cxxtest'\'''
#  Hello, world!
#  Opening session ".ddd"...
#  Running GDB (pid 9640, tty /dev/pts/5)...
#  Current language: C/C++
#  File: waiting until GDB gets ready
#  Searching "vsllib/ddd.vsl"...
#  Trying "/root/.ddd/vsllib/ddd.vsl"
#  Trying "./../vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."./../vsllib/ddd.vsl".
<- "(gdb) "
-> "set prompt (gdb) \n"
<- "(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"
<- "734\t    char name[1024];\n"
   "735\t    cout << \"What\'s your name? \";\n"
   "736\t    cin >> name;\n"
<- "737\t    cerr << \"Hello, \" << name << \"!\\n"
   "\";\n"
   "738\t}\n"
   "739\t\n"
<- 
"740\t//--------------------------------------------------------------------------\n"
   "741\tint main(int /* argc */, char ** /* argv */)\n"
   "742\t{\n"
   "743\t    int i = 42;\n"
<- "(gdb) "
-> "info line\n"
<- "Line 743 of \"./cxxtest.C\" starts at address 0x120004964 <main+36> and 
ends at
0x12000496c <main+44>.\n"
   "\032\032/usr/src/ddd-3.3/ddd/cxxtest.C:743:15285:beg:0x120004964\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 19991004\n"
   "Copyright 1998 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 \"alpha-redhat-linux\".\n"
<- "(gdb) "
-> "pwd\n"
<- "Working directory /usr/src/ddd-3.3/ddd.\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
\"/usr/src/ddd-3.3/ddd/.gdb_history\".\n"
<- "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
<- "(gdb) "
#  Reading file "/usr/src/ddd-3.3/ddd/cxxtest.C"...
#  Reading file "/usr/src/ddd-3.3/ddd/cxxtest.C"...done.
#  File "/usr/src/ddd-3.3/ddd/cxxtest.C" 772 lines, 16572 characters
#  Setting buttons...
#  Setting buttons...done.
-> "info source\n"
<- "Current source file is ./cxxtest.C\n"
   "Compilation directory is /usr/src/ddd-3.3/ddd/\n"
   "Located in /usr/src/ddd-3.3/ddd/cxxtest.C\n"
   "Contains 772 lines.\n"
   "Source language is c++.\n"
   "Compiled with stabs debugging format.\n"
<- "(gdb) "
-> "info files\n"
<- "Symbols from \"/usr/src/ddd-3.3/ddd/cxxtest\".\n"
   "Local exec file:\n"
   "\t`/usr/src/ddd-3.3/ddd/cxxtest\', file type elf64-alpha.\n"
   "\tEntry point: 0x1200021c0\n"
   "\t0x120000190 - 0x1200001a3 is .interp\n"
   "\t0x1200001b0 - 0x1200001d0 is .note.ABI-tag\n"
   "\t0x1200001d0 - 0x120000a20 is .hash\n"
   "\t0x120000a20 - 0x120001338 is .dynsym\n"
   "\t0x120001338 - 0x12000190f is .dynstr\n"
   "\t0x120001910 - 0x1200019d2 is .gnu.version\n"
   "\t0x1200019d8 - 0x120001a28 is .gnu.version_r\n"
   "\t0x120001a28 - 0x120001ab8 is .rela.got\n"
   "\t0x120001ab8 - 0x120002148 is .rela.plt\n"
   "\t0x120002160 - 0x1200021bc is .init\n"
   "\t0x1200021c0 - 0x120012ce0 is .text\n"
   "\t0x120012ce0 - 0x120012d2c is .fini\n"
   "\t0x120012d30 - 0x120013560 is .rodata\n"
   "\t0x120113560 - 0x120113d58 is .data\n"
   "\t0x120113d58 - 0x120118038 is .eh_frame\n"
   "\t0x120118038 - 0x120118660 is .gcc_except_table\n"
   "\t0x120118660 - 0x120118670 is .ctors\n"
   "\t0x120118670 - 0x120118680 is .dtors\n"
   "\t0x120118680 - 0x1201189e8 is .plt\n"
   "\t0x1201189e8 - 0x120119628 is .got\n"
   "\t0x120119628 - 0x120119778 is .dynamic\n"
   "\t0x120119778 - 0x1201197e0 is .sdata\n"
   "\t0x1201197e0 - 0x1201197f0 is .sbss\n"
   "\t0x1201197f0 - 0x12011c178 is .bss\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
<- "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "file /usr/src/ddd-3.3/ddd/cxxtest\n"
<- "(gdb) "
-> "info line\n"
<- "No line number information available.\n"
<- "(gdb) "
-> "list\n"
<- "734\t    char name[1024];\n"
   "735\t    cout << \"What\'s your name? \";\n"
<- "736\t    cin >> name;\n"
   "737\t    cerr << \"Hello, \" << name << \"!\\n"
   "\";\n"
   "738\t}\n"
   "739\t\n"
<- 
"740\t//--------------------------------------------------------------------------\n"
<- "741\tint main(int /* argc */, char ** /* argv */)\n"
   "742\t{\n"
   "743\t    int i = 42;\n"
<- "(gdb) "
-> "info line\n"
<- "Line 743 of \"./cxxtest.C\" starts at address 0x120004964 <main+36> and 
ends at
0x12000496c <main+44>.\n"
   "\032\032/usr/src/ddd-3.3/ddd/cxxtest.C:743:15285:beg:0x120004964\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) "
#  Reading file "/usr/src/ddd-3.3/ddd/cxxtest.C"...
#  Reading file "/usr/src/ddd-3.3/ddd/cxxtest.C"...done.
#  File "/usr/src/ddd-3.3/ddd/cxxtest.C" 772 lines, 16572 characters
-> "info source\n"
<- "Current source file is ./cxxtest.C\n"
   "Compilation directory is /usr/src/ddd-3.3/ddd/\n"
   "Located in /usr/src/ddd-3.3/ddd/cxxtest.C\n"
   "Contains 772 lines.\n"
   "Source language is c++.\n"
   "Compiled with stabs debugging format.\n"
<- "(gdb) "
-> "info files\n"
<- "Symbols from \"/usr/src/ddd-3.3/ddd/cxxtest\".\n"
   "Local exec file:\n"
   "\t`/usr/src/ddd-3.3/ddd/cxxtest\', file type elf64-alpha.\n"
   "\tEntry point: 0x1200021c0\n"
   "\t0x120000190 - 0x1200001a3 is .interp\n"
   "\t0x1200001b0 - 0x1200001d0 is .note.ABI-tag\n"
   "\t0x1200001d0 - 0x120000a20 is .hash\n"
   "\t0x120000a20 - 0x120001338 is .dynsym\n"
   "\t0x120001338 - 0x12000190f is .dynstr\n"
   "\t0x120001910 - 0x1200019d2 is .gnu.version\n"
   "\t0x1200019d8 - 0x120001a28 is .gnu.version_r\n"
   "\t0x120001a28 - 0x120001ab8 is .rela.got\n"
   "\t0x120001ab8 - 0x120002148 is .rela.plt\n"
   "\t0x120002160 - 0x1200021bc is .init\n"
   "\t0x1200021c0 - 0x120012ce0 is .text\n"
   "\t0x120012ce0 - 0x120012d2c is .fini\n"
   "\t0x120012d30 - 0x120013560 is .rodata\n"
   "\t0x120113560 - 0x120113d58 is .data\n"
   "\t0x120113d58 - 0x120118038 is .eh_frame\n"
   "\t0x120118038 - 0x120118660 is .gcc_except_table\n"
   "\t0x120118660 - 0x120118670 is .ctors\n"
   "\t0x120118670 - 0x120118680 is .dtors\n"
   "\t0x120118680 - 0x1201189e8 is .plt\n"
   "\t0x1201189e8 - 0x120119628 is .got\n"
   "\t0x120119628 - 0x120119778 is .dynamic\n"
   "\t0x120119778 - 0x1201197e0 is .sdata\n"
   "\t0x1201197e0 - 0x1201197f0 is .sbss\n"
   "\t0x1201197f0 - 0x12011c178 is .bss\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
<- "(gdb) "
-> "source /tmp/fileUYeQAs\n"
<- "Line 749 of \"./cxxtest.C\" starts at address 0x120004988 <main+72> and 
ends at
0x120004994 <main+84>.\n"
   "\032\032/usr/src/ddd-3.3/ddd/cxxtest.C:749:15347:beg:0x120004988\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\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 \"/usr/src/ddd-3.3/ddd/cxxtest\".\n"
   "Local exec file:\n"
   "\t`/usr/src/ddd-3.3/ddd/cxxtest\', file type elf64-alpha.\n"
   "\tEntry point: 0x1200021c0\n"
   "\t0x120000190 - 0x1200001a3 is .interp\n"
   "\t0x1200001b0 - 0x1200001d0 is .note.ABI-tag\n"
   "\t0x1200001d0 - 0x120000a20 is .hash\n"
   "\t0x120000a20 - 0x120001338 is .dynsym\n"
   "\t0x120001338 - 0x12000190f is .dynstr\n"
   "\t0x120001910 - 0x1200019d2 is .gnu.version\n"
   "\t0x1200019d8 - 0x120001a28 is .gnu.version_r\n"
   "\t0x120001a28 - 0x120001ab8 is .rela.got\n"
   "\t0x120001ab8 - 0x120002148 is .rela.plt\n"
   "\t0x120002160 - 0x1200021bc is .init\n"
   "\t0x1200021c0 - 0x120012ce0 is .text\n"
   "\t0x120012ce0 - 0x120012d2c is .fini\n"
   "\t0x120012d30 - 0x120013560 is .rodata\n"
   "\t0x120113560 - 0x120113d58 is .data\n"
   "\t0x120113d58 - 0x120118038 is .eh_frame\n"
   "\t0x120118038 - 0x120118660 is .gcc_except_table\n"
   "\t0x120118660 - 0x120118670 is .ctors\n"
   "\t0x120118670 - 0x120118680 is .dtors\n"
   "\t0x120118680 - 0x1201189e8 is .plt\n"
   "\t0x1201189e8 - 0x120119628 is .got\n"
   "\t0x120119628 - 0x120119778 is .dynamic\n"
   "\t0x120119778 - 0x1201197e0 is .sdata\n"
   "\t0x1201197e0 - 0x1201197f0 is .sbss\n"
   "\t0x1201197f0 - 0x12011c178 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) "
-> "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) "
#  Opening session ".ddd"...done.
#  Welcome to DDD 3.3 "Blues by Night" (alphaev6-unknown-linux-gnu)
#  Current session is [none].
-> "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) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "run\n"
<- "Judy Grace Kathleen Ada Mildred \n"
<- "What\'s your name? "
-> "jim\n"
<- "Hello, jim!\n"
<- "\n"
   "Program exited normally.\n"
   "Current language:  auto; currently c\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
<- "(gdb) "
#  Deleting session ".ddd"...
#  Deleting session ".ddd"...done.
-> "quit\n"
#  Running GDB (pid 9640, tty /dev/pts/5)...Exit 0.
#  Saving history in "/root/.ddd/history"...
#  Saving history in "/root/.ddd/history"...done.
#  Thanks for using DDD 3.3!



reply via email to

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