bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.3 (sparc-sun-solaris2.7) gets `Bus Error' signal


From: Alper Gurbuz
Subject: DDD 3.3 (sparc-sun-solaris2.7) gets `Bus Error' signal
Date: Mon, 30 Jul 2001 15:26:09 +0100

I could not open one of my source files after running the ddd.
I started the ddd like  " ddd myexe.exe &"
and from the open source menu I tried to open one of my .cc file, the
ddd crashes.

alper
GNU DDD 3.3 (sparc-sun-solaris2.5.1)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.95.2 19991024 (release), libstdc++ 2.8.0
Requires X11R5, Xt11R5, Motif 1.2 (GNU/LessTif Version 1.2 Release 0.91.8)
Includes XPM 3.4.7, Athena Panner, DDD core
Built 2001-02-07 by Shannon Tools Admin  <toolsadm@shannon.tellabs.com>.
$  ddd xconns
+  /bin/sh -c 'exec gdb -q -fullname '\''xconns'\'''
#  Hello, world!
#  Starting GDB...
#  Raising core file size limit from 512 to 2147483647 bytes...
#  Raising core file size limit from 512 to 2147483647 bytes...done.
#  Running GDB (pid 9510, tty /dev/pts/10)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home32/sionna/agurbuz/.ddd/vsllib/ddd.vsl"
#  Trying "/tools2/freeware/share/ddd-3.3/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/tools2/freeware/share/ddd-3.3/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"
<- "94\t    printf(\"-slot x       : 7750 - ds3/oc3 LIU is in slot x (default 
1) \\n"
   "\");\n"
   "95\t    printf(\"-port x       : 7750 - create connections on port x of the 
LIU card (default 1)\\n"
   "\");\n"
   "96\t    printf(\"-port all     : 7750 - create connections on all ports of 
the LIU card\\n"
   "\");\n"
   "97\t    printf(\"\\n"
   "\");\n"
   "98\t    exit(1);\n"
   "99\t}\n"
   "100\t\n"
   "101\tmain(int argc, char **argv)\n"
   "102\t{\n"
   "103\t    long number = 0;\n"
   "(gdb) "
-> "info line\n"
<- "Line 103 of \"xconns_main.cc\" starts at address 0x17e14 <main+12> and ends 
at 0x17e18 <main+16>.\n"
   "\032\032/home32/sionna/agurbuz/xconns/xconns_main.cc:103:4489:beg:0x17e14\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 4.18\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 \"sparc-sun-solaris2.5.1\".\n"
   "(gdb) "
-> "pwd\n"
<- "Working directory /home32/sionna/agurbuz/xconns.\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 
\"/home32/sionna/agurbuz/xconns/.gdb_history\".\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 256.\n"
   "(gdb) "
#  Reading file "/home32/sionna/agurbuz/xconns/xconns_main.cc"...
#  Reading file "/home32/sionna/agurbuz/xconns/xconns_main.cc"...done.
#  File "/home32/sionna/agurbuz/xconns/xconns_main.cc" 969 lines, 28208 
characters
-> "info source\n"
<- "Current source file is xconns_main.cc\n"
   "Compilation directory is /home32/sionna/agurbuz/xconns/\n"
   "Located in /home32/sionna/agurbuz/xconns/xconns_main.cc\n"
   "Contains 969 lines.\n"
   "Source language is c++.\n"
   "Compiled with stabs debugging format.\n"
   "(gdb) "
-> "info files\n"
<- "Symbols from \"/home32/sionna/agurbuz/xconns/xconns\".\n"
   "Local exec file:\n"
   "\t`/home32/sionna/agurbuz/xconns/xconns\', file type elf32-sparc.\n"
   "\tEntry point: 0x17838\n"
   "\t0x000100d4 - 0x000100e5 is .interp\n"
   "\t0x000100e8 - 0x00011634 is .hash\n"
   "\t0x00011634 - 0x00014274 is .dynsym\n"
   "\t0x00014274 - 0x00017367 is .dynstr\n"
   "\t0x00017368 - 0x00017418 is .SUNW_version\n"
   "\t0x00017418 - 0x00017424 is .rela.got\n"
   "\t0x00017424 - 0x00017448 is .rela.bss\n"
   "\t0x00017448 - 0x00017838 is .rela.plt\n"
   "\t0x00017838 - 0x00052ff8 is .text\n"
   "\t0x00052ff8 - 0x00053014 is .init\n"
   "\t0x00053014 - 0x00053028 is .fini\n"
   "\t0x00053028 - 0x000530a0 is .gnu.linkonce.t.__t16LinkListOfPtrFor1ZPvUl\n"
   "\t0x000530a0 - 0x000530c4 is .gnu.linkonce.t._._t16LinkListOfPtrFor1ZPv\n"
   "\t0x000530c4 - 0x000530ec is 
.gnu.linkonce.t.pop_front__t16LinkListOfPtrFor1ZPv\n"
   "\t0x000530ec - 0x0005311c is 
