Bug#252895: xbase-clients apps crash
I have the same problem with every app from xbase-clients package that needs to
display some font (xmessage, xfontsel, xcalc, etc.). They hang immediately
after launching:
$ xcalc
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 45 (X_OpenFont)
Value in failed request: 0x2200009
Serial number of failed request: 40
Current serial number in output stream: 41
When invoked with LC_ALL=C (or LANG=C), every app starts fine.
Other Athena apps (like xdvi) work fine.
But the problem with xfontsel remains even if started with LC_ALL=C. When I
select foundry monotype or microsoft, xfontsel hangs with the same error as
above. When I select family (e.g. Arial) first and then foundry (monotype),
xfontsel works. But then when I unselect family, xfontsel hangs.
$ dpkg -S /usr/X11R6/lib/X11/fonts
gsfonts-x11, xfonts-biznet-100dpi, xfonts-biznet-base, xfonts-intl-european, xfonts-base, xfonts-scalable, xfonts-100dpi, xfonts-biznet-75dpi, xfonts-base-transcoded, xfonts-100dpi-transcoded, xfonts-75dpi, xfonts-75dpi-transcoded: /usr/X11R6/lib/X11/fonts
$ grep FontPath /etc/X11/XF86Config-4
#FontPath "unix/:7100"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/local/share/fonts/truetype"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
If I remove font paths to truetype fonts or change FontPath order to
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/local/share/fonts/truetype"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
every app starts fine.
Thank you,
Martin Kourim
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-1-k7
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ
Versions of packages xbase-clients depends on:
ii cpp 4:3.3.4-2 The GNU C preprocessor (cpp)
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libdps1 4.3.0.dfsg.1-4 Display PostScript (DPS) client li
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libfontconfig1 2.2.3-1 generic font configuration library
ii libfreetype6 2.1.7-2.2 FreeType 2 font engine, shared lib
ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libpng12-0 1.2.5.0-7 PNG library - runtime
ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
ii libstdc++5 1:3.3.4-6sarge1.2 The GNU Standard C++ Library v3
ii libxaw7 4.3.0.dfsg.1-4 X Athena widget set library
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxi6 4.3.0.dfsg.1-4 X Window System Input extension li
ii libxmu6 4.3.0.dfsg.1-4 X Window System miscellaneous util
ii libxmuu1 4.3.0.dfsg.1-4 lightweight X Window System miscel
ii libxpm4 4.3.0.dfsg.1-4 X pixmap library
ii libxrandr2 4.3.0.dfsg.1-4 X Window System Resize, Rotate and
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii libxt6 4.3.0.dfsg.1-4 X Toolkit Intrinsics
ii libxtrap6 4.3.0.dfsg.1-4 X Window System protocol-trapping
ii libxtst6 4.3.0.dfsg.1-4 X Window System event recording an
ii libxv1 4.3.0.dfsg.1-4 X Window System video extension li
ii xlibmesa-gl [libgl1] 4.3.0.dfsg.1-4 Mesa 3D graphics library [XFree86]
ii xlibmesa-glu [libglu1] 4.3.0.dfsg.1-4 Mesa OpenGL utility library [XFree
ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries m
ii xlibs-data 4.3.0.dfsg.1-4 X Window System client data
ii zlib1g 1:1.2.1.1-7 compression library - runtime
-- no debconf information
Reply to: