bug-ddd
[Top][All Lists]
Advanced

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

`BadWindow' error


From: puru
Subject: `BadWindow' error
Date: Tue, 4 Jan 2005 22:44:39 -0800 (PST)
User-agent: SquirrelMail/1.5.0

Hi,

When I opened ddd window after connecting host server with ssh -X command.
I get the follwing error message

 X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xc0975b
  Serial number of failed request:  6322
  Current serial number in output stream:  6323
  Widget hierarchy of resource:  unknown
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xc0983b
  Serial number of failed request:  6841
  Current serial number in output stream:  6842
  Widget hierarchy of resource:  unknown
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xc0983b
  Serial number of failed request:  10331
  Current serial number in output stream:  10332
  Widget hierarchy of resource:  unknown

I am also attaching content of the ~/.ddd/log file.
GNU DDD 3.3.8 (i386-redhat-linux-gnu)
Copyright (C) 1995-1999 Technische Universit�t Braunschweig, Germany.
Copyright (C) 1999-2001 Universit�t Passau, Germany.
Copyright (C) 2001 Universit�t des Saarlandes, Germany.

Compiled with GCC 3.3.3 20040326 (Red Hat Linux 3.3.3-6), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.2.3 (Motif Version 2.2.2)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2004-04-09 by Compile Server <bhcompile@tweety.devel.redhat.com>.
$  ddd martensite2d
+  /bin/sh -c 'exec gdb -q -fullname '\''martensite2d'\'''
#  Hello, world!
#  Starting GDB...
#  Enabling core dumps...
#  Enabling core dumps...done.
#  Running GDB (pid 27909, tty /dev/pts/6)...
<- "Using host libthread_db library \"/lib/tls/libthread_db.so.1\".\n"
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/cacr/home/user/puru/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/share/ddd-3.3.8/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/share/ddd-3.3.8/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"
<- "71\t  SBody *SB;\n"
   "72\t  EdgeElem *EE;\n"
   "73\t  int i,j,k,l,q,n,number_steps,ste,dim,dof;\n"
   "74\t  char s[20];\n"
   "75\t  double EdgeHFunction1(double *x);\n"
   "76\t  double energy;\n"
   "77\t  double x1,x2,theta,cost,sint;\n"
 "78\t  double y1[2],y2[2],y3[2];\n"
   "79\t\n"
   "80\t  dimensions();\n"
<- "(gdb) "
-> "info line\n"
<- "Line 80 of \"main_martensite2d.c\" starts at address 0x8049282
<main+22> and ends at 0x8049287 <main+27>.\n"
   
"\032\032/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/main_martensite2d.c:80:2798:beg:0x8049282\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 Red Hat Linux (6.0post-0.20040223.19rh)\n"
   "Copyright 2004 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-redhat-linux-gnu\".\n"
<- "(gdb) "
-> "pwd\n"
<- "Working directory
/cacr/home/user/puru/development/adlib/examples/ALE/Martensite.\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
\"/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/.gdb_history\".\n"
<- "(gdb) "
-> "show history size\n"
<- "The size of the command history is 256.\n"
   "(gdb) "
#  Reading file
"/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/main_martensite2d.c"...
#  Reading file
"/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/main_martensite2d.c"...done.
#  File
"/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/main_martensite2d.c"
1931 lines, 63355 characters
!  X error
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)   Resource id
in failed request:  0xc0975b
  Serial number of failed request:  6322
  Current serial number in output stream:  6323
  Widget hierarchy of resource:  unknown
#  Setting buttons...
#  Setting buttons...done.
-> "info source\n" <- "Current source file is main_martensite2d.c\n"
   "Compilation directory is
/cacr/home/user/puru/development/adlib/examples/ALE/Martensite\n"
   "Located in
/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/main_martensite2d.c\n"
   "Contains 1931 lines.\n"
   "Source language is c.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\n"
<- "(gdb) "
-> "info files\n"
<- "Symbols from
\"/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/martensite2d\".\n"
   "Local exec file:\n"
   
"\t`/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/martensite2d\',
file type elf32-i386.\n"
   "\tEntry point: 0x80491bc\n"
   "\t0x08048114 - 0x08048127 is .interp\n"
