bug-ddd
[Top][All Lists]
Advanced

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

Bug report


From: Egil Brendsdal
Subject: Bug report
Date: Wed, 19 Dec 2001 18:07:50 +0100 (CET)

Severe problems when making plots from ddd.
===========================================

I've run into problems when invoking gnuplot from ddd,
and I think the problem is not related to any external programs.

Best regards,
  Egil Brendsdal.


Description:
============

The following plotting sequence terminates ddd with core dump
and binary data written to screen.

  First plot (successful):   Plotting data array reported by gdb as '{"value" 
<repeats "N" times>}'
  Subsequent plot (failure): Plotting the same array, but the elements have now 
non-repeated pattern.

ddd --check-configuration
=========================

  Checking for X11 library directory... /usr/X11R6/lib/X11
  Checking for XKeysymDB... /usr/X11R6/lib/X11/XKeysymDB
  No configuration problems found.


ddd --configuration
===================

  GNU DDD 3.3 (i386-portbld-freebsd4.4)
  Copyright (C) 1995-1999 Technische Universitt Braunschweig, Germany.
  Copyright (C) 1999-2001 Universitt Passau, Germany.

  Compiled with GCC 2.95.3 20010315 (release) [FreeBSD], libstdc++ 3.0.0
  Requires X11R6, Xt11R6, Motif 2.1.30 (Motif Version 2.1.30)
  Includes XPM 3.4.11, Athena Panner, DDD core
  Built 2001-10-26 by Charlie  <root@malurt.ife.no>.

gdb -v
======

  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 "i386-unknown-freebsd".


Source code ("try_ddd.C" in the logfile below).
===============================================

   1        
   2        main()
   3        {
   4        
   5          double d[] = { 0, 0, 0 };
   6        
   7          for ( unsigned i=0; i<10; ++i )
   8          {
   9            d[1] += 1;
  10          }
  11        
  12        }

Gnuplot version (etc)
=====================

        G N U P L O T
        Unix version 3.7
        patchlevel 1
        last modified Fri Oct 22 18:00:00 BST 1999

        Copyright(C) 1986 - 1993, 1998, 1999
        Thomas Williams, Colin Kelley and many others

        Type `help` to access the on-line reference manual
        The gnuplot FAQ is available from
        <http://www.ucc.ie/gnuplot/gnuplot-faq.html>

        Send comments and requests for help to <info-gnuplot@dartmouth.edu>
        Send bugs, suggestions and mods to <bug-gnuplot@dartmouth.edu>


Log file
========

GNU DDD 3.3 (i386-portbld-freebsd4.4)
Copyright (C) 1995-1999 Technische Universitt Braunschweig, Germany.
Copyright (C) 1999-2001 Universitt Passau, Germany.

