Bug 86422

Summary: restest locks up with server grab
Product: [Retired] Red Hat Linux Reporter: Owen Taylor <otaylor>
Component: XFree86Assignee: Mike A. Harris <mharris>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: blizzard
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-23 16:17:12 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 Owen Taylor 2003-03-21 19:38:43 UTC
The restest.c test program that was incorporated into
our X packages does printf()'s inside XGrabServer().

This is real bad, because printf() can block on the
terminal emulator, which is blocking on the server,
so the X session hangs with a server grab.
 
The program needs to retrieve everything, store it,
ungrab the server, XFlush(TheDisplay), then print
stuff out.

(If you don't XFlush(), then the server probably won't
get the ungrab.)

Comment 1 Mike A. Harris 2003-04-03 22:36:40 UTC
bliz: Is this possibly what you were seeing eons ago?

Comment 2 Christopher Blizzard 2003-04-09 04:10:32 UTC
No, I don't think so.

Comment 3 Owen Taylor 2003-04-09 14:44:59 UTC
Reopening, since there is nothing NEEDINFO here any more.

Comment 4 Mike A. Harris 2004-09-23 16:17:12 UTC
We ship xrestop now, which supercedes the 'restest' hack MarkV
wrote.  Setting status to "CURRENTRELEASE" of FC2 with xrestop