[Pkg-gridengine-devel] Bug#609914: gridengine-qmon: X Error of failed request: BadName (named color or font does not exist)

Philipp Kern pkern at debian.org
Thu Jan 13 19:17:27 UTC 2011


Package: gridengine-qmon
Version: 6.2u5-1
Severity: important

[ This might actually be serious, due to the missing dep.  I'm just assuming
that it actually works for someone out there. ]

Hi,

it seems that gridengine-qmon misses a dependency on a font package somewhere.
Upon start-up, I get this:

pkern at simplex:~$ qmon
Warning: Cannot convert string "-adobe-courier-medium-r-*--14-*-*-*-m-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-courier-bold-r-*--14-*-*-*-m-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-courier-medium-r-*--12-*-*-*-m-*-*-*" to type FontStruct
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  643
  Current serial number in output stream:  654

The program immediately terminates after that, so it doesn't start.

>From Google I found [1], which is no longer available, but thankfully still
present in the Wayback Machine[2].

Setting XMTDEBUGFONT yields this:

pkern at simplex:~$ qmon
FontListCvt:
->-adobe-helvetica-medium-r-*--14-*-*-*-p-*-*-*=R,-adobe-helvetica-bold-r-*--14-*-*-*-p-*-*-*=B,-adobe-helvetica-medium-r-*--20-*-*-*-p-*-*-*=BIG,-adobe-helvetica-medium-r-*--12-*-*-*-p-*-*-*=SMALL,-adobe-helvetica-medium-r-*--24-*-*-*-p-*-*-*=HUGE,-adobe-courier-medium-r-*--14-*-*-*-m-*-*-*=LIST,-adobe-courier-bold-r-*--14-*-*-*-m-*-*-*=LISTBOLD,-adobe-courier-medium-r-*--12-*-*-*-m-*-*-*=LISTSMALL,-adobe-helvetica-medium-r-*--10-*-*-*-p-*-*-*=QUEUEICON<-
------------------------
baselist[0]: '-adobe-helvetica-medium-r-*--14-*-*-*-p-*-*-*=R'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-helvetica-medium-r-*--14-*-*-*-p-*-*-* (R)'
baselist[0]: '-adobe-helvetica-bold-r-*--14-*-*-*-p-*-*-*=B'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-helvetica-bold-r-*--14-*-*-*-p-*-*-* (B)'
baselist[0]: '-adobe-helvetica-medium-r-*--20-*-*-*-p-*-*-*=BIG'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-helvetica-medium-r-*--20-*-*-*-p-*-*-* (BIG)'
baselist[0]: '-adobe-helvetica-medium-r-*--12-*-*-*-p-*-*-*=SMALL'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-helvetica-medium-r-*--12-*-*-*-p-*-*-* (SMALL)'
baselist[0]: '-adobe-helvetica-medium-r-*--24-*-*-*-p-*-*-*=HUGE'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-helvetica-medium-r-*--24-*-*-*-p-*-*-* (HUGE)'
baselist[0]: '-adobe-courier-medium-r-*--14-*-*-*-m-*-*-*=LIST'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-courier-medium-r-*--14-*-*-*-m-*-*-* (LIST)'
Warning: Cannot convert string "-adobe-courier-medium-r-*--14-*-*-*-m-*-*-*" to type FontStruct
baselist[0]: '-adobe-courier-bold-r-*--14-*-*-*-m-*-*-*=LISTBOLD'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-courier-bold-r-*--14-*-*-*-m-*-*-* (LISTBOLD)'
Warning: Cannot convert string "-adobe-courier-bold-r-*--14-*-*-*-m-*-*-*" to type FontStruct
baselist[0]: '-adobe-courier-medium-r-*--12-*-*-*-m-*-*-*=LISTSMALL'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-courier-medium-r-*--12-*-*-*-m-*-*-* (LISTSMALL)'
Warning: Cannot convert string "-adobe-courier-medium-r-*--12-*-*-*-m-*-*-*" to type FontStruct
baselist[0]: '-adobe-helvetica-medium-r-*--10-*-*-*-p-*-*-*=QUEUEICON'
font_type: 'XmFONT_IS_FONT'
bs: '-adobe-helvetica-medium-r-*--10-*-*-*-p-*-*-* (QUEUEICON)'
XmFONT_IS_FONT: R
XmFONT_IS_FONT: B
XmFONT_IS_FONT: BIG
XmFONT_IS_FONT: SMALL
XmFONT_IS_FONT: HUGE
XmFONT_IS_FONT: LIST
XmFONT_IS_FONT: LISTBOLD
XmFONT_IS_FONT: LISTSMALL
XmFONT_IS_FONT: QUEUEICON
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
XmFontListEntryGetTag (entry=0x0) at ../../../lib/Xm-2.1/FontList.c:489
489	../../../lib/Xm-2.1/FontList.c: No such file or directory.
	in ../../../lib/Xm-2.1/FontList.c