Compiled with GCC 2.95.3 20010315 (release) [FreeBSD], libstdc++ 3.0.0
Requires X11R6, Xt11R6, Motif 2.1.30 (Motif Version 2.1.30)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2001-10-26 by Charlie  <root@malurt.ife.no>.
$  /usr/local/bin/ddd --trace try_ddd
+  /bin/sh -c 'exec gdb -q -fullname '\''try_ddd'\'''
#  Hello, world!
#  Starting GDB...
#  Warning: core dumps are disabled
#  Running GDB (pid 85740, tty /dev/ttyp7)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/egilb/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/local/share/ddd-3.3/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/local/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"
<- "1\t\n"
<- "2\tmain()\n"
<- "3\t{\n"
<- "4\t\n"
<- "5\t  double d[] = { 0, 0, 0 };\n"
<- "6\t\n"
<- "7\t  for ( unsigned i=0; i<10; ++i )\n"
<- "8\t  {\n"
<- "9\t    d[1] += 1;\n"
<- "10\t  }\n"
<- "(gdb) "
-> "info line\n"
<- "Line 10 of \"try_ddd.C\" starts at address 0x80484d6 <main+46> and ends at 
0x80484e0 <main+56>.\n"
<- "\032\032/home/egilb/tmp/try_ddd.C:10:93:beg:0x80484d6\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 \"i386-unknown-freebsd\".\n"
<- "(gdb) "
-> "pwd\n"
<- "Working directory /fs/rele7/m/egilb/tmp.\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 
\"/fs/rele7/m/egilb/tmp/.gdb_history\".\n"
<- "(gdb) "
-> "show history size\n"
<- "The size of the command history is 256.\n"
<- "(gdb) "
#  Reading file "/home/egilb/tmp/try_ddd.C"...
#  Reading file "/home/egilb/tmp/try_ddd.C"...done.
#  File "/home/egilb/tmp/try_ddd.C" 12 lines, 116 characters
-> "info source\n"
<- "Current source file is try_ddd.C\n"
<- "Compilation directory is /home/egilb/tmp/\n"
<- "Located in /home/egilb/tmp/try_ddd.C\n"
<- "Contains 12 lines.\n"
<- "Source language is c++.\n"
<- "Compiled with stabs debugging format.\n"
<- "(gdb) "
-> "info files\n"
<- "Symbols from \"/fs/rele7/m/egilb/tmp/try_ddd\".\n"
<- "Local exec file:\n"
<- "\t`/fs/rele7/m/egilb/tmp/try_ddd\', file type elf32-i386.\n"
<- "\tEntry point: 0x804839c\n"
<- "\t0x080480f4 - 0x0804810d is .interp\n"
<- "\t0x08048110 - 0x08048128 is .note.ABI-tag\n"
<- "\t0x08048128 - 0x08048178 is .hash\n"
<- "\t0x08048178 - 0x08048268 is .dynsym\n"
<- "\t0x08048268 - 0x08048320 is .dynstr\n"
<- "\t0x08048320 - 0x08048340 is .rel.plt\n"
<- "\t0x08048340 - 0x0804834b is .init\n"
<- "\t0x0804834c - 0x0804839c is .plt\n"
<- "\t0x0804839c - 0x08048518 is .text\n"
<- "\t0x08048518 - 0x0804851e is .fini\n"
<- "\t0x0804851e - 0x0804851f is .rodata\n"
<- "\t0x08049520 - 0x0804952c is .data\n"
<- "\t0x0804952c - 0x08049530 is .eh_frame\n"
<- "\t0x08049530 - 0x08049538 is .ctors\n"
<- "\t0x08049538 - 0x08049540 is .dtors\n"
<- "\t0x08049540 - 0x0804955c is .got\n"
<- "\t0x0804955c - 0x080495dc is .dynamic\n"
<- "\t0x080495dc - 0x080495f8 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/tmp.0.I57wSW\n"
<- "Byte order is not selectable.The target endianness is set automatically 
(currently little endian)\n"
<- "/var/tmp/tmp.0.I57wSW:36: Error in sourced command file:\n"
<- "Ambiguous item \"parent\".\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 \"/fs/rele7/m/egilb/tmp/try_ddd\".\n"
<- "Local exec file:\n"
<- "\t`/fs/rele7/m/egilb/tmp/try_ddd\', file type elf32-i386.\n"
<- "\tEntry point: 0x804839c\n"
<- "\t0x080480f4 - 0x0804810d is .interp\n"
<- "\t0x08048110 - 0x08048128 is .note.ABI-tag\n"
<- "\t0x08048128 - 0x08048178 is .hash\n"
<- "\t0x08048178 - 0x08048268 is .dynsym\n"
<- "\t0x08048268 - 0x08048320 is .dynstr\n"
<- "\t0x08048320 - 0x08048340 is .rel.plt\n"
<- "\t0x08048340 - 0x0804834b is .init\n"
<- "\t0x0804834c - 0x0804839c is .plt\n"
<- "\t0x0804839c - 0x08048518 is .text\n"
<- "\t0x08048518 - 0x0804851e is .fini\n"
<- "\t0x0804851e - 0x0804851f is .rodata\n"
<- "\t0x08049520 - 0x0804952c is .data\n"
<- "\t0x0804952c - 0x08049530 is .eh_frame\n"
<- "\t0x08049530 - 0x08049538 is .ctors\n"
<- "\t0x08049538 - 0x08049540 is .dtors\n"
<- "\t0x08049540 - 0x0804955c is .got\n"
<- "\t0x0804955c - 0x080495dc is .dynamic\n"
<- "\t0x080495dc - 0x080495f8 is .bss\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
<- "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "set editing on\n"
<- "(gdb) "
-> "set history expansion off\n"
<- "(gdb) "
-> "set history save off\n"
<- "(gdb) "
-> "set opaque-type-resolution on\n"
<- "(gdb) "
-> "set overload-resolution on\n"
<- "(gdb) "
-> "set pagination on\n"
<- "(gdb) "
-> "set print address on\n"
<- "(gdb) "
-> "set print array off\n"
<- "(gdb) "
-> "set print asm-demangle on\n"
<- "(gdb) "
-> "set print demangle on\n"
<- "(gdb) "
-> "set print null-stop off\n"
<- "(gdb) "
-> "set print object off\n"
<- "(gdb) "
-> "set print pretty off\n"
<- "(gdb) "
-> "set print sevenbit-strings off\n"
<- "(gdb) "
-> "set print static-members on\n"
<- "(gdb) "
-> "set print symbol-filename off\n"
<- "(gdb) "
-> "set print union on\n"
<- "(gdb) "
-> "set print vtbl off\n"
<- "(gdb) "
-> "set remotebinarydownload on\n"
<- "(gdb) "
-> "set remotecache off\n"
<- "(gdb) "
-> "set symbol-reloading off\n"
<- "(gdb) "
-> "set verbose off\n"
<- "(gdb) "
-> "set write off\n"
<- "(gdb) "
-> "set archdebug 0\n"
<- "(gdb) "
-> "set auto-solib-add 1\n"
<- "(gdb) "
-> "set can-use-hw-watchpoints 1\n"
<- "(gdb) "
-> "set expressiondebug 0\n"
<- "(gdb) "
-> "set remotedebug 0\n"
<- "(gdb) "
-> "set stop-on-solib-events 0\n"
<- "(gdb) "
-> "set architecture auto\n"
<- "(gdb) "
-> "set endian auto\n"
<- "Byte order is not selectable.The target endianness is set automatically 
(currently little endian)\n"
<- "(gdb) "
-> "set demangle-style gnu\n"
<- "(gdb) "
-> "set language auto\n"
<- "(gdb) "
-> "set disassembly-flavor att\n"
<- "(gdb) "
-> "set follow-fork-mode parent\n"
<- "Ambiguous item \"parent\".\n"
<- "(gdb) "
-> "set check range auto\n"
<- "(gdb) "
-> "set check type auto\n"
<- "(gdb) "
-> "set annotate 1\n"
<- "(gdb) "
-> "set complaints 0\n"
<- "(gdb) "
-> "set gnutarget auto\n"
<- "(gdb) "
-> "set height 0\n"
<- "(gdb) "
-> "set history filename 
/fs/rele7/m/egilb/IFE_prosjekter/Quercus/Data_Reduction/.gdb_history\n"
<- "(gdb) "
-> "set history size 0d256\n"
<- "(gdb) "
-> "set input-radix 0d10\n"
<- "(gdb) "
-> "set listsize 0d10\n"
<- "(gdb) "
-> "set output-radix 0d10\n"
<- "(gdb) "
-> "set print elements 0d200\n"
<- "(gdb) "
-> "set print max-symbolic-offset 0\n"
<- "(gdb) "
-> "set print repeats 0\n"
<- "(gdb) "
-> "set prompt (gdb) \n"
<- "(gdb) "
-> "set remoteaddresssize 0d32\n"
<- "(gdb) "
-> "set remotebaud 0d4294967295\n"
<- "(gdb) "
-> "set remotebreak 0\n"
<- "(gdb) "
-> "set remotechat 0\n"
<- "(gdb) "
-> "set remotelogbase ascii\n"
<- "(gdb) "
-> "set remotetimeout 1\n"
<- "(gdb) "
-> "set remotewritesize 0d400\n"
<- "(gdb) "
-> "set solib-search-path \n"
<- "(gdb) "
-> "set watchdog 0\n"
<- "(gdb) "
-> "set width 0\n"
<- "(gdb) "
#  Starting GDB...done.
#  Welcome to DDD 3.3 "Blues by Night" (i386-portbld-freebsd4.4)
-> "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) "
-> "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 double\n"
<- "Attempt to use a type name as an expression\n"
<- "(gdb) "
-> "help shell\n"
<- "Execute the rest of the line as a shell command.  \n"
<- "With no arguments, run an inferior shell.\n"
<- "(gdb) "
-> "help quit\n"
<- "Exit gdb.\n"
<- "(gdb) "
#  Retrieving GDB Settings...
#  Retrieving GDB Settings...
-> "help set\n"
<- "Evaluate expression EXP and assign result to variable VAR, using 
assignment\n"
<- "syntax appropriate for the current language (VAR = EXP or VAR := EXP for\n"
<- "example).  VAR may be a debugger \"convenience\" variable (names starting\n"
<- "with $), a register (a few standard names starting with $), or an actual\n"
<- "variable in the program being debugged.  EXP is any valid expression.\n"
<- "Use \"set variable\" for variables with names identical to set 
subcommands.\n"
<- "\n"
<- "With a subcommand, this command modifies parts of the gdb environment.\n"
<- "You can see these environment settings with the \"show\" command.\n"
<- "\n"
<- "List of set subcommands:\n"
<- "\n"
<- "set annotate -- Set annotation_level\n"
<- "set archdebug -- Set architecture debugging\n"
<- "set architecture -- Set architecture of target\n"
<- "set args -- Set argument list to give program being debugged when it is 
started\n"
<- "set auto-solib-add -- Set autoloading of shared library symbols\n"
<- "set can-use-hw-watchpoints -- Set debugger\'s willingness to use watchpoint 
hardware\n"
<- "set check -- Set the status of the type/range checker\n"
<- "set complaints -- Set max number of complaints about incorrect symbols\n"
<- "set confirm -- Set whether to confirm potentially dangerous operations\n"
<- "set demangle-style -- Set the current C++ demangling style\n"
<- "set disassembly-flavor -- Set the disassembly flavor\n"
<- "set editing -- Set editing of command lines as they are typed\n"
<- "set endian -- Set endianness of target\n"
<- "set environment -- Set environment variable value to give the program\n"
<- "set expressiondebug -- Set expression debugging\n"
<- "set extension-language -- Set mapping between filename extension and source 
language\n"
<- "set follow-fork-mode -- Set debugger response to a program call of fork or 
vfork\n"
<- "set gnutarget -- Set the current BFD target\n"
<- "set height -- Set number of lines gdb thinks are in a page\n"
<- "set history -- Generic command for setting command history parameters\n"
<- "set input-radix -- Set default input radix for entering numbers\n"
<- "set language -- Set the current source language\n"
<- "set listsize -- Set number of source lines gdb will list by default\n"
<- "set opaque-type-resolution -- Set resolution of opaque struct/class/union 
types (if set before loading symbols)\n"
<- "set output-radix -- Set default output radix for printing of values\n"
<- "set overload-resolution -- Set overload resolution in evaluating C++ 
functions\n"
<- "set pagination -- Set state of pagination\n"
<- "set print -- Generic command for setting how things print\n"
<- "set prompt -- Set gdb\'s prompt\n"
<- "set radix -- Set default input and output number radices\n"
<- "set remoteaddresssize -- Set the maximum size of the address (in bits) in a 
memory packet\n"
<- "set remotebaud -- Set baud rate for remote serial I/O\n"
<- "set remotebinarydownload -- Set binary downloads\n"
<- "set remotebreak -- Set whether to send break if interrupted\n"
<- "set remotecache -- Set cache use for remote targets\n"
<- "set remotechat -- Set remote port interacts with target\n"
<- "set remotedebug -- Set debugging of remote protocol\n"
<- "set remotedevice -- Set device for remote serial I/O\n"
<- "set remotelogbase -- Set numerical base for remote session logging\n"
<- "set remotelogfile -- Set filename for remote session recording\n"
<- "set remotetimeout -- Set timeout limit to wait for target to respond\n"
<- "set remotewritesize -- Set the maximum number of bytes per memory write 
packet\n"
<- "set scheduler-locking -- Set mode for locking scheduler during execution\n"
<- "set solib-absolute-prefix -- Set prefix for loading absolute shared library 
symbol files\n"
<- "set solib-search-path -- Set the search path for loading non-absolute 
shared library symbol files\n"
<- "set stop-on-solib-events -- Set stopping for shared library events\n"
<- "set symbol-reloading -- Set dynamic symbol table reloading multiple times 
in one run\n"
<- "set targetdebug -- Set target debugging\n"
<- "set variable -- Evaluate expression EXP and assign result to variable VAR\n"
<- "set verbose -- Set verbosity\n"
<- "set watchdog -- Set watchdog timer\n"
<- "set width -- Set number of characters gdb thinks are in a line\n"
<- "set write -- Set writing into executable and core files\n"
<- "\n"
<- "Type \"help set\" followed by set subcommand name for full documentation.\n"
<- "Command name abbreviations are allowed if unambiguous.\n"
<- "(gdb) "
-> "show annotate\n"
<- "Annotation_level is 1.\n"
<- "(gdb) "
-> "show archdebug\n"
<- "Architecture debugging is 0.\n"
<- "(gdb) "
-> "show architecture\n"
<- "The target architecture is set automatically (currently i386)\n"
<- "(gdb) "
-> "show auto-solib-add\n"
<- "Autoloading of shared library symbols is 1.\n"
<- "(gdb) "
-> "show can-use-hw-watchpoints\n"
<- "Debugger\'s willingness to use watchpoint hardware is 1.\n"
<- "(gdb) "
-> "show check\n"
<- "range:  Range checking is \"auto; currently off\".\n"
<- "type:  Type checking is \"auto; currently off\".\n"
<- "(gdb) "
-> "help set check\n"
<- "Set the status of the type/range checker\n"
<- "\n"
<- "List of set check subcommands:\n"
<- "\n"
<- "set check range -- Set range checking\n"
<- "set check type -- Set type checking\n"
<- "\n"
<- "Type \"help set check\" followed by set check subcommand name for full 
documentation.\n"
<- "Command name abbreviations are allowed if unambiguous.\n"
<- "(gdb) "
-> "show check range\n"
<- "Range checking is \"auto; currently off\".\n"
<- "(gdb) "
-> "show check type\n"
<- "Type checking is \"auto; currently off\".\n"
<- "(gdb) "
-> "show complaints\n"
<- "Max number of complaints about incorrect symbols is 0.\n"
<- "(gdb) "
-> "show confirm\n"
<- "Whether to confirm potentially dangerous operations is off.\n"
<- "(gdb) "
-> "show demangle-style\n"
<- "The current C++ demangling style is \"gnu\".\n"
<- "(gdb) "
-> "show disassembly-flavor\n"
<- "The disassembly flavor is \"att\".\n"
<- "(gdb) "
-> "show editing\n"
<- "Editing of command lines as they are typed is on.\n"
<- "(gdb) "
-> "show endian\n"
<- "The target endianness is set automatically (currently little endian)\n"
<- "(gdb) "
-> "show environment\n"
<- "GNUSODIR=.:/home/egilb/gnuplot/objects\n"
<- 
"TEXINPUTS=.:/home/egilb/texinclude//:/home/egilb/.texmf/FreeBSD/tex//:/home/egilb/Dr_Ing/LaTex/include\n"
<- "USER=egilb\n"
<- "MACHTYPE=i386\n"
<- "MAIL=/var/mail/egilb\n"
<- "GNUDATADIR=.\n"
<- "VENDOR=intel\n"
<- "SHLVL=1\n"
<- "GNUCALLDIR=.:/home/egilb/gnuplot/call_files\n"
<- "DDD=ddd-3.3-i386-portbld-freebsd4.4\n"
<- "HOME=/home/egilb\n"
<- "XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB\n"
<- "GNULOADDIR=.:/home/egilb/gnuplot/load_files:/home/egilb/gnuplot/debug\n"
<- "PAGER=cat\n"
<- "GROUP=rele\n"
<- "GNUTMP=/home/egilb/gnuplot/tmp\n"
<- "TMPDIR=/tmp\n"
<- "LOGNAME=egilb\n"
<- "TEXMF=/home/egilb/.texmf/FreeBSD\n"
<- "WINDOWID=20971534\n"
<- "TERM=dumb\n"
<- "BLOCKSIZE=K\n"
<- 
"PATH=/usr/local/bin:/home/egilb/bin/Laden/malurt.ife.no:/home/egilb/bin/FreeBSD/4.X-RELEASE:/home/egilb/bin/FreeBSD/generic:/home/egilb/local/FreeBSD/bin:/home/egilb/bin/generic:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/egilb/bin:.:/usr/local/bin/X11:/usr/bin/X11:/home/egilb/bin/remote\n"
<- "DISPLAY=malurt:0.0\n"
<- "REMOTEHOST=malurt.ife.no\n"
<- "SHELL=/bin/csh\n"
<- "HOST=malurt.ife.no\n"
<- "GNUBIN=/home/egilb/gnuplot/bin\n"
<- "XAPPLRESDIR=/home/egilb/.XAPPLRESDIR.dyson/\n"
<- "OSTYPE=FreeBSD\n"
<- "PWD=/home/egilb/tmp\n"
<- "CVSROOT=:pserver:egilb@128.39.86.87:/home/theback/cvsroot\n"
<- "TERMCAP=\n"
<- "FTP_PASSIVE_MODE=YES\n"
<- "HOSTTYPE=FreeBSD\n"
<- 
"MANPATH=/usr/man:/usr/local/man:/usr/share/man:/usr/local/blt/man/mann:/usr/X386/man:/usr/X11R6/man:/usr/local/interviews/man\n"
<- "EDITOR=/usr/bin/vi\n"
<- "OBJFORMAT=elf\n"
<- "(gdb) "
-> "help set environment\n"
<- "Set environment variable value to give the program.\n"
<- "Arguments are VAR VALUE where VAR is variable name and VALUE is value.\n"
<- "VALUES of environment variables are uninterpreted strings.\n"
<- "This does not affect the program until the next \"run\" command.\n"
<- "(gdb) "
-> "show expressiondebug\n"
<- "Expression debugging is 0.\n"
<- "(gdb) "
-> "show follow-fork-mode\n"
<- "Debugger response to a program call of fork or vfork is \"parent\".\n"
<- "(gdb) "
-> "show gnutarget\n"
<- "The current BFD target is \"auto\".\n"
<- "(gdb) "
-> "show height\n"
<- "Number of lines gdb thinks are in a page is unlimited.\n"
<- "(gdb) "
-> "help set history\n"
<- "Generic command for setting command history parameters.\n"
<- "\n"
<- "List of set history subcommands:\n"
<- "\n"
<- "set history expansion -- Set history expansion on command input\n"
<- "set history filename -- Set the filename in which to record the command 
history\n"
<- "set history save -- Set saving of the history record on exit\n"
<- "set history size -- Set the size of the command history\n"
<- "\n"
<- "Type \"help set history\" followed by set history subcommand name for full 
documentation.\n"
<- "Command name abbreviations are allowed if unambiguous.\n"
<- "(gdb) "
-> "show history expansion\n"
<- "History expansion on command input is off.\n"
<- "(gdb) "
-> "show history filename\n"
<- "The filename in which to record the command history is 
\"/fs/rele7/m/egilb/IFE_prosjekter/Quercus/Data_Reduction/.gdb_history\".\n"
<- "(gdb) "
-> "show history save\n"
<- "Saving of the history record on exit is off.\n"
<- "(gdb) "
-> "show history size\n"
<- "The size of the command history is 256.\n"
<- "(gdb) "
-> "show input-radix\n"
<- "Default input radix for entering numbers is 10.\n"
<- "(gdb) "
-> "show language\n"
<- "The current source language is \"auto\".\n"
<- "(gdb) "
-> "show listsize\n"
<- "Number of source lines gdb will list by default is 10.\n"
<- "(gdb) "
-> "show opaque-type-resolution\n"
<- "Resolution of opaque struct/class/union types (if set before loading 
symbols) is on.\n"
<- "(gdb) "
-> "show output-radix\n"
<- "Default output radix for printing of values is 10.\n"
<- "(gdb) "
-> "show overload-resolution\n"
<- "Overload resolution in evaluating C++ functions is on.\n"
<- "(gdb) "
-> "show pagination\n"
<- "State of pagination is on.\n"
<- "(gdb) "
-> "help set print\n"
<- "Generic command for setting how things print.\n"
<- "\n"
<- "List of set print subcommands:\n"
<- "\n"
<- "set print address -- Set printing of addresses\n"
<- "set print array -- Set prettyprinting of arrays\n"
<- "set print asm-demangle -- Set demangling of C++ names in disassembly 
listings\n"
<- "set print demangle -- Set demangling of encoded C++ names when displaying 
symbols\n"
<- "set print elements -- Set limit on string chars or array elements to 
print\n"
<- "set print max-symbolic-offset -- Set the largest offset that will be 
printed in <symbol+1234> form\n"
<- "set print null-stop -- Set printing of char arrays to stop at first null 
char\n"
<- "set print object -- Set printing of object\'s derived type based on vtable 
info\n"
<- "set print pretty -- Set prettyprinting of structures\n"
<- "set print repeats -- Set threshold for repeated print elements\n"
<- "set print sevenbit-strings -- Set printing of 8-bit characters in strings 
as \\n"
   "nn\n"
