Summary: | huge delay in XtConvertAndStore with utf8 locale | ||
---|---|---|---|
Product: | xorg | Reporter: | Zsolt Barat <joy> |
Component: | Lib/Xt | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED WORKSFORME | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | high | CC: | agriffis, jeremyhu, pva |
Version: | 6.8.0 | Keywords: | i18n |
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | 2011BRB_Reviewed | ||
i915 platform: | i915 features: |
Description
Zsolt Barat
2005-02-05 13:46:15 UTC
I'm seeing this also, on alpha and amd64 (both 64-bit, but the original report here is 32-bit) I'm also on Gentoo, with xorg-x11-6.8.2-r1 installed on both machines. One way to repeat the problem is to try to pop up the font menu in xterm (ctrl-right-button). X starts grinding and takes about 1 minute to recover before the menu will show. The other methods mentioned above (xcalc or xfontsel) also reproduce the problem for me. The only message I get is Warning: Missing charsets in String to FontSet conversion I have set in the environment: LANG=en_US.utf8 If I unset LANG prior to running xcalc, it comes up normally with no delay. Did some ltracing when running gvim. The long delay is clearly happening in XtConvertAndStore. (Remember that this is gvim built with Athena widgets, not gtk) $ ltrace -t gvim &> gvim-times.ltrace .... 15:20:52 XtScreen(0x120243420, 105, 0x12041e960, 0x1000002af, 2) = 0x12022e830 15:20:52 XRootWindowOfScreen(0x12022e830, 105, 0x12041e960, 0x1000002af, 2) = 56 15:20:52 XtDisplay(0x120243420, 105, 0x12041e960, 0x1000002af, 2) = 0x1202299e0 15:20:52 XGetIconSizes(0x1202299e0, 56, 0x11fffe390, 0x11fffe2a0, 2) = 0 15:20:52 XpmCreatePixmapFromData(0x1202299e0, 56, 0x120200a70, 0x12020a0d0, 0x12020a0d8) = 0 15:20:52 XtConvertAndStore(0x120243420, 0x20000974abb, 0x11fffe1a0, 0x20000974ba0, 0x11fffe1b0Warning: Missing charsets in String to FontSet conversion ) = 1 ** note huge delay here (and Warning above) ** 15:22:15 XLoadQueryFont(0x1202299e0, 0x11fffe250, 320, 0x1201a544b, 0x2000063) = 0x120486210 15:22:15 XSetFont(0x1202299e0, 0x120436c60, 0x1800008, 10, 2) = 1 15:22:15 XawInitializeWidgetSet(0x11fffc060, 8192, 0x200000a197a, 0x20000000299, 4) = 0 15:22:15 XtAddConverter(0x20000974abb, 0x20000974a84, 0x200008f22f0, 0, 0) = 0x120494d20 15:22:15 XmuCreateStippledPixmap(0x12022e830, 1, 0, 1, 9) = 0x1800009 15:22:15 XtAddCallback(0x1204ad830, 0x20000974528, 0x120176fd0, 0, 1) = 1 .... I also tested with only /usr/share/fonts/misc/ in my font path (using xset fp=). This reduces the delay considerably, but it was still there, and the warning still appeared. So the problem is not due to esoteric fonts in my font path. Possibly related to #4939? Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future. Moving to a more appropriate component. Is this still an issue? Currently I'm unable to reporduce this issue with xfig. Thanks |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.