Bug 773722

Summary: xterm stalls in _XQueryFont
Product: [Fedora] Fedora Reporter: Sami Farin <hvtaifwkbgefbaei>
Component: libX11Assignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: kem, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-14 03:07:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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..