<- "set print static-members -- Set printing of C++ static members\n"
<- "set print symbol-filename -- Set printing of source filename and line 
number with <symbol>\n"
<- "set print union -- Set printing of unions interior to structures\n"
<- "set print vtbl -- Set printing of C++ virtual function tables\n"
<- "\n"
<- "Type \"help set print\" followed by set print subcommand name for full 
documentation.\n"
<- "Command name abbreviations are allowed if unambiguous.\n"
<- "(gdb) "
-> "show print address\n"
<- "Printing of addresses is on.\n"
<- "(gdb) "
-> "show print array\n"
<- "Prettyprinting of arrays is off.\n"
<- "(gdb) "
-> "show print asm-demangle\n"
<- "Demangling of C++ names in disassembly listings is on.\n"
<- "(gdb) "
-> "show print demangle\n"
<- "Demangling of encoded C++ names when displaying symbols is on.\n"
<- "(gdb) "
-> "show print elements\n"
<- "Limit on string chars or array elements to print is 200.\n"
<- "(gdb) "
-> "show print max-symbolic-offset\n"
<- "The largest offset that will be printed in <symbol+1234> form is 
unlimited.\n"
<- "(gdb) "
-> "show print null-stop\n"
<- "Printing of char arrays to stop at first null char is off.\n"
<- "(gdb) "
-> "show print object\n"
<- "Printing of object\'s derived type based on vtable info is off.\n"
<- "(gdb) "
-> "show print pretty\n"
<- "Prettyprinting of structures is off.\n"
<- "(gdb) "
-> "show print repeats\n"
<- "Threshold for repeated print elements is unlimited.\n"
<- "(gdb) "
-> "show print sevenbit-strings\n"
<- "Printing of 8-bit characters in strings as \\n"
   "nn is off.\n"
