Bug 5375 - xcb-demo/tests/lissajoux hangs in XCBImageSHMGet()
Summary: xcb-demo/tests/lissajoux hangs in XCBImageSHMGet()
Status: RESOLVED WORKSFORME
Alias: None
Product: XCB
Classification: Unclassified
Component: Demos (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Bart Massey
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-18 12:24 UTC by Bart Massey
Modified: 2006-04-17 23:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Bart Massey 2005-12-18 12:24:57 UTC
Specifically, when invoked with argument 1 to get shared memory, lissajoux will
hang in its first attempt to force the cookie returned by XCBImageSHMGet(). 
This call is hung inside XCBShmGetImage(), which is in turn hung in the bowels
of XCB waiting for a reply which apparently never comes.  Whee.
Comment 1 Daniel Stone 2006-02-19 12:54:13 UTC
(sorry for the noise, just testing bz)
Comment 2 Bart Massey 2006-02-20 10:27:11 UTC
I should have assigned myself this.
Comment 3 Bart Massey 2006-02-20 10:28:44 UTC
I fixed this long ago, but didn't realize there was a Bugzilla bug for it.  In
brief, code in xcb-util had an off-by-one that was causing it to infinite loop.
Comment 4 Ian Osgood 2006-03-02 06:07:14 UTC
This is still a problem for me testing on Mac OS X 10.4.  Exact same hang point, xcb_image.c:471 call to 
XCBShmGetImageReply()
Comment 5 Bart Massey 2006-03-02 15:34:57 UTC
I can't reproduce this bug on my x86 box, which makes me think it is a separate
bug.  The bug I reported and fixed still seems to be fixed in the source; it was
a complicated interaction involving an off-by-one in XCBAuxGetScreen() and
failure to pass structures by address that were being modified in lissajoux.c.

More information about the failure should be gathered and probably a new bug filed.


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.