bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.2.1 (i386-unknown-openbsd2.8) gets `Segmentation fault' signal


From: dolemite
Subject: DDD 3.2.1 (i386-unknown-openbsd2.8) gets `Segmentation fault' signal
Date: Tue, 19 Dec 2000 13:28:09 -0500

All I did was startup ddd with this file. I will submit the source and
the binary. I compile the binary with g++ -Wall -pedantic -O2 -g3
main.cpp. I have attached all of the source and the ddd.core file along
with some files to test the binary with in a tar bzip2.



This is the ddd log.

//begin ddd
GNU DDD 3.2.1
(i386-unknown-openbsd2.8)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.
Compiled with GCC 2.95.3 19991030 (prerelease), libstdc++ 2.9.0
Requires X11R6, Xt11R6, Motif 1.2 (GNU/LessTif Version 1.2 Release
0.91.8)
Includes DDD core, Manual, App defaults, XPM 3.4.11, Athena Panner
Built 2000-12-18 by .
$  ddd a.out
+  /bin/sh -c 'exec gdb -q -fullname '\''a.out'\'''
#  Hello, world!
#  Starting GDB...
#  Running GDB (pid 13220, tty /dev/ttyp3)...
#  Current language: c/c++
<- "(gdb) "
-> "set prompt (gdb) "
<- "(gdb) "
-> "set height 0"
<- "(gdb) "
-> "set width 0"
<- "(gdb) "
-> "set annotate 1"
<- "(gdb) "
-> " set verbose off"
<- "(gdb) "
-> "info line"
<- "No line number information available."
<- "(gdb) "
-> "list"
<- "31\t\tdifft.tv_sec = t2.tv_sec - t1.tv_sec;"
<- "32\t\treturn difft;"
<- "33\t}"
<- "34\tifstream in(\"datafile\");"
<- "35\tifstream testarray(\"testtargets\");"
<- "36\tifstream que(\"queries\");"
<- "37\tstruct timeval t1,t2;"
<- "38\tstruct timezone tz;"
<- "39\tint main()"
<- "40\t{"
<- "(gdb) "
beg:0x1ac8".""
<- "(gdb)
"2/home/dolemite/school/c++class/takehomequiz3/happy3/main.cpp:40:812:
-> "output 4711"
<- "4711(gdb) "
-> "show language"
<- "The current source language is \"auto; currently c++\"."
<- "(gdb) "
-> "pwd"
<- "Working directory
/home/dolemite/school/c++class/takehomequiz3/happy3."
<- "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints."
<- "(gdb) "
ol/c++class/takehomequiz3/happy3/.gdb_history\"."
<- "(gdb) "ename in which to record the command history is
\"/home/dolemite/scho
-> "show history size"
<- "The size of the command history is 50000."
, 9988 characters
#  Setting buttons...te/school/c++class/takehomequiz3/happy3/main.cpp"
349 lines
#  Setting buttons...done.
-> "info source"
/" "Current source file is main.cpp"
<- "Located in
/home/dolemite/school/c++class/takehomequiz3/happy3/main.cpp"ppy3
<- "Contains 349 lines."
<- "Source language is c++."
<- "(gdb) "
-> "info files"
<- "Symbols from
\"/home/dolemite/school/c++class/takehomequiz3/happy3/a.out\"."
<- "Local exec file:"
<- "\t`/home/dolemite/school/c++class/takehomequiz3/happy3/a.out\', file
type a.
<- "\t0x00001000 - 0x00012000 is .text"
<- "\t0x00012000 - 0x00017000 is .data"
<- "(gdb) "
-> "info program"
<- "The program being debugged is not being run."
<- "(gdb) "
-> "source /tmp/ddd.DFHvX18171"
<- "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints."
<- "(gdb) "
-> "# reset"
<- "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints."
<- "(gdb) "
-> "display"
<- "(gdb) "
-> "info display"
<- "There are no auto-display expressions now."
<- "(gdb) "
-> "set environment TERM dumb"
<- "(gdb) "
-> "info files"
<- "Symbols from
\"/home/dolemite/school/c++class/takehomequiz3/happy3/a.out\"."
out-i386-netbsd."le:"
<- "\tEntry point: 0x1020"ol/c++class/takehomequiz3/happy3/a.out\', file
type a.
<- "\t0x00001000 - 0x00012000 is .text"
<- "\t0x00012000 - 0x00017000 is .data"
<- "(gdb) "
-> "info program"
<- "The program being debugged is not being run."
<- "(gdb) "
!  Segmentation fault
#  Saving history in "/home/dolemite/.ddd/history"...
#  Saving history in "/home/dolemite/.ddd/history"...done.
#  Thanks for using DDD 3.2.1!  (We apologize for the inconvenience.)
//end log

Alex Newman

Attachment: happy3.tar.bz2
Description: Binary data


reply via email to

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