bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.3 (i686-pc-linux-gnu) gets `BadWindow' error


From: Mark
Subject: DDD 3.3 (i686-pc-linux-gnu) gets `BadWindow' error
Date: Fri, 16 Mar 2001 00:27:09 -0800

I was attempting to open "gnuplot" to plot a variable. When gnuplot
didn't launch correctly, I pressed the "Cancel" button in the "Now
launching..." message window, and DDD crashed.

Attached is the ~/.ddd/log file, as requested by the closing DDD
message.
-- 
Mark

"There is no grievance that is a fit object of redress by mob law."
  --A. Lincoln, 1837
GNU DDD 3.3 (i686-pc-linux-gnu)
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), 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 2001-03-15 by root <address@hidden>.
$  ddd modtest
+  /bin/sh -c 'exec gdb -q -fullname '\''modtest'\'''
#  Hello, world!
#  Opening session "11c0a80001000098473095500000026690023"...
#  Enabling core dumps...
#  Enabling core dumps...done.
#  Running GDB (pid 11547, tty /dev/pts/1)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/root/.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"
#  Creating "/root/.ddd/sessions/11c0a80001000098473095500000026690023/"...
#  Creating "/root/.ddd/sessions/11c0a80001000098473095500000026690023/"...done.
#  Copying "/root/.ddd/init" to 
"/root/.ddd/sessions/11c0a80001000098473095500000026690023/init"...
#  Copying "/root/.ddd/init" to 
"/root/.ddd/sessions/11c0a80001000098473095500000026690023/init"...done.
#  Copying "/root/.ddd/history" to 
"/root/.ddd/sessions/11c0a80001000098473095500000026690023/history"...
#  Copying "/root/.ddd/history" to 
"/root/.ddd/sessions/11c0a80001000098473095500000026690023/history"...done.
#  Saving session in 
"/root/.ddd/sessions/11c0a80001000098473095500000026690023/init"...
#  Saving session in 
"/root/.ddd/sessions/11c0a80001000098473095500000026690023/init"...done.
<- "(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#include <stdio.h>\n"
   "2\t#include <stdlib.h>\n"
   "3\t#include <unistd.h>\n"
   "4\t#include <sys/types.h>\n"
   "5\t#include <sys/stat.h>\n"
   "6\t#include <fcntl.h>\n"
   "7\t\n"
   "8\tint main(int argc, char *argv[])\n"
   "9\t{\n"
   "10\t\tunsigned int lower = 1000, upper = 5000;\n"
   "(gdb) "
-> "info line\n"
<- "Line 10 of \"modtest.c\" starts at address 0x80483e6 <main+6> and ends at 
0x80483f4 <main+20>.\n"
   "\032\032/root/modtest.c:10:159:beg:0x80483e6\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 5.0\n"
   "Copyright 2000 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-slackware-linux\".\n"
   "(gdb) "
-> "pwd\n"
<- "Working directory /root.\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 
\"/root/.gdb_history\".\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 256.\n"
   "(gdb) "
#  Reading file "/root/modtest.c"...
#  Reading file "/root/modtest.c"...done.
#  File "/root/modtest.c" 36 lines, 998 characters
#  Setting buttons...
#  Setting buttons...done.
-> "info source\n"
<- "Current source file is modtest.c\n"
   "Compilation directory is /root/\n"
   "Located in /root/modtest.c\n"
   "Contains 36 lines.\n"
   "Source language is c.\n"
   "Compiled with stabs debugging format.\n"
   "(gdb) "
-> "info files\n"
<- "Symbols from \"/root/modtest\".\n"
   "Local exec file:\n"
   "\t`/root/modtest\', file type elf32-i386.\n"
   "\tEntry point: 0x8048320\n"
   "\t0x080480f4 - 0x08048107 is .interp\n"
   "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
   "\t0x08048128 - 0x08048158 is .hash\n"
   "\t0x08048158 - 0x080481c8 is .dynsym\n"
   "\t0x080481c8 - 0x08048242 is .dynstr\n"
   "\t0x08048242 - 0x08048250 is .gnu.version\n"
   "\t0x08048250 - 0x08048270 is .gnu.version_r\n"
   "\t0x08048270 - 0x08048278 is .rel.got\n"
   "\t0x08048278 - 0x08048298 is .rel.plt\n"
   "\t0x08048298 - 0x080482c9 is .init\n"
   "\t0x080482cc - 0x0804831c is .plt\n"
   "\t0x08048320 - 0x080484bc is .text\n"
   "\t0x080484bc - 0x080484d8 is .fini\n"
   "\t0x080484d8 - 0x080484ff is .rodata\n"
   "\t0x08049500 - 0x0804950c is .data\n"
   "\t0x0804950c - 0x08049510 is .eh_frame\n"
   "\t0x08049510 - 0x08049518 is .ctors\n"
   "\t0x08049518 - 0x08049520 is .dtors\n"
   "\t0x08049520 - 0x08049540 is .got\n"
   "\t0x08049540 - 0x080495e0 is .dynamic\n"
   "\t0x080495e0 - 0x080495f8 is .bss\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /tmp/file40Cr40\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 \"/root/modtest\".\n"
   "Local exec file:\n"
   "\t`/root/modtest\', file type elf32-i386.\n"
   "\tEntry point: 0x8048320\n"
   "\t0x080480f4 - 0x08048107 is .interp\n"
   "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
   "\t0x08048128 - 0x08048158 is .hash\n"
   "\t0x08048158 - 0x080481c8 is .dynsym\n"
   "\t0x080481c8 - 0x08048242 is .dynstr\n"
   "\t0x08048242 - 0x08048250 is .gnu.version\n"
   "\t0x08048250 - 0x08048270 is .gnu.version_r\n"
   "\t0x08048270 - 0x08048278 is .rel.got\n"
   "\t0x08048278 - 0x08048298 is .rel.plt\n"
   "\t0x08048298 - 0x080482c9 is .init\n"
   "\t0x080482cc - 0x0804831c is .plt\n"
   "\t0x08048320 - 0x080484bc is .text\n"
   "\t0x080484bc - 0x080484d8 is .fini\n"
   "\t0x080484d8 - 0x080484ff is .rodata\n"
   "\t0x08049500 - 0x0804950c is .data\n"
   "\t0x0804950c - 0x08049510 is .eh_frame\n"
   "\t0x08049510 - 0x08049518 is .ctors\n"
   "\t0x08049518 - 0x08049520 is .dtors\n"
   "\t0x08049520 - 0x08049540 is .got\n"
   "\t0x08049540 - 0x080495e0 is .dynamic\n"
   "\t0x080495e0 - 0x080495f8 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) "
