bug-ddd
[Top][All Lists]
Advanced

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

Bug Report


From: Mike Baranski
Subject: Bug Report
Date: Wed, 09 May 2001 07:18:39 -0400

Dear Sirs,

This is a bug report.  Put a breakpoint at the comment in the source
below, and then try to plot the history of a using the plot menu item.
This caused ddd to core dump when I tried it.  If you need more system
info than is in the log file, just let me know.

Mike W. Baranski
MWB.

-- BEGIN CONFIG OUTPUT
GNU DDD 3.2.1 (i386-redhat-linux-gnu)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.
Compiled with GCC 2.96 20000724 (experimental), GNU libc 2.2
Requires X11R6, Xt11R6, Motif 2.1.30 (Motif Version 2.1.30)
Includes DDD core, Manual, App defaults, XPM 3.4.11
Built 2000-07-25 by prospector <prospector@porky.devel.redhat.com>.

-- END CONFIG OUTPUT
******************************************************************************************

-- BEGIN SOURCE FILE

void main(void)
{
    int a;
    int *p;
    a = 5;
    p = &a;
 /* Insert Breakpoint here */
    delete (p);

}

-- END SOURCE FILE
****************************************************************************

-- BEGIN LOG FILE

GNU DDD 3.2.1 (i386-redhat-linux-gnu)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.
Compiled with GCC 2.96 20000724 (experimental), GNU libc 2.2
Requires X11R6, Xt11R6, Motif 2.1.30 (Motif Version 2.1.30)
Includes DDD core, Manual, App defaults, XPM 3.4.11
Built 2000-07-25 by prospector <prospector@porky.devel.redhat.com>.
$  ddd core
+  /bin/sh -c 'exec gdb -q -fullname '\''core'\'''
#  Hello, world!
#  Opening session ".ddd"...
#  Running GDB (pid 1324, tty /dev/pts/2)...
#  Current language: c/c++
#  Another DDD is running (pid 10163, host 127.0.0.1)
<- "\"/home/mike/core\": not in executable format: File truncated\n"
   "(gdb) "
-> "set prompt (gdb) "
#  Saving session in "/home/mike/.ddd/sessions/.ddd/init"...
#  Getting core dump from "core"...
#  Getting core dump from "core"...done.
#  Saving session in "/home/mike/.ddd/sessions/.ddd/init"...done.
<- "(gdb) "
-> "set height 0"
<- "(gdb) "
-> "set width 0"
<- "(gdb) "
-> "set annotate 1"
<- "(gdb) "
-> " set verbose off"
<- "(gdb) "
-> "info line"
<- "No line number information available.\n"
   "(gdb) "
-> "list"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info line"
<- "No line number information available.\n"
   "(gdb) "
-> "output 4711"
<- "4711(gdb) "
-> "show language"
<- "The current source language is \"auto; currently c\".\n"
   "(gdb) "
-> "pwd"
<- "Working directory /home/mike.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "show history filename"
<- "The filename in which to record the command history is
\"/home/mike/.gdb_history\".\n"
   "(gdb) "
-> "show history size"
<- "The size of the command history is 1000.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info sources"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info files"
<- "(gdb) "
-> "info program"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "info line main"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line main_"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN_"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line main__"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN__"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line _main"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line _MAIN"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line __main"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source"
<- "No current source file.\n"
   "(gdb) "
-> "info line __MAIN"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "set confirm off"
<- "(gdb) "
-> "source /tmp/file5IcSf8"
<- "/tmp/file5IcSf8:1: Error in sourced command file:\n"
   "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "# reset"
<- "(gdb) "
-> "info breakpoints"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "display"
<- "(gdb) "
-> "info display"
<- "There are no auto-display expressions now.\n"
   "(gdb) "
-> "set environment TERM dumb"
<- "(gdb) "
-> "info files"
<- "(gdb) "
-> "info program"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "help detach"
<- "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"
<- "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"
<- "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"
<- "Step one instruction exactly.\n"
   "Argument N means do this N times (or till program stops for another
reason).\n"
   "(gdb) "
-> "help next"
<- "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) "
#  Opening session ".ddd"...done.
#  Welcome to DDD 3.2.1 "Liftoff" (i386-redhat-linux-gnu)
#  Current session is "11c0a8010a000098940597100000008490006".
-> "help nexti"
<- "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"
<- "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"
<- "Execute until selected stack frame returns.\n"
   "Upon return, the value returned is printed and put in the value
history.\n"
   "(gdb) "
-> "help cont"
<- "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"
<- "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"
<- "Kill execution of program being debugged.\n"
   "(gdb) "
-> "help up"
<- "Select and print stack frame that called this one.\n"
   "An argument says how many frames up to go.\n"
   "(gdb) "
-> "help down"
<- "Select and print stack frame called by this one.\n"
   "An argument says how many frames down to go.\n"
   "(gdb) "
#  Invoking WWW browser for "http://www.gnu.org/software/ddd/";...
+  /bin/sh -c 'mozilla -remote
'\''openURL(http://www.gnu.org/software/ddd/)'\'' || netscape -remote
'\''openURL(http://www.gnu.org/software/ddd/)'\'' || ${WWWBROWSER-false}
'\''http://www.gnu.org/software/ddd/'\'' || mozilla
'\''http://www.gnu.org/software/ddd/'\'' || gnome-help-browser
'\''http://www.gnu.org/software/ddd/'\'' || netscape
'\''http://www.gnu.org/software/ddd/'\'' || gnudoit '\''(w3-fetch
"http://www.gnu.org/software/ddd/";)'\'' || mosaic
'\''http://www.gnu.org/software/ddd/'\'' || Mosaic
'\''http://www.gnu.org/software/ddd/'\'' || xterm -e lynx
'\''http://www.gnu.org/software/ddd/'\'' &'
#  Invoking WWW browser for "http://www.gnu.org/software/ddd/"...done.

--END LOG FILE





reply via email to

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