bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.2.91 (i686-pc-linux-gnu) gets `Segmentation fault' signal


From: Steven Woolsey
Subject: DDD 3.2.91 (i686-pc-linux-gnu) gets `Segmentation fault' signal
Date: Tue, 10 Oct 2000 10:44:03 -0600

I was just stepping through a VTK application.  Inside a while loop, I
hit step and DDD crashed with the message in the subject.  This happened
in 3.2.1 also.


The '~/.ddd/log' file is attached.

-- 
-------------------------------------------------------------------
Steven Woolsey                         Engineer/Scientist
Bechtel BWXT Idaho, LLC                Visualization Engineer
Idaho National Engineering Lab.        EMAIL: woolsr@inel.gov
P.O. Box 1625, M.S. 3605
Idaho Falls, ID  83415-3605
-------------------------------------------------------------------

GNU DDD 3.2.91 (i686-pc-linux-gnu)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2000 Universität Passau, Germany.

Compiled with GCC 2.95.3 19991030 (prerelease), GNU libc 2.1
Requires X11R6, Xt11R6, Motif 1.2 (GNU/LessTif Version 1.2 Release 0.89.9)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2000-10-10 by Steven Woolsey <woolsr@inel.gov>.
$  ddd geowell_v02
+  /bin/sh -c 'exec gdb -q -fullname '\''geowell_v02'\'''
#  Hello, world!
#  Opening session "118614a033000097119558500000009170010"...
#  Enabling core dumps...
#  Enabling core dumps...done.
#  Running GDB (pid 11709, tty /dev/pts/5)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/fenrir/woolsr/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/local/share/ddd-3.2.91/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/local/share/ddd-3.2.91/vsllib/ddd.vsl".
#  Creating "/home/fenrir/woolsr/.ddd/themes/"...
#  Creating "/home/fenrir/woolsr/.ddd/themes/"...done.
#  Creating 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/"...
#  Creating 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/"...done.
#  Copying "/home/fenrir/woolsr/.ddd/init" to 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/init"...
#  Copying "/home/fenrir/woolsr/.ddd/init" to 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/init"...done.
#  Copying "/home/fenrir/woolsr/.ddd/history" to 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/history"...
#  Copying "/home/fenrir/woolsr/.ddd/history" to 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/history"...done.
#  Saving session in 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/init"...
#  Saving session in 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/init"...done.
<- "(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"
<- "205\t\tchar \t\thost[255];\n"
   "206\t\tchar\t\t\tuser[255];\n"
   "207\t\tchar\t\t\tpasswd[255];\n"
   "208\t\tint ac;\n"
   "209\t\tArg al[20];\n"
   "210\t\n"
   "211\t\tstrcpy(host, \"mira\");\n"
   "212\t\tstrcpy(user, \"well_viewer\");\n"
   "213\t\tstrcpy(passwd, \"\");\n"
   "214\t\tmysql = LoginToDatabase(host, user, passwd);\n"
<- "(gdb) "
-> "info line\n"
<- "Line 214 of \"geowell_v02.cxx\" starts at address 0x804bade <main+30> and 
ends at 0x804bae1 <main+33>.\n"
   
"\032\032/home/fenrir/woolsr/geowell-vtk/geowell_v02.cxx:214:6118:beg:0x804bade\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 \"i586-mandrake-linux\".\n"
   "(gdb) "
-> "pwd\n"
<- "Working directory /home/fenrir/woolsr/geowell-vtk.\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/fenrir/woolsr/geowell-vtk/.gdb_history\".\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
   "(gdb) "
#  Reading file "/home/fenrir/woolsr/geowell-vtk/geowell_v02.cxx"...
#  Reading file "/home/fenrir/woolsr/geowell-vtk/geowell_v02.cxx"...done.
#  File "/home/fenrir/woolsr/geowell-vtk/geowell_v02.cxx" 2039 lines, 72482 
characters
#  Setting buttons...
#  Setting buttons...done.
-> "info source\n"
<- "Current source file is geowell_v02.cxx\n"
   "Compilation directory is /home/fenrir/woolsr/geowell-vtk/\n"
   "Located in /home/fenrir/woolsr/geowell-vtk/geowell_v02.cxx\n"
   "Contains 2039 lines.\n"
   "Source language is c++.\n"
   "Compiled with stabs debugging format.\n"
   "(gdb) "