.gnu.linkonce.t.push_back__t16LinkListOfPtrFor1ZPvPv\n"
   "\t0x0005311c - 0x00053160 is .gnu.linkonce.t.__tf9exception\n"
   "\t0x00053160 - 0x000531e8 is .gnu.linkonce.t.__tf13bad_exception\n"
   "\t0x000531e8 - 0x000532ac is .gnu.linkonce.t.__tf14__si_type_info\n"
   "\t0x000532ac - 0x00053370 is .gnu.linkonce.t.__tf17__class_type_info\n"
   "\t0x00053370 - 0x000533b4 is .gnu.linkonce.t.__tf9type_info\n"
   "\t0x000533b4 - 0x00053410 is .gnu.linkonce.t.__tf8bad_cast\n"
   "\t0x00053410 - 0x0005346c is .gnu.linkonce.t.__tf10bad_typeid\n"
   "\t0x0005346c - 0x00053484 is .gnu.linkonce.t._._16__user_type_info\n"
   "\t0x00053484 - 0x0005350c is .gnu.linkonce.t.__tf16__user_type_info\n"
   "\t0x0005350c - 0x00053524 is .gnu.linkonce.t._._14__si_type_info\n"
   "\t0x00053524 - 0x0005353c is .gnu.linkonce.t._._17__class_type_info\n"
   "\t0x0005353c - 0x00053554 is .gnu.linkonce.t._._19__pointer_type_info\n"
   "\t0x00053554 - 0x000535b0 is .gnu.linkonce.t.__tf19__pointer_type_info\n"
   "\t0x000535b0 - 0x000535c8 is .gnu.linkonce.t._._16__attr_type_info\n"
   "\t0x000535c8 - 0x00053624 is .gnu.linkonce.t.__tf16__attr_type_info\n"
   "\t0x00053624 - 0x0005363c is .gnu.linkonce.t._._19__builtin_type_info\n"
   "\t0x0005363c - 0x00053698 is .gnu.linkonce.t.__tf19__builtin_type_info\n"
   "\t0x00053698 - 0x000536b0 is .gnu.linkonce.t._._16__func_type_info\n"
   "\t0x000536b0 - 0x0005370c is .gnu.linkonce.t.__tf16__func_type_info\n"
   "\t0x0005370c - 0x00053724 is .gnu.linkonce.t._._16__ptmf_type_info\n"
   "\t0x00053724 - 0x00053780 is .gnu.linkonce.t.__tf16__ptmf_type_info\n"
   "\t0x00053780 - 0x00053798 is .gnu.linkonce.t._._16__ptmd_type_info\n"
   "\t0x00053798 - 0x000537f4 is .gnu.linkonce.t.__tf16__ptmd_type_info\n"
   "\t0x000537f4 - 0x0005380c is .gnu.linkonce.t._._17__array_type_info\n"
   "\t0x0005380c - 0x00053868 is .gnu.linkonce.t.__tf17__array_type_info\n"
   "\t0x00053868 - 0x000538a4 is .gnu.linkonce.t._._9bad_alloc\n"
   "\t0x000538a4 - 0x00053900 is .gnu.linkonce.t.__tf9bad_alloc\n"
   "\t0x00053900 - 0x00058223 is .rodata\n"
   "\t0x00068224 - 0x00068424 is .got\n"
   "\t0x00068424 - 0x00068848 is .plt\n"
   "\t0x00068848 - 0x00068930 is .dynamic\n"
   "\t0x00068930 - 0x0006aaf0 is .data\n"
   "\t0x0006aaf0 - 0x0006ab00 is .ctors\n"
   "\t0x0006ab00 - 0x0006ab10 is .dtors\n"
   "\t0x0006ab10 - 0x0006bf68 is .eh_frame\n"
   "\t0x0006bf68 - 0x0006c0d0 is .gcc_except_table\n"
   "\t0x0006c0d0 - 0x0006c0f0 is .gnu.linkonce.d._vt.13bad_exception\n"
   "\t0x0006c0f0 - 0x0006c110 is .gnu.linkonce.d._vt.9exception\n"
   "\t0x0006c110 - 0x0006c130 is .gnu.linkonce.d._vt.17__class_type_info\n"
   "\t0x0006c130 - 0x0006c150 is .gnu.linkonce.d._vt.14__si_type_info\n"
   "\t0x0006c150 - 0x0006c170 is .gnu.linkonce.d._vt.16__user_type_info\n"
   "\t0x0006c170 - 0x0006c190 is .gnu.linkonce.d._vt.10bad_typeid\n"
   "\t0x0006c190 - 0x0006c1b0 is .gnu.linkonce.d._vt.8bad_cast\n"
   "\t0x0006c1b0 - 0x0006c1c8 is .gnu.linkonce.d._vt.9type_info\n"
   "\t0x0006c1c8 - 0x0006c1e0 is .gnu.linkonce.d._vt.17__array_type_info\n"
   "\t0x0006c1e0 - 0x0006c1f8 is .gnu.linkonce.d._vt.16__ptmd_type_info\n"
   "\t0x0006c1f8 - 0x0006c210 is .gnu.linkonce.d._vt.16__ptmf_type_info\n"
   "\t0x0006c210 - 0x0006c228 is .gnu.linkonce.d._vt.16__func_type_info\n"
   "\t0x0006c228 - 0x0006c240 is .gnu.linkonce.d._vt.19__builtin_type_info\n"
   "\t0x0006c240 - 0x0006c258 is .gnu.linkonce.d._vt.16__attr_type_info\n"
   "\t0x0006c258 - 0x0006c270 is .gnu.linkonce.d._vt.19__pointer_type_info\n"
   "\t0x0006c270 - 0x0006c290 is .gnu.linkonce.d._vt.9bad_alloc\n"
   "\t0x0006c290 - 0x000c01f4 is .bss\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /var/tmp/aaad.aaJs\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 \"/home32/sionna/agurbuz/xconns/xconns\".\n"
   "Local exec file:\n"
   "\t`/home32/sionna/agurbuz/xconns/xconns\', file type elf32-sparc.\n"
   "\tEntry point: 0x17838\n"
   "\t0x000100d4 - 0x000100e5 is .interp\n"
   "\t0x000100e8 - 0x00011634 is .hash\n"
   "\t0x00011634 - 0x00014274 is .dynsym\n"
   "\t0x00014274 - 0x00017367 is .dynstr\n"
   "\t0x00017368 - 0x00017418 is .SUNW_version\n"
   "\t0x00017418 - 0x00017424 is .rela.got\n"
   "\t0x00017424 - 0x00017448 is .rela.bss\n"
   "\t0x00017448 - 0x00017838 is .rela.plt\n"
   "\t0x00017838 - 0x00052ff8 is .text\n"
   "\t0x00052ff8 - 0x00053014 is .init\n"
   "\t0x00053014 - 0x00053028 is .fini\n"
   "\t0x00053028 - 0x000530a0 is .gnu.linkonce.t.__t16LinkListOfPtrFor1ZPvUl\n"
   "\t0x000530a0 - 0x000530c4 is .gnu.linkonce.t._._t16LinkListOfPtrFor1ZPv\n"
   "\t0x000530c4 - 0x000530ec is 