(gdb) bt
#0  XmFontListEntryGetTag (entry=0x0) at ../../../lib/Xm-2.1/FontList.c:489
#1  0x00000000004f0373 in XmtConvertStringToXmFontList ()
#2  0x00000000004f0301 in XmtConvertStringToXmFontList ()
#3  0x00007ffff73f1d37 in CallConverter (dpy=0x7ffff505e000, converter=0x4eff10 <XmtConvertStringToXmFontList>, args=0x7fffffffbd40, num_args=1, from=0x7fffffffd6b0, 
    to=0x7fffffffd6a0, cache_ref_return=0x0, cP=0x7ffff509fe40) at ../../src/Convert.c:808
#4  0x00007ffff73f2179 in _XtConvert (widget=0x7ffff5077db0, from_type=<value optimized out>, from=0x7fffffffd6b0, to_type=325, to=0x7fffffffd6a0, cache_ref_return=0x0)
    at ../../src/Convert.c:896
#5  0x00007ffff740ef89 in GetResources (widget=0x7ffff5077db0, base=0x7ffff5077db0 "\260}\a\365\377\177", names=0x7fffffffd9e0, classes=0x7fffffffd910, 
    table=<value optimized out>, num_resources=56, quark_args=0x7fffffffd780, args=0x0, num_args=0, typed_args=0x7ffff5048e80, pNumTypedArgs=0x7fffffffdf60, tm_hack=4 '\004')
    at ../../src/Resources.c:847
#6  0x00007ffff7410151 in _XtGetResources (w=0x7ffff5077db0, args=0x0, num_args=0, typed_args=0x7ffff5048e80, num_typed_args=0x7fffffffdf60) at ../../src/Resources.c:1053
#7  0x00007ffff73f853d in xtCreate (name=<value optimized out>, class=0x0, widget_class=0x7ffff7bc7160, parent=0x7ffff202ac00, default_screen=0x7ffff5048200, args=0x0, 
    num_args=0, typed_args=0x7ffff5048e80, num_typed_args=4, parent_constraint_class=0x7ffff7bccc00, post_proc=0x7ffff73f7d50 <widgetPostProc>) at ../../src/Create.c:383
#8  0x00007ffff73f8f78 in _XtCreateWidget (name=0x653b4a "StartupLabel", widget_class=0x7ffff7bc7160, parent=0x7ffff202ac00, args=0x0, num_args=0, typed_args=0x7ffff5048e80, 
    num_typed_args=4) at ../../src/Create.c:562
#9  0x00007ffff74290c9 in _XtVaCreateWidget (name=0x653b4a "StartupLabel", widget_class=0x7ffff7bc7160, parent=0x7ffff202ac00, var=<value optimized out>, 
    count=<value optimized out>) at ../../src/VarCreate.c:84
#10 0x00007ffff74292f4 in XtVaCreateManagedWidget (name=0x653b4a "StartupLabel", widget_class=0x7ffff7bc7160, parent=0x7ffff202ac00) at ../../src/VarCreate.c:139
#11 0x00000000004294f7 in ?? ()
#12 0x00000000004146b4 in ?? ()
#13 0x00007ffff5e67c4d in __libc_start_main () from /lib/libc.so.6
#14 0x0000000000414259 in ?? ()
#15 0x00007fffffffe478 in ?? ()
#16 0x000000000000001c in ?? ()
#17 0x0000000000000001 in ?? ()
#18 0x00007fffffffe701 in ?? ()
#19 0x0000000000000000 in ?? ()

Kind regards
Philipp Kern

[1] http://gridengine.sunsource.net/howto/qmon/qmon_custom.html
[2] http://web.archive.org/web/20080427081705/http://gridengine.sunsource.net/howto/qmon/qmon_custom.html

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-rc7-pkern (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gridengine-qmon depends on:
ii  debconf [debconf-2.0]     1.5.36         Debian configuration management sy
ii  gridengine-common         6.2u5-1        Distributed resource management - 
ii  lesstif2                  1:0.95.2-1     OSF/Motif 2.1 implementation relea
ii  libc6                     2.11.2-7       Embedded GNU C Library: Shared lib
ii  libice6                   2:1.0.6-2      X11 Inter-Client Exchange library
ii  libsm6                    2:1.1.1-1      X11 Session Management library
ii  libx11-6                  2:1.3.3-4      X11 client-side library
ii  libxext6                  2:1.1.2-1      X11 miscellaneous extension librar
ii  libxmu6                   2:1.0.5-2      X11 miscellaneous utility library
ii  libxp6                    1:1.0.0.xsf1-2 X Printing Extension (Xprint) clie
ii  libxpm4                   1:3.5.8-1      X11 pixmap library
ii  libxt6                    1:1.0.7-1      X11 toolkit intrinsics library

gridengine-qmon recommends no packages.

gridengine-qmon suggests no packages.

-- debconf information:
* shared/gridenginemaster: simplex.0x539.de
* shared/gridenginecell: default
* shared/gridengineconfig: true





More information about the Pkg-gridengine-devel mailing list