[Xcb] [Bug 17010] Bad error handling in Multi-threaded environment

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 11 05:06:53 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=17010





--- Comment #7 from ykaston <ykaston at gmail.com>  2009-10-11 05:06:51 PST ---
Created an attachment (id=30270)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=30270)
Locked simplified test

I have added some pthread locking that allows the secondary thread to start and
get to XNextEvent before the main thread starts with its test. Instead of
resulting in "failed when npixels == 54" (first step in the loop), it exits
with: "XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server
"<machine>:0.0"
      after 7 requests (6 known processed) with 0 events remaining."
If still needed, I can test with some other syncronous API that may process
protocol errors.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Xcb mailing list