.gnu.linkonce.t.pop_front__t16LinkListOfPtrFor1ZPv\n"
   "\t0x000530ec - 0x0005311c is 
.gnu.linkonce.t.push_back__t16LinkListOfPtrFor1ZPvPv\n"
   "\t0x0005311c - 0x00053160 is .gnu.linkonce.t.__tf9exception\n"
   "\t0x00053160 - 0x000531e8 is .gnu.linkonce.t.__tf13bad_exception\n"
   "\t0x000531e8 - 0x000532ac is .gnu.linkonce.t.__tf14__si_type_info\n"
   "\t0x000532ac - 0x00053370 is .gnu.linkonce.t.__tf17__class_type_info\n"
   "\t0x00053370 - 0x000533b4 is .gnu.linkonce.t.__tf9type_info\n"
   "\t0x000533b4 - 0x00053410 is .gnu.linkonce.t.__tf8bad_cast\n"
   "\t0x00053410 - 0x0005346c is .gnu.linkonce.t.__tf10bad_typeid\n"
   "\t0x0005346c - 0x00053484 is .gnu.linkonce.t._._16__user_type_info\n"
   "\t0x00053484 - 0x0005350c is .gnu.linkonce.t.__tf16__user_type_info\n"
   "\t0x0005350c - 0x00053524 is .gnu.linkonce.t._._14__si_type_info\n"
   "\t0x00053524 - 0x0005353c is .gnu.linkonce.t._._17__class_type_info\n"
   "\t0x0005353c - 0x00053554 is .gnu.linkonce.t._._19__pointer_type_info\n"
   "\t0x00053554 - 0x000535b0 is .gnu.linkonce.t.__tf19__pointer_type_info\n"
   "\t0x000535b0 - 0x000535c8 is .gnu.linkonce.t._._16__attr_type_info\n"
   "\t0x000535c8 - 0x00053624 is .gnu.linkonce.t.__tf16__attr_type_info\n"
   "\t0x00053624 - 0x0005363c is .gnu.linkonce.t._._19__builtin_type_info\n"
   "\t0x0005363c - 0x00053698 is .gnu.linkonce.t.__tf19__builtin_type_info\n"
   "\t0x00053698 - 0x000536b0 is .gnu.linkonce.t._._16__func_type_info\n"
   "\t0x000536b0 - 0x0005370c is .gnu.linkonce.t.__tf16__func_type_info\n"
   "\t0x0005370c - 0x00053724 is .gnu.linkonce.t._._16__ptmf_type_info\n"
   "\t0x00053724 - 0x00053780 is .gnu.linkonce.t.__tf16__ptmf_type_info\n"
   "\t0x00053780 - 0x00053798 is .gnu.linkonce.t._._16__ptmd_type_info\n"
   "\t0x00053798 - 0x000537f4 is .gnu.linkonce.t.__tf16__ptmd_type_info\n"
   "\t0x000537f4 - 0x0005380c is .gnu.linkonce.t._._17__array_type_info\n"
   "\t0x0005380c - 0x00053868 is .gnu.linkonce.t.__tf17__array_type_info\n"
   "\t0x00053868 - 0x000538a4 is .gnu.linkonce.t._._9bad_alloc\n"
   "\t0x000538a4 - 0x00053900 is .gnu.linkonce.t.__tf9bad_alloc\n"
   "\t0x00053900 - 0x00058223 is .rodata\n"
   "\t0x00068224 - 0x00068424 is .got\n"
   "\t0x00068424 - 0x00068848 is .plt\n"
   "\t0x00068848 - 0x00068930 is .dynamic\n"
   "\t0x00068930 - 0x0006aaf0 is .data\n"
   "\t0x0006aaf0 - 0x0006ab00 is .ctors\n"
   "\t0x0006ab00 - 0x0006ab10 is .dtors\n"
   "\t0x0006ab10 - 0x0006bf68 is .eh_frame\n"
   "\t0x0006bf68 - 0x0006c0d0 is .gcc_except_table\n"
   "\t0x0006c0d0 - 0x0006c0f0 is .gnu.linkonce.d._vt.13bad_exception\n"
   "\t0x0006c0f0 - 0x0006c110 is .gnu.linkonce.d._vt.9exception\n"
   "\t0x0006c110 - 0x0006c130 is .gnu.linkonce.d._vt.17__class_type_info\n"
   "\t0x0006c130 - 0x0006c150 is .gnu.linkonce.d._vt.14__si_type_info\n"
   "\t0x0006c150 - 0x0006c170 is .gnu.linkonce.d._vt.16__user_type_info\n"
   "\t0x0006c170 - 0x0006c190 is .gnu.linkonce.d._vt.10bad_typeid\n"
   "\t0x0006c190 - 0x0006c1b0 is .gnu.linkonce.d._vt.8bad_cast\n"
   "\t0x0006c1b0 - 0x0006c1c8 is .gnu.linkonce.d._vt.9type_info\n"
   "\t0x0006c1c8 - 0x0006c1e0 is .gnu.linkonce.d._vt.17__array_type_info\n"
   "\t0x0006c1e0 - 0x0006c1f8 is .gnu.linkonce.d._vt.16__ptmd_type_info\n"
   "\t0x0006c1f8 - 0x0006c210 is .gnu.linkonce.d._vt.16__ptmf_type_info\n"
   "\t0x0006c210 - 0x0006c228 is .gnu.linkonce.d._vt.16__func_type_info\n"
   "\t0x0006c228 - 0x0006c240 is .gnu.linkonce.d._vt.19__builtin_type_info\n"
   "\t0x0006c240 - 0x0006c258 is .gnu.linkonce.d._vt.16__attr_type_info\n"
   "\t0x0006c258 - 0x0006c270 is .gnu.linkonce.d._vt.19__pointer_type_info\n"
   "\t0x0006c270 - 0x0006c290 is .gnu.linkonce.d._vt.9bad_alloc\n"
   "\t0x0006c290 - 0x000c01f4 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) "
