ddd
[Top][All Lists]
Advanced

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

X Error of failed request: BadGC (invalid GC parameter)


From: Manuel L. Gonzalez-Garay
Subject: X Error of failed request: BadGC (invalid GC parameter)
Date: Mon, 13 Dec 2004 01:03:17 -0600

Hello,

Recently, ddd has been crashing. I upgraded from redhat linux 8 to
redhat linux 9, all my other applications work except for ddd.

To fix the problem I removed the old version of ddd and try to install
version 3.3.10 of ddd from src.
Before installing ddd I installed gdb 6.3 
During ddd installation I got a message requestion a new version of
motif so I installed lesstif-0.94.0, and lesstif requested a new version
of freetype-2.1.9. After installing all the dependencies ddd compiled
and installed without problems.

But when I tried to run ddd in my projects ddd crashes, even if I try to
run ddd by itself "ddd &". The main window opens and then "the tip of
the day" windows. After closing the tip of the day window and clicking
on the menu ddd crashes.

I have a dell latitude with redhat linux 9.0 (upgraded from 8.0 -> 9.0)
kernel version 2.4.20-8
gdb 6.3, lesstif-0.94.0, openmotif2.1.30pl5, and freetype-2.1.9.

Here is the error message

Warning: Actions not found: toggle-overstrike
(Annoyed?  Try 'Edit->Preferences->General->Suppress X Warnings'!)
Warning: XmStringGetNextComponent: unknown type 140529848
 
Warning: XmStringGetNextComponent: unknown type 140530560
 
Warning: XmStringGetNextComponent: unknown type 140532400
 
Warning: XmStringGetNextComponent: unknown type 140529592
 
Warning: XmStringGetNextComponent: unknown type 140533072
 
Warning: XmStringGetNextComponent: unknown type 140556416
 
Warning: XmStringGetNextComponent: unknown type 140556208
 
X Error of failed request:  BadFont (invalid Font parameter)
  Major opcode of failed request:  55 (X_CreateGC)
  Resource id in failed request:  0x28005a2
  Serial number of failed request:  9593
  Current serial number in output stream:  9604
  Widget hierarchy of resource:  unknown
Exit 0
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  57 (X_CopyGC)
  Resource id in failed request:  0x28005a2
  Serial number of failed request:  9595
  Current serial number in output stream:  9886
  Widget hierarchy of resource:  unknown
 
X error (invalid GC parameter).
 
Oops!  You have found a bug in DDD.
 
If you can reproduce this bug, please send a bug report
to <address@hidden>, giving a subject like
 
    DDD 3.3.10 (i686-pc-linux-gnu) gets `BadGC' error
 
To enable us to fix the bug, you should include the following
information:
* What you were doing to get this message.  Report all the facts.
* The contents of the `~/.ddd/log' file as generated by this session.
Please read also the section "Reporting Bugs" in the DDD manual.
 
We thank you for your support.


and the .ddd/log file contains


GNU DDD 3.3.10 (i686-pc-linux-gnu)
Copyright (C) 1995-1999 Technische Universitt Braunschweig, Germany.
Copyright (C) 1999-2001 Universitt Passau, Germany.
Copyright (C) 2001 Universitt des Saarlandes, Germany.
Copyright (C) 2001-2004 Free Software Foundation, Inc.