-> "info files\n"
<- "Symbols from \"/home/fenrir/woolsr/geowell-vtk/geowell_v02\".\n"
   "Local exec file:\n"
   "\t`/home/fenrir/woolsr/geowell-vtk/geowell_v02\', file type elf32-i386.\n"
   "\tEntry point: 0x804b9f0\n"
   "\t0x080480f4 - 0x08048107 is .interp\n"
   "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
   "\t0x08048128 - 0x08048818 is .hash\n"
   "\t0x08048818 - 0x08049768 is .dynsym\n"
   "\t0x08049768 - 0x0804ab31 is .dynstr\n"
   "\t0x0804ab32 - 0x0804ad1c is .gnu.version\n"
   "\t0x0804ad1c - 0x0804ad3c is .gnu.version_r\n"
   "\t0x0804ad3c - 0x0804afe4 is .rel.got\n"
   "\t0x0804afe4 - 0x0804b324 is .rel.plt\n"
   "\t0x0804b324 - 0x0804b355 is .init\n"
   "\t0x0804b358 - 0x0804b9e8 is .plt\n"
   "\t0x0804b9f0 - 0x08053994 is .text\n"
   "\t0x08053994 - 0x080539b0 is .fini\n"
   "\t0x080539c0 - 0x08067b9d is .rodata\n"
   "\t0x08068ba0 - 0x08073658 is .data\n"
   "\t0x08073658 - 0x08073f04 is .eh_frame\n"
   "\t0x08073f04 - 0x0807498c is .gcc_except_table\n"
   "\t0x0807498c - 0x08074994 is .ctors\n"
   "\t0x08074994 - 0x0807499c is .dtors\n"
   "\t0x0807499c - 0x08074c9c is .got\n"
   "\t0x08074c9c - 0x08074dcc is .dynamic\n"
   "\t0x08074de0 - 0x080bb680 is .bss\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "source /tmp/filehWk7K4\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 \"/home/fenrir/woolsr/geowell-vtk/geowell_v02\".\n"
   "Local exec file:\n"
   "\t`/home/fenrir/woolsr/geowell-vtk/geowell_v02\', file type elf32-i386.\n"
   "\tEntry point: 0x804b9f0\n"
   "\t0x080480f4 - 0x08048107 is .interp\n"
   "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
   "\t0x08048128 - 0x08048818 is .hash\n"
   "\t0x08048818 - 0x08049768 is .dynsym\n"
   "\t0x08049768 - 0x0804ab31 is .dynstr\n"
   "\t0x0804ab32 - 0x0804ad1c is .gnu.version\n"
   "\t0x0804ad1c - 0x0804ad3c is .gnu.version_r\n"
   "\t0x0804ad3c - 0x0804afe4 is .rel.got\n"
   "\t0x0804afe4 - 0x0804b324 is .rel.plt\n"
   "\t0x0804b324 - 0x0804b355 is .init\n"
   "\t0x0804b358 - 0x0804b9e8 is .plt\n"
   "\t0x0804b9f0 - 0x08053994 is .text\n"
   "\t0x08053994 - 0x080539b0 is .fini\n"
   "\t0x080539c0 - 0x08067b9d is .rodata\n"
   "\t0x08068ba0 - 0x08073658 is .data\n"
   "\t0x08073658 - 0x08073f04 is .eh_frame\n"
   "\t0x08073f04 - 0x0807498c is .gcc_except_table\n"
   "\t0x0807498c - 0x08074994 is .ctors\n"
   "\t0x08074994 - 0x0807499c is .dtors\n"
   "\t0x0807499c - 0x08074c9c is .got\n"
   "\t0x08074c9c - 0x08074dcc is .dynamic\n"
   "\t0x08074de0 - 0x080bb680 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 "118614a033000097119558500000009170010"...done.
#  Welcome to DDD 3.2.91 "Da da da" (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) "
-> "output NULL\n"
<- "No symbol \"NULL\" in current context.\n"
   "(gdb) "
-> "info files\n"
<- "Symbols from \"/home/fenrir/woolsr/geowell-vtk/geowell_v02\".\n"
   "Local exec file:\n"
   "\t`/home/fenrir/woolsr/geowell-vtk/geowell_v02\', file type elf32-i386.\n"
   "\tEntry point: 0x804b9f0\n"
   "\t0x080480f4 - 0x08048107 is .interp\n"
   "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
   "\t0x08048128 - 0x08048818 is .hash\n"
   "\t0x08048818 - 0x08049768 is .dynsym\n"
   "\t0x08049768 - 0x0804ab31 is .dynstr\n"
   "\t0x0804ab32 - 0x0804ad1c is .gnu.version\n"
   "\t0x0804ad1c - 0x0804ad3c is .gnu.version_r\n"
   "\t0x0804ad3c - 0x0804afe4 is .rel.got\n"
   "\t0x0804afe4 - 0x0804b324 is .rel.plt\n"
   "\t0x0804b324 - 0x0804b355 is .init\n"
   "\t0x0804b358 - 0x0804b9e8 is .plt\n"
   "\t0x0804b9f0 - 0x08053994 is .text\n"
   "\t0x08053994 - 0x080539b0 is .fini\n"
   "\t0x080539c0 - 0x08067b9d is .rodata\n"
   "\t0x08068ba0 - 0x08073658 is .data\n"
   "\t0x08073658 - 0x08073f04 is .eh_frame\n"
   "\t0x08073f04 - 0x0807498c is .gcc_except_table\n"
   "\t0x0807498c - 0x08074994 is .ctors\n"
   "\t0x08074994 - 0x0807499c is .dtors\n"
   "\t0x0807499c - 0x08074c9c is .got\n"
   "\t0x08074c9c - 0x08074dcc is .dynamic\n"
   "\t0x08074de0 - 0x080bb680 is .bss\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