#  Starting GDB...done.
#  Welcome to DDD 3.3 "Blues by Night" (sparc-sun-solaris2.5.1)
-> "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) "
-> "output deleteOption\n"
<- "No symbol \"deleteOption\" in current context."
<- "\n"
<- "(gdb) "
-> "output randomSeek\n"
<- "No symbol \"randomSeek\" in current context."
<- "\n"
<- "(gdb) "
#  Starting execution window...
+  /bin/sh -c 'tmp=${TMPDIR-/tmp}/ddd$$; export tmp; trap "rm -f $tmp" 0; trap 
'\''exit 1'\'' 1 2 15; xterm -bg '\''grey96'\'' -fg '\''black'\'' -cr 
'\''DarkGreen'\'' -fn 
'\''-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*'\'' -title 
'\''DDD: Execution Window'\'' -e /bin/sh -c '\''echo `tty` $$ $TERM $WINDOWID 
>$tmp; trap "" 2; while true; do sleep 3600; done'\'' >/dev/null </dev/null 
2>&1 & while test ! -s $tmp; do sleep 1; done; cat $tmp'
#  Starting execution window...done.
#  Initializing execution window...
#  Initializing execution window...done.
-> "set environment TERM xterm\n"
<- "(gdb) "
-> "run < /dev/pts/11 >&! /dev/pts/11 -mg7750 127.0.0.1:2427 -scenario 5 -sonet 
-rate 46 -cardtype ds3 \n"
<- "[New LWP    2        ]\n"
<- "[New LWP    3        ]\n"
<- "[New LWP    4        ]\n"
<- "[New LWP    5        ]\n"
<- "[New LWP    6        ]\n"
<- "[New LWP    7        ]\n"
<- "[New LWP    8        ]\n"
<- "[New LWP    9        ]\n"
<- "[New LWP    10        ]\n"
<- "[New LWP    11        ]\n"
<- "[New LWP    12        ]\n"
<- "[New LWP    13        ]\n"
<- "[New LWP    14        ]\n"
<- "[New LWP    15        ]\n"
#  Getting sources...
-> "\003"
#  Cont: waiting until GDB gets ready
<- "\n"
   "Program received signal SIGINT, Interrupt.\n"
   "0xff096f88 in _read () from /usr/lib/libc.so.1\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info sources\n"
