xboard: X Error of failed request: BadName (named color or font does not exist)
Hi strike force,
I filed a bug against the package xboard. But as I investigate it further it
seems to be a more general problem. As I'm not so familiar with the xorg /
font system, I thought it might be the right place to ask, if you have any
clue where the problem comes from. (Maybe I did something wrong and am
spaming the list ;o)
It shows to me that not only xboard has problems, but also other progs like
eboard: not showing fonts and menus
xditview: starts up but throws a warning:
Warning: Cannot convert
string "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" to type
FontStruct
Here the xboard bugreport:
################ start bugreport
Package: xboard
Version: 4.2.7-6
Severity: important
This behavior appeared after an upgrade, *without* xboard being
upgraded. I assume its a encoding/font problem. In my env settings there
is a new LANG=en_US.UTF-8, but all applications defaults in /etc say
iso8859:
Example:
X11/app-defaults/Xditview-chrtr:H
-*-helvetica-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
There is no default in /etc for xboard
Here is the whole line of the error message:
oliver@luke:~$ xboard
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: 18
Current serial number in output stream: 19
Now whats strace says (short version)
access("/usr/lib/X11/en_US.UTF-8/app-defaults/XBoard", R_OK) = -1 ENOENT
(No such file or directory)
access("/usr/lib/X11/en/app-defaults/XBoard", R_OK) = -1 ENOENT (No such
file or directory)
access("/usr/lib/X11/app-defaults/XBoard", R_OK) = -1 ENOENT (No such
file or directory)
access("/etc/X11/en_US.UTF-8/app-defaults/XBoard-color", R_OK) = -1
ENOENT (No such file or directory)
access("/etc/X11/en/app-defaults/XBoard-color", R_OK) = -1 ENOENT (No
such file or directory)
access("/etc/X11/app-defaults/XBoard-color", R_OK) = -1 ENOENT (No such
file or directory)
access("/etc/X11/en_US.UTF-8/app-defaults/XBoard", R_OK) = -1 ENOENT (No
such file or directory)
access("/etc/X11/en/app-defaults/XBoard", R_OK) = -1 ENOENT (No such
file or directory)
access("/etc/X11/app-defaults/XBoard", R_OK) = -1 ENOENT (No such file
or directory)
write(3, "\20\1\t\0\33\0\0\0XDCCC_LINEAR_RGB_CORRECT"..., 36) = 36
read(3, "\1\0\v\0\0\0\0\0\216\0\0\0\0\0\0\0$\0\0\0$\0\0\0(\0\0\0"...,
32) = 32
write(3, "\20\1\t\0\31\0\0\0XDCCC_LINEAR_RGB_MATRICE"..., 36) = 36
read(3, "\1\0\f\0\0\0\0\0\217\0\0\0\0\0\0\0$\0\0\0$\0\0\0(\0\0\0"...,
32) = 32
write(3, "\24\0\6\0L\0\0\0\217\0\0\0\23\0\0\0\0\0\0\0t\31\0\0", 24) = 24
read(3, "\1\0\r\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\30\0\0\0(\0\0"..., 32)
= 32
write(3, "T\0\4\0 \0\0\0\0\356\0\356\0\346\0\0", 16) = 16
read(3, "\1\0\16\0\0\0\0\0\276\357\276\357\235\347\0\0|\357\0\0"..., 32)
= 32
stat64("/usr/lib/X11/Xcms.txt", 0xafd35fdc) = -1 ENOENT (No such file or
directory)
writev(3, [{"U\0\5\0 \0\0\0\5\0\0\356", 12}, {"black", 5}, {"\0\0\0",
3}], 3) = 20
read(3, "\1\0\17\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0(\0\0"..., 32)
= 32
getpid() = 567
gettimeofday({1151181940, 526660}, {4294967176, 0}) = 0
write(3, "\20\1\6\0\20\0\0\0WM_DELETE_WINDOW", 24) = 24
read(3, "\1\0\20\0\0\0\0\0A\1\0\0\0\0\0\0\30\0\0\0\30\0\0\0(\0\0"...,
32) = 32
writev(3, [{"1\1\r\0?B+\0", 8}, {"-*-helvetica-bold-r-normal--*-*-"...,
43}, {"\0", 1}], 3) = 52
read(3, "\1\260\21\0\203\t\0\0\240\0\0\0\220\254\224\10\250\260"..., 32)
= 32
readv(3, [{"<-adobe-helvetica-bold-r-normal-"..., 9740}, {"", 0}], 2) =
9740
writev(3, [{"-\1\23\0\1\0`\3>\0_D-adobe-helvetica-bol"..., 84},
{"XFree86-Bigfont", 15}, {"\0", 1}], 3) = 100
read(3, "\0\17\22\0\1\0`\3\0\0-\0\334\253\304\257@\0\16\0\0\0\0"..., 32)
= 32
open("/usr/share/X11/XErrorDB", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=37893, ...}) = 0
brk(0x81d6000) = 0x81d6000
read(4, "! $Xorg: XErrorDB,v 1.3 2000/08/"..., 37893) = 37893
close(4) = 0
write(2, "X Error of failed request: BadN"..., 75X Error of failed
request: BadName (named color or font does not exist)
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages xboard depends on:
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library
ii libsm6 1:1.0.0-4 X11 Session Management library
ii libx11-6 2:1.0.0-6 X11 client-side library
ii libxext6 1:1.0.0-4 X11 miscellaneous extension
librar
ii libxmu6 1:1.0.1-3 X11 miscellaneous utility library
ii libxpm4 1:3.5.4.2-3 X11 pixmap library
ii libxt6 1:1.0.0-5 X11 toolkit intrinsics library
ii xaw3dg 1.5+E-14 Xaw3d widget set
Versions of packages xboard recommends:
ii xfonts-100dpi 1:1.0.0-2 100 dpi fonts for X
ii xfonts-75dpi 1:1.0.0-2 100 dpi fonts for X
-- no debconf information
########## End bug report
Please cc: me because I'm not on the list. Thanx in advance,
Oliver
--
---------------------------------------------------------------------
Sticker: I didn't fight my way to the top of the food chain to be a
vegetarian.
---------------------------------------------------------------------
Reply to: