Bug 773722 - xterm stalls in _XQueryFont
Summary: xterm stalls in _XQueryFont
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: libX11
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-12 17:29 UTC by Sami Farin
Modified: 2014-06-18 09:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-14 03:07:15 UTC
Type: ---


Attachments (Terms of Use)

Description Sami Farin 2012-01-12 17:29:13 UTC
Description of problem:

xterm stalls without receiving reply from _XQueryFont.
The same happens with urxvt256c if I specify a font, BUT it works OK with the default font..!

I have tried with libxcb-1.8 and 1.7.
I have xserver git-e722ad6c3efa57b806c.

19:11:24.087749 writev(3, [{"-\0\21\0&\0`\0046\0NT-Misc-Fixed-medium-R-*-*-13-120-75-75-C-120-ISO10646-1\2\0/\0\2\0&\0`\4", 76}, {NULL, 0}, {"", 0}], 3) = 76 <0.000012>
19:11:24.087833 poll([{fd=3, events=POLLIN}], 1, -1^C <unfinished ...>

#0  0x0000003004ce6408 in poll () from /lib64/libc.so.6
#1  0x00007fb3f0ca8032 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007fb3f0ca948f in wait_for_reply () from /usr/lib64/libxcb.so.1
#3  0x00007fb3f0ca96ab in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#4  0x0000003001a4623c in _XReply () from /usr/lib64/libX11.so.6
#5  0x0000003001a24b09 in _XQueryFont () from /usr/lib64/libX11.so.6
#6  0x0000003001a25aa6 in XLoadQueryFont () from /usr/lib64/libX11.so.6
#7  0x0000000000429102 in xtermOpenFont ()
#8  0x000000000042c06b in xtermLoadFont ()
#9  0x000000000042494f in VTRealize ()
#10 0x0000003024c2aa31 in RealizeWidget () from /usr/lib64/libXt.so.6
#11 0x0000003024c2aba0 in RealizeWidget () from /usr/lib64/libXt.so.6
#12 0x0000003024c2ae68 in XtRealizeWidget () from /usr/lib64/libXt.so.6
#13 0x000000000041b365 in VTInit ()
#14 0x0000000000432a69 in spawnXTerm ()
#15 0x0000000000408010 in main ()


Version-Release number of selected component (if applicable):
libX11-1.4.99.1-2.fc17

How reproducible:
always

Steps to Reproduce:
1. xterm
2.
3.
  
Actual results:
hangs

Expected results:
not hanging

Additional info:

Comment 1 Sami Farin 2012-01-14 03:07:15 UTC
evidently, the culprit was non-tested code which got into the official xorg git.

works now with fc17 xorg..


Note You need to log in before you can comment on or make changes to this bug.