<- "Source files for which symbols have been read in:\n"
   "\n"
   "xconns_main.cc, /usr/include/stdio.h, /usr/include/sys/feature_tests.h, 
/usr/include/sys/isa_defs.h, /usr/include/sys/va_list.h, 
/usr/include/stdio_tag.h, /usr/include/stdio_impl.h, /usr/include/stdlib.h, 
/usr/include/ctype.h, /usr/include/strings.h, /usr/include/sys/types.h, 
/usr/include/sys/machtypes.h, /usr/include/sys/int_types.h, 
/usr/include/sys/select.h, /usr/include/sys/time.h, /usr/include/time.h, 
/usr/include/sys/time_impl.h, /usr/include/string.h, /usr/include/synch.h, 
/usr/include/sys/machlock.h, /usr/include/sys/synch.h, /usr/include/pthread.h, 
/usr/include/sched.h, xconns_utils.h, xconns_socket.h, xconns_http.h, 
xconns_mgcp.h, xconns_defs.h, xconns_rate.h, xconns_tid.h, xconns_stats.h, 
xconns_scenario.h, LinkListOfPtrFor.h, LinkListOfPtrBase.h, xconns_scenario0.h, 
xconns_scenario1.h, xconns_scenario2.h, xconns_scenario3.h, xconns_scenario4.h, 
xconns_scenario5.h, xconns_graphic.h\n"
   "\n"
   "Source files for which symbols will be read in on demand:\n"
   "\n"
   "include/exception, include/stddef.h, include/new, ../../gcc/cp/new.cc, 
include/typeinfo, ../../gcc/cp/tinfo.h, ../../gcc/cp/tinfo2.cc, 
../../gcc/cp/tinfo.cc, ../../gcc/cp/new2.cc, ../../gcc/cp/new1.cc, 
/usr/include/sched.h, /usr/include/pthread.h, ../../gcc/gthr-posix.h, 
gthr-default.h, ../../gcc/gthr.h, ../../gcc/frame.h, ../../gcc/dwarf2.h, 
../../gcc/defaults.h, /usr/include/sys/unistd.h, /usr/include/sys/select.h, 
/usr/include/sys/time_impl.h, /usr/include/sys/types.h, /usr/include/time.h, 
/usr/include/sys/time.h, /usr/include/sys/int_types.h, 
/usr/include/sys/machtypes.h, /usr/include/unistd.h, 
/usr/include/sys/isa_defs.h, /usr/include/sys/feature_tests.h, 
/usr/include/stdlib.h, ../../gcc/config/sparc/xm-sol2.h, 
../../gcc/config/dbxelf.h, ../../gcc/config/svr4.h, 
../../gcc/config/sparc/sparc.h, ../../gcc/config/sparc/sysv4.h, 
../../gcc/config/sparc/sol2.h, ../../gcc/config/sparc/sol2-sld.h, tm.h, 
../../gcc/config/sparc/xm-sysv4.h, ../../gcc/config/xm-siglist.h, 
../../gcc/../include/ansidecl.h, ../../gcc/gansidecl.h, tconfig.h, 
../../gcc/frame.c, ../../gcc/eh-common.h, ../../gcc/cp/exception.cc, 
../../gcc/longlong.h, ../../gcc/machmode.def, ../../gcc/machmode.h, 
../../gcc/libgcc2.c, /usr/include/stdio_impl.h, /usr/include/stdio_tag.h, 
/usr/include/sys/va_list.h, /usr/include/stdio.h, LinkListOfPtrBase.h, 
LinkListOfPtrFor.h, xconns_scenario.h, xconns_defs.h, xconns_rate.h, 
xconns_utils.h, xconns_socket.h, xconns_mgcp.h, /usr/include/string.h, 
/usr/include/strings.h, /usr/include/ctype.h, xconns_mgcp.cc, 
LinkListOfPtrBase.cc, xconns_x.cc, xconnsj.txt, xconnsi.txt, xconns_http.h, 
xconns_stats.h, /usr/include/sys/machsig.h, /usr/include/sys/siginfo.h, 
/usr/include/sys/signal.h, /usr/include/thread.h, /usr/include/sys/synch.h, 
/usr/include/synch.h, /usr/include/sys/errno.h, /usr/include/errno.h, 
/usr/include/netdb.h, /usr/include/arpa/inet.h, /usr/include/sys/byteorder.h, 
/usr/include/sys/model.h, /usr/include/sys/strmdep.h, /usr/include/sys/poll.h, 
/usr/include/vm/seg_enum.h, /usr/include/sys/resource.h, 
/usr/include/sys/cred.h, /usr/include/sys/condvar.h, 
/usr/include/sys/semaphore.h, /usr/include/sys/rwlock.h, 
/usr/include/sys/mutex.h, /usr/include/sys/param.h, 
/usr/include/sys/machlock.h, /usr/include/sys/t_lock.h, 
/usr/include/sys/vnode.h, /usr/include/sys/stream.h, 
/tools2/freeware/opt/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/sys/stream.h,
 /usr/include/netinet/in.h, /usr/include/sys/un.h, 