<- "(gdb) "
-> "show print static-members\n"
<- "Printing of C++ static members is on.\n"
<- "(gdb) "
-> "show print symbol-filename\n"
<- "Printing of source filename and line number with <symbol> is off.\n"
<- "(gdb) "
-> "show print union\n"
<- "Printing of unions interior to structures is on.\n"
<- "(gdb) "
-> "show print vtbl\n"
<- "Printing of C++ virtual function tables is off.\n"
<- "(gdb) "
-> "show prompt\n"
<- "Gdb\'s prompt is \"(gdb) \".\n"
<- "(gdb) "
-> "show remoteaddresssize\n"
<- "The maximum size of the address (in bits) in a memory packet is 32.\n"
<- "(gdb) "
-> "show remotebaud\n"
<- "Baud rate for remote serial I/O is 4294967295.\n"
<- "(gdb) "
-> "show remotebinarydownload\n"
<- "Binary downloads is on.\n"
<- "(gdb) "
-> "show remotebreak\n"
<- "Whether to send break if interrupted is unlimited.\n"
<- "(gdb) "
-> "show remotecache\n"
<- "Cache use for remote targets is off.\n"
<- "(gdb) "
-> "show remotechat\n"
<- "Remote port interacts with target is 0.\n"
<- "(gdb) "
-> "show remotedebug\n"
<- "Debugging of remote protocol is 0.\n"
<- "(gdb) "
-> "show remotedevice\n"
<- "Device for remote serial I/O is \"\".\n"
<- "(gdb) "
-> "show remotelogbase\n"
<- "Numerical base for remote session logging is \"ascii\".\n"
<- "(gdb) "
-> "show remotelogfile\n"
<- "Filename for remote session recording is \"\".\n"
<- "(gdb) "
-> "show remotetimeout\n"
<- "Timeout limit to wait for target to respond is 1.\n"
<- "(gdb) "
-> "show remotewritesize\n"
<- "The maximum number of bytes per memory write packet is 400.\n"
<- "(gdb) "
-> "show scheduler-locking\n"
<- "Mode for locking scheduler during execution is \"off\".\n"
<- "(gdb) "
-> "show solib-absolute-prefix\n"
<- "Prefix for loading absolute shared library symbol files is \"\".\n"
<- "(gdb) "
-> "show solib-search-path\n"
<- "The search path for loading non-absolute shared library symbol files is 
\"\".\n"
<- "(gdb) "
-> "show stop-on-solib-events\n"
<- "Stopping for shared library events is 0.\n"
<- "(gdb) "
-> "show symbol-reloading\n"
<- "Dynamic symbol table reloading multiple times in one run is off.\n"
<- "(gdb) "
-> "show targetdebug\n"
<- "Target debugging is 0.\n"
<- "(gdb) "
-> "help set variable\n"
<- "Evaluate expression EXP and assign result to variable VAR, using 
assignment\n"
<- "syntax appropriate for the current language (VAR = EXP or VAR := EXP for\n"
<- "example).  VAR may be a debugger \"convenience\" variable (names starting\n"
<- "with $), a register (a few standard names starting with $), or an actual\n"
<- "variable in the program being debugged.  EXP is any valid expression.\n"
<- "This may usually be abbreviated to simply \"set\".\n"
<- "(gdb) "
-> "show verbose\n"
<- "Verbosity is off.\n"
<- "(gdb) "
-> "show watchdog\n"
<- "Watchdog timer is 0.\n"
<- "(gdb) "
-> "show width\n"
<- "Number of characters gdb thinks are in a line is unlimited.\n"
<- "(gdb) "
-> "show write\n"
<- "Writing into executable and core files is off.\n"
<- "(gdb) "
-> "info architecture\n"
<- "Available architectures are:\n"
<- " i386 x86_64 i8086 x86_64:intel i386:intel\n"
<- "(gdb) "
-> "set demangle-style\n"
<- "The currently understood settings are:\n"
<- "\n"
<- "auto       Automatic selection based on executable\n"
<- "gnu        GNU (g++) style demangling\n"
<- "lucid      Lucid (lcc) style demangling\n"
<- "arm        ARM style demangling\n"
<- "(gdb) "
-> "set language\n"
<- "The currently understood settings are:\n"
<- "\n"
<- "local or auto    Automatic setting based on source file\n"
<- "c                Use the C language\n"
<- "c++              Use the C++ language\n"
<- "asm              Use the Asm language\n"
<- "chill            Use the Chill language\n"
<- "fortran          Use the Fortran language\n"
<- "java             Use the Java language\n"
<- "modula-2         Use the Modula-2 language\n"
<- "scheme           Use the Scheme language\n"
<- "(gdb) "
-> "help set check range\n"
<- "Set range checking.  (on/warn/off/auto)\n"
<- "(gdb) "
-> "help set check type\n"
<- "Set type checking.  (on/warn/off/auto)\n"
<- "(gdb) "
-> "help dir\n"
<- "Add directory DIR to beginning of search path for source files.\n"
<- "Forget cached info on source file locations and line positions.\n"
<- "DIR can also be $cwd for the current working directory, or $cdir for the\n"
<- "directory in which the source file was compiled into object code.\n"
<- "With no argument, reset the search path to $cdir:$cwd, the default.\n"
<- "(gdb) "
-> "show dir\n"
<- "Source directories searched: $cdir:$cwd\n"
<- "(gdb) "
-> "help path\n"
<- "Add directory DIR(s) to beginning of search path for object files.\n"
<- "$cwd in the path means the current working directory.\n"
<- "This path is equivalent to the $PATH shell variable.  It is a list of\n"
<- "directories, separated by colons.  These directories are searched to find\n"
<- "fully linked executable files and separately compiled object files as 
needed.\n"
<- "(gdb) "
-> "show path\n"
<- "Executable and object file path: 
/usr/local/bin:/home/egilb/bin/Laden/malurt.ife.no:/home/egilb/bin/FreeBSD/4.X-RELEASE:/home/egilb/bin/FreeBSD/generic:/home/egilb/local/FreeBSD/bin:/home/egilb/bin/generic:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/egilb/bin:.:/usr/local/bin/X11:/usr/bin/X11:/home/egilb/bin/remote\n"
<- "(gdb) "
#  Retrieving GDB Settings...done.
#  Retrieving Command Definitions...
-> "help user-defined\n"
<- "User-defined commands.\n"
<- "The commands in this class are those defined by the user.\n"
<- "Use the \"define\" command to define a command.\n"
<- "\n"
<- "List of commands:\n"
<- "\n"
<- "\n"
<- "Type \"help\" followed by command name for full documentation.\n"
<- "Command name abbreviations are allowed if unambiguous.\n"
<- "(gdb) "
#  Retrieving Command Definitions...done.
#  Retrieving GDB Settings...done.
-> "set print repeats 1\n"
<- "(gdb) "
-> "display\n"
<- "(gdb) "
-> "show print repeats\n"
<- "Threshold for repeated print elements is 1.\n"
<- "(gdb) "
#  Threshold for repeated print elements is 1.
-> "output d\n"
<- "No symbol \"d\" in current context.\n"
<- "(gdb) "
-> "break try_ddd.C:9\n"
<- "Breakpoint 1 at 0x80484cc: file try_ddd.C, line 9.\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x080484cc in main at try_ddd.C:9\n"
<- "(gdb) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "run\n"
<- "\n"
<- "Breakpoint 1, main () at try_ddd.C:9\n"
<- "\032\032/home/egilb/tmp/try_ddd.C:9:78:beg:0x80484cc\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x080484cc in main at try_ddd.C:9\n"
<- "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
-> "output d\n"
<- "{0 <repeats 3 times>}(gdb) "
-> "frame\n"
<- "#0  main () at try_ddd.C:9\n"
<- "\032\032/home/egilb/tmp/try_ddd.C:9:78:beg:0x80484cc\n"
<- "(gdb) "
-> "display d\n"
<- "(gdb) "
-> "display\n"
<- "1: d = {0 <repeats 3 times>}\n"
<- "(gdb) "
#  Creating display...
#  Creating display...done.
>> "set term xlib\n"
   "set parametric\n"
   "set urange [0:1]\n"
   "set vrange [0:1]\n"
   "set trange [0:1]"