Compiled with GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.1.30 (Motif Version 2.1.30)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2004-12-13 by Manuel L. Gonzalez-Garay
<address@hidden>.
$  ddd
+  /bin/sh -c 'exec gdb -q -fullname'
#  Hello, world!
#  Opening session "11c0a80178000110292093700000014450070"...
#  Enabling core dumps...
#  Enabling core dumps...done.
#  Running GDB (pid 23221, tty /dev/pts/0)...
2004.12.13 00:55:38
<- "(gdb) "
2004.12.13 00:55:38
-> "set prompt (gdb) \n"
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/manuelg/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/local/share/ddd-3.3.10/vsllib/ddd.vsl"
#  Searching
"vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.10/vsllib/ddd.vsl".
2004.12.13 00:55:38
<- "(gdb) "
2004.12.13 00:55:38
-> "set height 0\n"
#  Creating
"/home/manuelg/.ddd/sessions/11c0a80178000110292093700000014450070/"...
#  Creating
"/home/manuelg/.ddd/sessions/11c0a80178000110292093700000014450070/"...done.
#  Copying "/home/manuelg/.ddd/init" to
"/home/manuelg/.ddd/sessions/11c0a80178000110292093700000014450070/init"...
#  Copying "/home/manuelg/.ddd/init" to
"/home/manuelg/.ddd/sessions/11c0a80178000110292093700000014450070/init"...done.
#  Copying "/home/manuelg/.ddd/history" to
"/home/manuelg/.ddd/sessions/11c0a80178000110292093700000014450070/history"...
#  Copying "/home/manuelg/.ddd/history" to
"/home/manuelg/.ddd/sessions/11c0a80178000110292093700000014450070/history"...done.
#  Saving session in
"/home/manuelg/.ddd/sessions/11c0a80178000110292093700000014450070/init"...
#  Saving session in
"/home/manuelg/.ddd/sessions/11c0a80178000110292093700000014450070/init"...done.
2004.12.13 00:55:38
<- "(gdb) "
2004.12.13 00:55:38
-> "set width 0\n"
2004.12.13 00:55:38
<- "(gdb) "
2004.12.13 00:55:38
-> "set annotate 1\n"
2004.12.13 00:55:38
<- "(gdb) "
2004.12.13 00:55:38
-> " set verbose off\n"
2004.12.13 00:55:38
<- "(gdb) "
2004.12.13 00:55:38
-> "info line\n"
2004.12.13 00:55:38
<- "No line number information available.\n"
2004.12.13 00:55:38
<- "(gdb) "
2004.12.13 00:55:38
-> "list\n"
2004.12.13 00:55:38
<- "No symbol table is loaded.  Use the \"file\" command.\n"
2004.12.13 00:55:38
<- "(gdb) "
2004.12.13 00:55:38
-> "info line\n"
2004.12.13 00:55:39
<- "No line number information available.\n"
2004.12.13 00:55:39
<- "(gdb) "
2004.12.13 00:55:39
-> "output 4711\n"
2004.12.13 00:55:39
<- "4711"
2004.12.13 00:55:39
<- "(gdb) "
2004.12.13 00:55:39
-> "show language\n"
2004.12.13 00:55:39
<- "The current source language is \"auto; currently c\".\n"
2004.12.13 00:55:39
<- "(gdb) "
2004.12.13 00:55:39
-> "show version\n"
2004.12.13 00:55:39
<- "GNU gdb 6.3\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 \"i686-pc-linux-gnu\".\n"
2004.12.13 00:55:39
<- "(gdb) "
2004.12.13 00:55:39
-> "pwd\n"
2004.12.13 00:55:39
<- "Working directory /home/manuelg.\n"
2004.12.13 00:55:39
<- "(gdb) "
2004.12.13 00:55:39
-> "info breakpoints\n"
2004.12.13 00:55:40
<- "No breakpoints or watchpoints.\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "show history filename\n"
2004.12.13 00:55:40
<- "The filename in which to record the command history is
\"/home/manuelg/.gdb_history\".\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "show history size\n"
2004.12.13 00:55:40
<- "The size of the command history is 50000.\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info sources\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info line main\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line MAIN\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info files\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info line main_\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info program\n"
2004.12.13 00:55:40
<- "The program being debugged is not being run.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line MAIN_\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line main__\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line MAIN__\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line _main\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line _MAIN\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line __main\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line __MAIN\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line my_main\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line the_main\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line vxworks_main\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info line main_vxworks\n"
2004.12.13 00:55:40
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "set confirm off\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "source /tmp/dddxPdSd1\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info breakpoints\n"
2004.12.13 00:55:40
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "# reset\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info breakpoints\n"
2004.12.13 00:55:40
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "display\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info display\n"
2004.12.13 00:55:40
<- "There are no auto-display expressions now.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "set environment TERM dumb\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info source\n"
2004.12.13 00:55:40
<- "No current source file.\n"
   "(gdb) "