/usr/include/sys/netconfig.h, /usr/include/sys/uio.h, 
/usr/include/sys/socket.h, xconns_http.cc, xconns_graphic.cc, xconns_tid.cc, 
xconns_stats.cc, xconns_rate.cc, xconns_defs.cc, 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/sys/byteorder.h, 
xconns_socket.cc, xconns_utils.cc, xconns_scenario5.cc, xconns_scenario4.cc, 
xconns_scenario3.cc, xconns_scenario2.cc, xconns_scenario1.cc, 
xconns_scenario0.cc, xconns_scenario.cc, xconns_graphic.h, xconns_scenario5.h, 
xconns_scenario4.h, xconns_scenario3.h, xconns_scenario2.h, xconns_scenario1.h, 
xconns_scenario0.h, xconns_tid.h\n"
   "(gdb) "
#  Getting sources...done.
#  Open Source is an idea whose time has finally come.  See 
http://www.opensource.org/.
-> "cont\n"
-> "\003"
#  Cont: waiting until GDB gets ready
<- "\n"
   "Program received signal SIGINT, Interrupt.\n"
   "0xff096f88 in _read () from /usr/lib/libc.so.1\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info files\n"
<- "Symbols from \"/home32/sionna/agurbuz/xconns/xconns\".\n"
   "Solaris threads and pthread.:\n"
   "\tUsing the running image of child Thread 1 (LWP 1) via /proc.\n"
   "\tWhile running this, GDB does not access memory from...\n"
   "Local exec file:\n"
   "\t`/home32/sionna/agurbuz/xconns/xconns\', file type elf32-sparc.\n"
   "\tEntry point: 0x17838\n"
   "\t0x000100d4 - 0x000100e5 is .interp\n"
   "\t0x000100e8 - 0x00011634 is .hash\n"
   "\t0x00011634 - 0x00014274 is .dynsym\n"
   "\t0x00014274 - 0x00017367 is .dynstr\n"
   "\t0x00017368 - 0x00017418 is .SUNW_version\n"
   "\t0x00017418 - 0x00017424 is .rela.got\n"
   "\t0x00017424 - 0x00017448 is .rela.bss\n"
   "\t0x00017448 - 0x00017838 is .rela.plt\n"
   "\t0x00017838 - 0x00052ff8 is .text\n"
   "\t0x00052ff8 - 0x00053014 is .init\n"
   "\t0x00053014 - 0x00053028 is .fini\n"
   "\t0x00053028 - 0x000530a0 is .gnu.linkonce.t.__t16LinkListOfPtrFor1ZPvUl\n"
   "\t0x000530a0 - 0x000530c4 is .gnu.linkonce.t._._t16LinkListOfPtrFor1ZPv\n"
   "\t0x000530c4 - 0x000530ec is 
.gnu.linkonce.t.pop_front__t16LinkListOfPtrFor1ZPv\n"
   "\t0x000530ec - 0x0005311c is 