#  Saving options in "/home/fenrir/woolsr/.ddd/init"...
#  Saving options in "/home/fenrir/woolsr/.ddd/init"...done.
-> "output to\n"
<- "No symbol \"to\" in current context.\n"
   "(gdb) "
-> "break geowell_v02.cxx:1785\n"
<- "Breakpoint 1 at 0x8052770: file geowell_v02.cxx, line 1785.\n"
   "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
   "1   breakpoint     keep y   0x08052770 in MenuCB(_WidgetRec *, void *, void 
*) at geowell_v02.cxx:1785\n"
   "(gdb) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "run\n"
<- "Starting program: /home/fenrir/woolsr/geowell-vtk/geowell_v02 \n"
<- "warning: "
<- "Unable to find dynamic linker breakpoint function.\n"
   "GDB will be unable to debug shared library initializers\n"
   "and track explicitly loaded dynamic code."
<- "\n"
<- "Get\n"
<- "Camera Pos: X:324669 Y:951208 Z:704782\n"
<- "FocalPoint: X:324669 Y:4322.5 Z:704782\n"
<- "Bounding\n"
<- "min: X:188783 Y:3270 Z:569306\n"
<- "max: X:460554 Y:5375 Z:840257\n"
<- "\n"
<- "Breakpoint 1, MenuCB (w=0x81116a8, clientData=0x806577e, 
callData=0xbffff118) at geowell_v02.cxx:1785\n"
<- 
"\032\032/home/fenrir/woolsr/geowell-vtk/geowell_v02.cxx:1785:60083:beg:0x8052770\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x08052770 in MenuCB(_WidgetRec *, void *, void 
*) at geowell_v02.cxx:1785\n"
<- "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
#  Updating displays...
#  Updating displays...done.
-> "step\n"
<- 
"\032\032/home/fenrir/woolsr/geowell-vtk/geowell_v02.cxx:1786:60143:beg:0x805279f\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
   "1   breakpoint     keep y   0x08052770 in MenuCB(_WidgetRec *, void *, void 
*) at geowell_v02.cxx:1785\n"
   "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
-> "step\n"
<- 
"\032\032/home/fenrir/woolsr/geowell-vtk/geowell_v02.cxx:1787:60163:beg:0x80527b0\n"
   "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
   "1   breakpoint     keep y   0x08052770 in MenuCB(_WidgetRec *, void *, void 
*) at geowell_v02.cxx:1785\n"
   "\tbreakpoint already hit 1 time\n"
   "(gdb) "
-> "kill\n"
<- "Kill the program being debugged? (y or n) "
!  Segmentation fault
-> "\003"
!  Segmentation fault
+  /bin/sh -c 'gdb -x /tmp/fileIbCL5o 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 "i586-mandrake-linux"...
Core was generated by `ddd geowell_v02'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXm.so.1...done.
Reading symbols from /usr/X11R6/lib/libXp.so.6...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libXaw.so.6...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/lib/libncurses.so.5...done.
Reading symbols from /usr/lib/libstdc++-libc6.1-2.so.3...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /usr/lib/libgpm.so.1...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
#0  0x20084d4e in ?? ()
#0  0x20084d4e in ?? ()
#1  0x4021b254 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#2  0x401f297c in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#3  0x401f33fc in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#4  0x401f38a6 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#5  0x8188db8 in wait_until_mapped (w=0x8613b28, shell=0x0) at wm.C:133
#6  0x80f3c72 in post_fatal (title={rep = 0xbffff2f4}, cause=0xbffff2f8, 
    cls={rep = 0xbffff2fc}, core_dumped=true) at exit.C:327
#7  0x80f4108 in ddd_show_signal (sig=-11) at exit.C:365
#8  0x811f320 in ddd_main_loop () at mainloop.C:61
#9  0x8055d93 in main (argc=2, argv=0xbffff6d4) at ddd.C:2893
#  Saving history in 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/history"...
#  Saving history in 
"/home/fenrir/woolsr/.ddd/sessions/118614a033000097119558500000009170010/history"...done.
#  Thanks for using DDD 3.2.91!  (We apologize for the inconvenience.)


reply via email to

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