2004.12.13 00:55:40
-> "info files\n"
2004.12.13 00:55:40
<- "(gdb) "
2004.12.13 00:55:40
-> "info program\n"
2004.12.13 00:55:40
<- "The program being debugged is not being run.\n"
   "(gdb) "
2004.12.13 00:55:41
-> "help detach\n"
2004.12.13 00:55:41
<- "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) "
#  Opening session "11c0a80178000110292093700000014450070"...done.
#  Welcome to DDD 3.3.10 "Toubidou" (i686-pc-linux-gnu)
2004.12.13 00:55:41
-> "help run\n"
2004.12.13 00:55:41
<- "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) "
2004.12.13 00:55:41
-> "help step\n"
2004.12.13 00:55:41
<- "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) "
2004.12.13 00:55:41
-> "help stepi\n"
2004.12.13 00:55:41
<- "Step one instruction exactly.\n"
   "Argument N means do this N times (or till program stops for another
reason).\n"
   "(gdb) "
2004.12.13 00:55:41
-> "help next\n"
2004.12.13 00:55:41
<- "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) "
2004.12.13 00:55:41
-> "help nexti\n"
2004.12.13 00:55:41
<- "Step one instruction, but proceed through subroutine calls.\n"
   "Argument N means do this N times (or till program stops for another
reason).\n"
2004.12.13 00:55:41
<- "(gdb) "
2004.12.13 00:55:41
-> "help until\n"
2004.12.13 00:55:41
<- "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"
2004.12.13 00:55:41
<- "(gdb) "
2004.12.13 00:55:41
-> "help finish\n"
2004.12.13 00:55:41
<- "Execute until selected stack frame returns.\n"
   "Upon return, the value returned is printed and put in the value
history.\n"
2004.12.13 00:55:41
<- "(gdb) "
2004.12.13 00:55:41
-> "help cont\n"
2004.12.13 00:55:41
<- "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) "
2004.12.13 00:55:41
-> "help signal\n"
2004.12.13 00:55:41
<- "Continue program giving it signal specified by the argument.\n"
   "An argument of \"0\" means continue program without giving it a
signal.\n"
   "(gdb) "
2004.12.13 00:55:41
-> "help kill\n"
2004.12.13 00:55:41
<- "Kill execution of program being debugged.\n"
   "(gdb) "
2004.12.13 00:55:41
-> "help up\n"
2004.12.13 00:55:41
<- "Select and print stack frame that called this one.\n"
   "An argument says how many frames up to go.\n"
   "(gdb) "
2004.12.13 00:55:41
-> "help down\n"
2004.12.13 00:55:41
<- "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:  BadFont (invalid Font parameter)
  Major opcode of failed request:  55 (X_CreateGC)
  Resource id in failed request:  0x28005b8
  Serial number of failed request:  9949
  Current serial number in output stream:  9960
  Widget hierarchy of resource:  unknown
!  X error
!  X error
!  X error
!  X error
!  X error
!  X error
!  X error
!  X error
!  X error
!  X error
!  X error
!  X error
!  X error
#  Saving options in "/home/manuelg/.ddd/init"...
#  Saving options in "/home/manuelg/.ddd/init"...done.
#  Deleting session "11c0a80178000110292093700000014450070"...
#  Current session is [none].
#  Deleting session "11c0a80178000110292093700000014450070"...done.
#  Running GDB (pid 23221, tty /dev/pts/0)...Exit 0.
#  Saving history in "/home/manuelg/.ddd/history"...
#  Saving history in "/home/manuelg/.ddd/history"...done.
#  Thanks for using DDD 3.3.10!  (We apologize for the inconvenience.)
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  57 (X_CopyGC)
  Resource id in failed request:  0x28005b8
  Serial number of failed request:  9951
  Current serial number in output stream:  10242
  Widget hierarchy of resource:  unknown


Thanks,

Manuel



-- 
Manuel L. Gonzalez-Garay, Ph.D.
Bioinformatics Research Laboratory(BRL)
Department of Molecular and Human Genetics
Baylor College of Medicine
N1619.03 One Baylor Plaza
Houston, TX 77030
------------------------------
Voice:  713.798.5543
Cell:   713.444.8110
FAX:  713.798.4373
******************************





reply via email to

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