.gnu.linkonce.t.push_back__t16LinkListOfPtrFor1ZPvPv\n"
   "\t0x0005311c - 0x00053160 is .gnu.linkonce.t.__tf9exception\n"
   "\t0x00053160 - 0x000531e8 is .gnu.linkonce.t.__tf13bad_exception\n"
   "\t0x000531e8 - 0x000532ac is .gnu.linkonce.t.__tf14__si_type_info\n"
   "\t0x000532ac - 0x00053370 is .gnu.linkonce.t.__tf17__class_type_info\n"
   "\t0x00053370 - 0x000533b4 is .gnu.linkonce.t.__tf9type_info\n"
   "\t0x000533b4 - 0x00053410 is .gnu.linkonce.t.__tf8bad_cast\n"
   "\t0x00053410 - 0x0005346c is .gnu.linkonce.t.__tf10bad_typeid\n"
   "\t0x0005346c - 0x00053484 is .gnu.linkonce.t._._16__user_type_info\n"
   "\t0x00053484 - 0x0005350c is .gnu.linkonce.t.__tf16__user_type_info\n"
   "\t0x0005350c - 0x00053524 is .gnu.linkonce.t._._14__si_type_info\n"
   "\t0x00053524 - 0x0005353c is .gnu.linkonce.t._._17__class_type_info\n"
   "\t0x0005353c - 0x00053554 is .gnu.linkonce.t._._19__pointer_type_info\n"
   "\t0x00053554 - 0x000535b0 is .gnu.linkonce.t.__tf19__pointer_type_info\n"
   "\t0x000535b0 - 0x000535c8 is .gnu.linkonce.t._._16__attr_type_info\n"
   "\t0x000535c8 - 0x00053624 is .gnu.linkonce.t.__tf16__attr_type_info\n"
   "\t0x00053624 - 0x0005363c is .gnu.linkonce.t._._19__builtin_type_info\n"
   "\t0x0005363c - 0x00053698 is .gnu.linkonce.t.__tf19__builtin_type_info\n"
   "\t0x00053698 - 0x000536b0 is .gnu.linkonce.t._._16__func_type_info\n"
   "\t0x000536b0 - 0x0005370c is .gnu.linkonce.t.__tf16__func_type_info\n"
   "\t0x0005370c - 0x00053724 is .gnu.linkonce.t._._16__ptmf_type_info\n"
   "\t0x00053724 - 0x00053780 is .gnu.linkonce.t.__tf16__ptmf_type_info\n"
   "\t0x00053780 - 0x00053798 is .gnu.linkonce.t._._16__ptmd_type_info\n"
   "\t0x00053798 - 0x000537f4 is .gnu.linkonce.t.__tf16__ptmd_type_info\n"
   "\t0x000537f4 - 0x0005380c is .gnu.linkonce.t._._17__array_type_info\n"
   "\t0x0005380c - 0x00053868 is .gnu.linkonce.t.__tf17__array_type_info\n"
   "\t0x00053868 - 0x000538a4 is .gnu.linkonce.t._._9bad_alloc\n"
   "\t0x000538a4 - 0x00053900 is .gnu.linkonce.t.__tf9bad_alloc\n"
   "\t0x00053900 - 0x00058223 is .rodata\n"
   "\t0x00068224 - 0x00068424 is .got\n"
   "\t0x00068424 - 0x00068848 is .plt\n"
   "\t0x00068848 - 0x00068930 is .dynamic\n"
   "\t0x00068930 - 0x0006aaf0 is .data\n"
   "\t0x0006aaf0 - 0x0006ab00 is .ctors\n"
   "\t0x0006ab00 - 0x0006ab10 is .dtors\n"
   "\t0x0006ab10 - 0x0006bf68 is .eh_frame\n"
   "\t0x0006bf68 - 0x0006c0d0 is .gcc_except_table\n"
   "\t0x0006c0d0 - 0x0006c0f0 is .gnu.linkonce.d._vt.13bad_exception\n"
   "\t0x0006c0f0 - 0x0006c110 is .gnu.linkonce.d._vt.9exception\n"
   "\t0x0006c110 - 0x0006c130 is .gnu.linkonce.d._vt.17__class_type_info\n"
   "\t0x0006c130 - 0x0006c150 is .gnu.linkonce.d._vt.14__si_type_info\n"
   "\t0x0006c150 - 0x0006c170 is .gnu.linkonce.d._vt.16__user_type_info\n"
   "\t0x0006c170 - 0x0006c190 is .gnu.linkonce.d._vt.10bad_typeid\n"
   "\t0x0006c190 - 0x0006c1b0 is .gnu.linkonce.d._vt.8bad_cast\n"
   "\t0x0006c1b0 - 0x0006c1c8 is .gnu.linkonce.d._vt.9type_info\n"
   "\t0x0006c1c8 - 0x0006c1e0 is .gnu.linkonce.d._vt.17__array_type_info\n"
   "\t0x0006c1e0 - 0x0006c1f8 is .gnu.linkonce.d._vt.16__ptmd_type_info\n"
   "\t0x0006c1f8 - 0x0006c210 is .gnu.linkonce.d._vt.16__ptmf_type_info\n"
   "\t0x0006c210 - 0x0006c228 is .gnu.linkonce.d._vt.16__func_type_info\n"
   "\t0x0006c228 - 0x0006c240 is .gnu.linkonce.d._vt.19__builtin_type_info\n"
   "\t0x0006c240 - 0x0006c258 is .gnu.linkonce.d._vt.16__attr_type_info\n"
   "\t0x0006c258 - 0x0006c270 is .gnu.linkonce.d._vt.19__pointer_type_info\n"
   "\t0x0006c270 - 0x0006c290 is .gnu.linkonce.d._vt.9bad_alloc\n"
   "\t0x0006c290 - 0x000c01f4 is .bss\n"
   "(gdb) "
-> "cont\n"
-> "\003"
#  Cont: waiting until GDB gets ready
<- "\n"
   "Program received signal SIGINT, Interrupt.\n"
   "0xff096f88 in _read () from /usr/lib/libc.so.1\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info program\n"
<- "\tUsing the running image of child Thread 1 (LWP 1) via /proc.\n"
   "Program stopped at 0xff096f88.\n"
   "It stopped with signal SIGINT, Interrupt.\n"
   "Type \"info stack\" or \"info registers\" for more information.\n"
   "(gdb) "
-> "cont\n"
#  Xconns_mgcp.cc
#  Xconns_mgcp.cc
-> "\003"
#  List: waiting until GDB gets ready
#  Cont: waiting until GDB gets ready
<- "\n"
   "Program received signal SIGINT, Interrupt.\n"
   "0xff096f88 in _read () from /usr/lib/libc.so.1\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info line xconns_mgcp.cc:1\n"
<- "Line 1 of \"xconns_mgcp.cc\" is at address 0x492cc <initSonet(void)> but 
contains no code.\n"
<- "\032\032/home32/sionna/agurbuz/xconns/xconns_mgcp.cc:1:0:beg:0x492cc\n"
   "(gdb) "