"\t0x08048128 - 0x08048148 is .note.ABI-tag\n"
   "\t0x08048148 - 0x08048390 is .hash\n"
   "\t0x08048390 - 0x08048860 is .dynsym\n"
   "\t0x08048860 - 0x08048aa1 is .dynstr\n"
   "\t0x08048aa2 - 0x08048b3c is .gnu.version\n"
   "\t0x08048b3c - 0x08048b8c is .gnu.version_r\n"
   "\t0x08048b8c - 0x08048bac is .rel.dyn\n"
   "\t0x08048bac - 0x08048da4 is .rel.plt\n"
   "\t0x08048da4 - 0x08048dbb is .init\n"
   "\t0x08048dbc - 0x080491bc is .plt\n"
   "\t0x080491bc - 0x080abf00 is .text\n"
   "\t0x080abf00 - 0x080abf1b is .fini\n"
   "\t0x080abf20 - 0x080b2f58 is .rodata\n"
   "\t0x080b2f58 - 0x080b2f5c is .eh_frame\n"
   "\t0x080b3000 - 0x080b3008 is .ctors\n"
   "\t0x080b3008 - 0x080b3010 is .dtors\n"
   "\t0x080b3010 - 0x080b3014 is .jcr\n"
   "\t0x080b3014 - 0x080b30f4 is .dynamic\n"
   "\t0x080b30f4 - 0x080b30f8 is .got\n"
   "\t0x080b30f8 - 0x080b3200 is .got.plt\n"
   "\t0x080b3200 - 0x080b5020 is .data\n"
  "\t0x080b5020 - 0x080b6da8 is .bss\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
<- "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /tmp/dddnt0tJW\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
<- "(gdb) "
-> "# reset\n"
<- "(gdb) "
-> "info breakpoints\n"
!  X error
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xc0983b
  Serial number of failed request:  6841
  Current serial number in output stream:  6842
 Widget hierarchy of resource:  unknown
<- "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
\"/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/martensite2d\".\n"
   "Local exec file:\n"
   
"\t`/cacr/home/user/puru/development/adlib/examples/ALE/Martensite/martensite2d\',
file type elf32-i386.\n"
   "\tEntry point: 0x80491bc\n"
   "\t0x08048114 - 0x08048127 is .interp\n"
   "\t0x08048128 - 0x08048148 is .note.ABI-tag\n"
   "\t0x08048148 - 0x08048390 is .hash\n"
   "\t0x08048390 - 0x08048860 is .dynsym\n"
 "\t0x08048860 - 0x08048aa1 is .dynstr\n"
   "\t0x08048aa2 - 0x08048b3c is .gnu.version\n"
   "\t0x08048b3c - 0x08048b8c is .gnu.version_r\n"
   "\t0x08048b8c - 0x08048bac is .rel.dyn\n"
   "\t0x08048bac - 0x08048da4 is .rel.plt\n"
   "\t0x08048da4 - 0x08048dbb is .init\n"
   "\t0x08048dbc - 0x080491bc is .plt\n"
   "\t0x080491bc - 0x080abf00 is .text\n"
   "\t0x080abf00 - 0x080abf1b is .fini\n"
   "\t0x080abf20 - 0x080b2f58 is .rodata\n"
   "\t0x080b2f58 - 0x080b2f5c is .eh_frame\n"
   "\t0x080b3000 - 0x080b3008 is .ctors\n"    "\t0x080b3008 - 0x080b3010
is .dtors\n"
   "\t0x080b3010 - 0x080b3014 is .jcr\n"
   "\t0x080b3014 - 0x080b30f4 is .dynamic\n"    "\t0x080b30f4 - 0x080b30f8
is .got\n"
   "\t0x080b30f8 - 0x080b3200 is .got.plt\n"
   "\t0x080b3200 - 0x080b5020 is .data\n"
   "\t0x080b5020 - 0x080b6da8 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) "
#  Starting GDB...done.
#  Welcome to DDD 3.3.8 "Cinnamon" (i386-redhat-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 location (same args as break command) within the
current 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) "
!  X error
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xc0983b
  Serial number of failed request:  10331
  Current serial number in output stream:  10332
  Widget hierarchy of resource:  unknown
!  X error
#  Saving options in "/cacr/home/user/puru/.ddd/init"...


thanks
puru
-- 
Pururav Thoutireddy
Center for Advanced Computing Research
Mail Code : 158-79
California Institute Of Technolgy,
Pasadena, CA 91125, USA.
Ph : (626) 395 3432
Fax : (626) 584 5917
E-Mail : puru@cacr.caltech.edu
http://www.cacr.caltech.edu/~puru




reply via email to

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