bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.3.1 (i386-portbld-freebsd4.6 and 5.3) gets `BadWindow' error


From: Andre Steenveld
Subject: DDD 3.3.1 (i386-portbld-freebsd4.6 and 5.3) gets `BadWindow' error
Date: Fri, 29 Apr 2005 17:51:40 +0200 (CEST)

This happend straith after I started ddd.

Other settings that might be of importance:
- ssh conection (with -X flag), already open for some time.
- The xclient machine (the one on which ddd was supposed to run)
  is a freeBSD 4.6 dual pentium 300 MHz machine.
- The xserver machine (the one on which I would like to see the
  screen and use my mouse and keyboard) is a freeBSD 5.3
  1.2 GHz laptop (Dell latitude C840).
- In previous ddd sessions there were more complains about
  X errors but it rarely caused ddd to crash.
- The version of X on both systems is X11 v6.3

%ddd .libs/OCRmatch &
[1] 31598
%X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x40016f
  Serial number of failed request:  6005
  Current serial number in output stream:  6006
  Widget hierarchy of resource:  unknown
Exit 0
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x400171
  Serial number of failed request:  6637
  Current serial number in output stream:  6656
  Widget hierarchy of resource:  unknown

X error (invalid Window parameter).

Oops!  You have found a bug in DDD.

---8<--- ~/.ddd/log ---

GNU DDD 3.3.1 (i386-portbld-freebsd4.6)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität 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 2002-06-07 by Charlie  <root@gohan17.FreeBSD.org>.
$  ddd .libs/OCRmatch
+  /bin/sh -c 'exec gdb -q -fullname '\''.libs/OCRmatch'\'''
#  Hello, world!
#  Starting GDB...
#  Running GDB (pid 31599, tty /dev/ttyp5)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/papa/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl".
<- "Deprecated bfd_read called at 
/usr/home/CVSup/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
 line 2627 in elfstab_build_psymtabs\n"
<- "Deprecated bfd_read called at 
/usr/home/CVSup/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
 line 933 in fill_symbuf\n"
<- "(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"
<- "82\t    }\n"
<- "83\t   \n"
<- "84\t   sclose (s);\n"
<- "85\t   if (fo != NULL) fclose (o);\n"
<- "86\t   if (asprinted_fo) free (fo);\n"
<- "87\t }\n"
<- "88\t\n"
<- "89\tint\n"
<- "90\tmain (int argc, char *argv[])\n"
<- "91\t { int f;\n"
<- "(gdb) "
-> "info line\n"
<- "Line 91 of \"ocr_main.c\" starts at address 0x8048d49 <main+9> and ends at 
0x8048d4f <main+15>.\n"
<- 
"\032\032/home/papa/projecten/agfl/liblexicon/OCR/ocr_main.c:91:2278:beg:0x8048d49\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 (FreeBSD)\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 /disk/ad3h/home/papa/projecten/agfl/liblexicon/OCR.\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 
\"/disk/ad3h/home/papa/projecten/agfl/liblexicon/OCR/.gdb_history\".\n"
<- "(gdb) "
-> "show history size\n"
<- "The size of the command history is 256.\n"
<- "(gdb) "
#  Reading file "/home/papa/projecten/agfl/liblexicon/OCR/ocr_main.c"...
#  Reading file "/home/papa/projecten/agfl/liblexicon/OCR/ocr_main.c"...done.
#  File "/home/papa/projecten/agfl/liblexicon/OCR/ocr_main.c" 108 lines, 2647 
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:  0x40016f
  Serial number of failed request:  6005
  Current serial number in output stream:  6006
  Widget hierarchy of resource:  unknown