#  Opening session "11c0a80001000098473095500000026690023"...done.
#  Welcome to DDD 3.3 "Blues by Night" (i686-pc-linux-gnu)
-> "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 read\n"
<- "No symbol \"read\" in current context.\n"
   "(gdb) "
-> "output moddiv\n"
<- "No symbol \"moddiv\" in current context.\n"
   "(gdb) "
-> "break modtest.c:19\n"
<- "Breakpoint 1 at 0x80483f4: file modtest.c, line 19.\n"
   "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
   "1   breakpoint     keep y   0x080483f4 in main at modtest.c:19\n"
   "(gdb) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "run\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"
<- "\n"
<- "Breakpoint 1, main (argc=1"
<- ", argv=0xbffff954) at modtest.c:19\n"
<- "\032\032/root/modtest.c:19:399:beg:0x80483f4\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x080483f4 in main at modtest.c:19\n"
<- "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
-> "output a\n"
<- "No symbol \"a\" in current context."
<- "\n"
<- "(gdb) "
-> "output moddiv\n"
<- "1074776820"
<- "(gdb) "
-> "output rand\n"
<- "1073995515"
<- "(gdb) "
-> "frame\n"
<- "#0  main (argc=1, argv=0xbffff954) at modtest.c:19\n"
   "\032\032/root/modtest.c:19:399:beg:0x80483f4\n"
<- "(gdb) "
-> "display rand\n"
<- "(gdb) "
-> "display\n"
<- "1: rand = 1073995515\n"
<- "(gdb) "
#  Creating display...
#  Creating display...done.
#  Display 1: rand (enabled, scope main)
#  Display 1: rand (enabled, scope main)
-> "output include\n"
<- "No symbol \"include\" in current context.\n"
   "(gdb) "
-> "frame\n"
<- "#0  main (argc=1, argv=0xbffff954) at modtest.c:19\n"
   "\032\032/root/modtest.c:19:399:beg:0x80483f4\n"
   "(gdb) "
#  Creating status display...
#  Creating status 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 \"/tmp/fileXcist0\" title \"rand\""
#  Updating histories...
>> "set title\n"
   "replot"
#  Updating histories...done.
#  Display -1: `graph history rand` (enabled)
#  Display -1: `graph history rand` (enabled)
#  Warning: empty y range [1.074e+09:1.074e+09], adjusting to 
[1.06326e+09:1.08474e+09]
#  Line 0: x_min should not equal x_max!
#  Gnuplot> replot
#  ^
#  Line 0: no previous plot
<= "Warning: empty y range [1.074e+09:1.074e+09], adjusting to 
[1.06326e+09:1.08474e+09]\n"
   "         line 0: x_min should not equal x_max!\n"
   "\n"
   "\n"
   "gnuplot> replot\n"
   "         ^\n"
   "         line 0: no previous plot\n"
   ""
!  X error
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  10 (X_UnmapWindow)
  Resource id in failed request:  0x0
  Serial number of failed request:  16750
  Current serial number in output stream:  16753
!  X error
#  Running GDB (pid 11547, tty /dev/pts/1)...Exit 0.
#  Saving history in 
"/root/.ddd/sessions/11c0a80001000098473095500000026690023/history"...
#  Saving history in 
"/root/.ddd/sessions/11c0a80001000098473095500000026690023/history"...done.
#  Thanks for using DDD 3.3!  (We apologize for the inconvenience.)
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  10 (X_UnmapWindow)
  Resource id in failed request:  0x0
  Serial number of failed request:  16752
  Current serial number in output stream:  16890

reply via email to

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