Bug 22362

Summary: Socket handoff deadlock
Product: XCB Reporter: Clemens Eisserer <linuxhippy>
Component: LibraryAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED NOTABUG QA Contact: xcb mailing list dummy <xcb>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: simple test-case demonstrating the deadlock.

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.