#  Setting buttons...
#  Setting buttons...done.
-> "info source\n"
<- "Current source file is ocr_main.c\n"
<- "Compilation directory is /home/papa/projecten/agfl/liblexicon/OCR/\n"
<- "Located in /home/papa/projecten/agfl/liblexicon/OCR/ocr_main.c\n"
<- "Contains 108 lines.\n"
<- "Source language is c.\n"
<- "Compiled with stabs debugging format.\n"
<- "(gdb) "
-> "info files\n"
<- "Symbols from 
\"/disk/ad3h/home/papa/projecten/agfl/liblexicon/OCR/.libs/OCRmatch\".\n"
<- "Local exec file:\n"
<- "\t`/disk/ad3h/home/papa/projecten/agfl/liblexicon/OCR/.libs/OCRmatch\', 
file type elf32-i386.\n"
<- "\tEntry point: 0x8048a90\n"
<- "\t0x080480f4 - 0x0804810d is .interp\n"
<- "\t0x08048110 - 0x08048128 is .note.ABI-tag\n"
<- "\t0x08048128 - 0x08048284 is .hash\n"
<- "\t0x08048284 - 0x08048584 is .dynsym\n"
<- "\t0x08048584 - 0x08048769 is .dynstr\n"
<- "\t0x0804876c - 0x0804878c is .rel.bss\n"
<- "\t0x0804878c - 0x08048884 is .rel.plt\n"
<- "\t0x08048884 - 0x0804888f is .init\n"
<- "\t0x08048890 - 0x08048a90 is .plt\n"
<- "\t0x08048a90 - 0x0804a568 is .text\n"
<- "\t0x0804a568 - 0x0804a56e is .fini\n"
<- "\t0x0804a580 - 0x0804aea0 is .rodata\n"
<- "\t0x0804bea0 - 0x0804bec8 is .data\n"
<- "\t0x0804bec8 - 0x0804becc is .eh_frame\n"
<- "\t0x0804becc - 0x0804bf9c is .dynamic\n"
<- "\t0x0804bf9c - 0x0804bfa4 is .ctors\n"
<- "\t0x0804bfa4 - 0x0804bfac is .dtors\n"
<- "\t0x0804bfac - 0x0804c034 is .got\n"
<- "\t0x0804c034 - 0x0804c068 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//dddGNaFbU\n"
<- "Byte order is not selectable.The target endianness is set automatically 
(currently little endian)\n"
<- "/var/tmp//dddGNaFbU:37: 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 
\"/disk/ad3h/home/papa/projecten/agfl/liblexicon/OCR/.libs/OCRmatch\".\n"
<- "Local exec file:\n"
<- "\t`/disk/ad3h/home/papa/projecten/agfl/liblexicon/OCR/.libs/OCRmatch\', 
file type elf32-i386.\n"
<- "\tEntry point: 0x8048a90\n"
<- "\t0x080480f4 - 0x0804810d is .interp\n"
<- "\t0x08048110 - 0x08048128 is .note.ABI-tag\n"
<- "\t0x08048128 - 0x08048284 is .hash\n"
<- "\t0x08048284 - 0x08048584 is .dynsym\n"
<- "\t0x08048584 - 0x08048769 is .dynstr\n"
<- "\t0x0804876c - 0x0804878c is .rel.bss\n"
<- "\t0x0804878c - 0x08048884 is .rel.plt\n"
<- "\t0x08048884 - 0x0804888f is .init\n"
<- "\t0x08048890 - 0x08048a90 is .plt\n"
<- "\t0x08048a90 - 0x0804a568 is .text\n"
<- "\t0x0804a568 - 0x0804a56e is .fini\n"
<- "\t0x0804a580 - 0x0804aea0 is .rodata\n"
<- "\t0x0804bea0 - 0x0804bec8 is .data\n"
<- "\t0x0804bec8 - 0x0804becc is .eh_frame\n"
<- "\t0x0804becc - 0x0804bf9c is .dynamic\n"
<- "\t0x0804bf9c - 0x0804bfa4 is .ctors\n"
<- "\t0x0804bfa4 - 0x0804bfac is .dtors\n"
<- "\t0x0804bfac - 0x0804c034 is .got\n"
<- "\t0x0804c034 - 0x0804c068 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 remotebreak 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 
/disk/ad3h/home/papa/projecten/agfl/liblexicon/OCR/.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 0d10\n"
<- "(gdb) "
-> "set prompt (gdb) \n"
<- "(gdb) "
-> "set remoteaddresssize 0d32\n"
<- "(gdb) "
-> "set remotebaud 0d4294967295\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) "
-> "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) "
!  X error
#  Running GDB (pid 31599, tty /dev/ttyp5)...Exit 0.
#  Saving history in "/home/papa/.ddd/history"...
#  Saving history in "/home/papa/.ddd/history"...done.
#  Thanks for using DDD 3.3.1!  (We apologize for the inconvenience.)
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x400171
  Serial number of failed request:  6637
  Current serial number in output stream:  6656
  Widget hierarchy of resource:  unknown





reply via email to

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