#  Reading file "/home32/sionna/agurbuz/xconns/xconns_mgcp.cc"...
#  Reading file "/home32/sionna/agurbuz/xconns/xconns_mgcp.cc"...done.
!  Segmentation Fault
-> "\003"
!  Bus Error
+  /bin/sh -c 'gdb -x /var/tmp/baae.aaJs ddd core'
GNU gdb 4.18
Copyright 1998 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 "sparc-sun-solaris2.5.1"...
Core was generated by `ddd xconns'.
Program terminated with signal 10, Bus Error.
Reading symbols from /tools2/freeware/lib/libXm.so.1...done.
Reading symbols from /usr/openwin/lib/libXaw.so.5...done.
Reading symbols from /usr/openwin/lib/libXmu.so.4...done.
Reading symbols from /usr/openwin/lib/libXt.so.4...done.
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /tools2/freeware/lib/libncurses.so.5...done.
Reading symbols from /usr/lib/libelf.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/openwin/lib/libSM.so.6...done.
Reading symbols from /usr/openwin/lib/libICE.so.6...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Reading symbols from 
/usr/lib/locale/en_IE.ISO8859-15/en_IE.ISO8859-15.so.2...done.
Reading symbols from /usr/openwin/lib/locale/common/xlibi18n.so.2...done.
Reading symbols from /usr/openwin/lib/locale/iso8859-15/xomEuro.so.2...done.
Reading symbols from /usr/openwin/lib/locale/common/ximlocal.so.2...done.
#0  0xfee181fc in _libc_kill () from /usr/lib/libc.so.1
#0  0xfee181fc in _libc_kill () from /usr/lib/libc.so.1
#1  0x1549b8 in ddd_dump_core (sig=10) at exit.C:541
#2  0x154830 in ddd_fatal (sig=10) at exit.C:479
#3  <signal handler called>
#4  0xfedc6188 in t_splay () from /usr/lib/libc.so.1
#5  0xfedc5ff8 in t_delete () from /usr/lib/libc.so.1
#6  0xfedc5c2c in realfree () from /usr/lib/libc.so.1
#7  0xfedc57e8 in _malloc_unlocked () from /usr/lib/libc.so.1
#8  0xfedc55ac in malloc () from /usr/lib/libc.so.1
#9  0xff0195d8 in XCreateGC () from /usr/openwin/lib/libX11.so.4
#10 0xff116c14 in XtAllocateGC () from /usr/openwin/lib/libXt.so.4
#11 0xff2d8d88 in CreateSeparatorGC (w=0x7f9f28) at SeparatoG.c:432
#12 0xff2d90d0 in initialize (request=0xffbed9c0, new_w=0x7f9f28, args=0x0, 
num_args=0xffbed8f4) at SeparatoG.c:518
#13 0xff1092d0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#14 0xff105664 in xtCreate () from /usr/openwin/lib/libXt.so.4
#15 0xff10d9d8 in _XtCreateWidget () from /usr/openwin/lib/libXt.so.4
#16 0xff10d708 in XtCreateWidget () from /usr/openwin/lib/libXt.so.4
#17 0xff2d99b0 in XmCreateSeparatorGadget (parent=0x79f680, name=0xff3294c0 
"Separator", arglist=0x0, argcount=0)
    at SeparatoG.c:837
#18 0xff2a7a0c in initialize (request=0x79f680, new_w=0x79f680, args=0x0, 
num_args=0xffbedf94) at MessageB.c:406
#19 0xff1092d0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#20 0xff105664 in xtCreate () from /usr/openwin/lib/libXt.so.4
#21 0xff10d9d8 in _XtCreateWidget () from /usr/openwin/lib/libXt.so.4
#22 0xff10d708 in XtCreateWidget () from /usr/openwin/lib/libXt.so.4
#23 0xff2a9a20 in XmCreateMessageBox (parent=0x7e8d50, name=0x325d10 
"fatal_dialog", arglist=0x4e75b8, argcount=2)
    at MessageB.c:1395
#24 0xff2a9b20 in XmCreateErrorDialog (parent=0x43aac0, name=0x325d10 
"fatal_dialog", arglist=0x7e8d50, argcount=0)
    at MessageB.c:1432
#25 0x15397c in post_fatal (title={rep = 0x7dd078}, cause={rep = 0x7e8cc0}, 
cls={rep = 0x7e8d08}, core_dumped=true)
    at exit.C:286
#26 0x154038 in ddd_show_signal (sig=11) at exit.C:367
#27 0x1865f8 in ddd_main_loop () at mainloop.C:61
#28 0x8e5e4 in main (argc=2, argv=0x43bc60) at ddd.C:2917
#  Closing execution window...
-> "set environment TERM dumb\n"
<- "Quit\n"
   "(gdb) (gdb) "
#  Closing execution window...done.
#  Saving history in "/home32/sionna/agurbuz/.ddd/history"...
#  Saving history in "/home32/sionna/agurbuz/.ddd/history"...done.
#  Thanks for using DDD 3.3!  (We apologize for the inconvenience.)

reply via email to

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