Bug 22362 - Socket handoff deadlock
Summary: Socket handoff deadlock
Status: RESOLVED NOTABUG
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-19 01:39 UTC by Clemens Eisserer
Modified: 2009-07-26 16:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
simple test-case demonstrating the deadlock. (3.60 KB, text/plain)
2009-06-19 01:39 UTC, Clemens Eisserer
Details

Description Clemens Eisserer 2009-06-19 01:39:40 UTC
Created attachment 26950 [details]
simple test-case demonstrating the deadlock.

When using the new socket-handoff functionality I often encounter deadlocks inside of xcb.

A lot of discussion happend on the xcb mailinglist, but so far nobody was able to explain what exactly happens, nore what the problem is. It could be I am doing something wrong, but since there is no documentation at all ... who knows.
I tried myself to understand the problem, but my experience with posix/c is quite limited :-/

Attached is a simple single-threaded test-case which triggers the problem.

It would be really great if this could be fixed soon, Java would like to use self-generated protocol to speed up its rendering sooner than later ;)
Comment 1 Clemens Eisserer 2009-07-26 16:02:23 UTC
This was all my fault, by not inserting !void requests after 64k void requests.


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.