>> "set noborder\n"
   "plot \"/var/tmp/tmp.1.0DPYYm\" title \"d\""
#  Display 1: d (enabled, scope main)
#  Display 1: d (enabled, scope main)
#  Warning: empty y range [0:0], adjusting to [-1:1]
<= "Warning: empty y range [0:0], adjusting to [-1:1]"
#  Retrieving Plot Settings...
>> "save \"/var/tmp/tmp.2.e8W7w5\""
#  Retrieving Plot Settings...done.
-> "cont\n"
<- "\n"
<- "Breakpoint 1, main () at try_ddd.C:9\n"
<- "\032\032/home/egilb/tmp/try_ddd.C:9:78:beg:0x80484cc\n"
<- "1: d = {0, 1, 0}\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x080484cc in main at try_ddd.C:9\n"
<- "\tbreakpoint already hit 2 times\n"
<- "(gdb) "
#  Updating displays...
>> "set term xlib\n"
   "set parametric\n"
   "set urange [0:1]\n"
   "set vrange [0:1]\n"
   "set trange [0:1]"
>> "set noborder\n"
   "plot \"/var/tmp/tmp.3.M4en8g\" title \"d\""
!  Segmentation fault
L
6s(Hq($Mu U&/UuP`7M6(6s(at|(7,LM6(2<6s(6s(6s(G 
GpGnGFM6(>Ea,>>>:+5:::8:8:8:8:8:8:8:8:8:8:8:8:8:8:8:8:u(O6(4u(O6(\\O6(7u(O6(876s(6s(6s(\6s(6s(6s(
h?P77T87i|($4}(P       ,       ,       ,       ,       ,.l|($4}(Ps|(r|(h       
,       ,6s(w
q(6s(@wP        ,       ,6s()5( ,S6 O)5(Vu(6s(vO6(      ,O6(fy|($4}(6s(xv$4}(L  
,       ,       ,       ,       ,6s(.l|($4}(6s( \.      ,6s(    ,<      
,d@pq(|7        ,)5(do(do(6s()5(6(`S6(
bn|(`S6`)5(o( +`S6($4}(7`S6     ,M6(6(  ,il|(M6(A6@'5(B5(04J6(  ,       ,       
,       ,       ,       ,       ,       ,       
,D+M6M6(t_@6(G5(M6(7@p6(G^6s(t^r(0r(p(x@6(O76P`H6(I6(6s(6(O6(u(&5(6(O6(_u(|
gu(r(Pr(6s(x;}($A7p(4p($ @7P      ,\+@7D7747r(Pr(454545 U`rR     
,G@07@6HP`H/DDHx5(h$2GTai-9Ghz1P|4      
p4(/usr/local/bin/ddd--tracetry_dddGNUSODIR=.:/home/egilb/gnuplot/objectsTEXINPUTS=.:/home/egilb/texinclude//:/home/egilb/.texmf/FreeBSD/tex//:/home/egilb/Dr_Ing/LaTex/includeUSER=egilbMACHTYPE=i386MAIL=/var/mail/egilbGNUDATADIR=.VENDOR=intelSHLVL=1GNUCALLDIR=.:/home/egilb/gnuplot/call_filesHOME=/home/egilbGNULOADDIR=.:/home/egilb/gnuplot/load_files:/home/egilb/gnuplot/debugPAGER=cat/bin/less
 
-XGROUP=releGNUTMP=/home/egilb/gnuplot/tmpTMPDIR=/tmpLOGNAME=egilbTEXMF=/home/egilb/.texmf/FreeBSDWINDOWID=20971534TERM=dumbBLOCKSIZE=KPATH=/usr/local/bin:/home/egilb/bin/Laden/malurt.ife.no:/home/egilb/bin/FreeB!
SD/4.X-RELEASE:/home/egilb/bin/F
reeBSD/generic:/home/egilb/local/FreeBSD/bin:/home/egilb/bin/generic:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/egilb/bin:.:/usr/local/bin/X11:/usr/bin/X11:/home/egilb/bin/remoteDISPLAY=malurt:0.0REMOTEHOST=malurt.ife.noSHELL=/bin/cshHOST=malurt.ife.noGNUBIN=/home/egilb/gnuplot/binXAPPLRESDIR=/home/egilb/.XAPPLRESDIR.dyson/OSTYPE=FreeBSDPWD=/home/egilb/tmpCVSROOT=:pserver:egilb@128.39.86.87:/home/theback/cvsrootTERMCAP=etc/termcapFTP_PASSIVE_MODE=YESHOSTTYPE=FreeBSDMANPATH=/usr/man:/usr/local/man:/usr/share/man:/usr/local/blt/man/ma!
  Bus error
#  Saving history in "/home/egilb/.ddd/history"...
#  Saving history in "/home/egilb/.ddd/history"...done.
#  Thanks for using DDD 3.3!  (We apologize for the inconvenience.)
Bus error - core dumped



reply via email to

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