Bug 6253 - XGetImage() doesn't work well with XQuartz
Summary: XGetImage() doesn't work well with XQuartz
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/XQuartz (show other bugs)
Version: unspecified
Hardware: All Mac OS X (All)
: medium normal
Assignee: Jeremy Huddleston Sequoia
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 99218 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-14 06:02 UTC by Ian Osgood
Modified: 2018-12-13 18:30 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Ian Osgood 2006-03-14 06:02:55 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.

Testing on Mac OS X 10.4 against both Apple's shipping XFree86-based server and the latest X.org server 
running on Bart's box.  Exact same symptom as bug 5375, xcb_image.c:471 call to 
XCBShmGetImageReply(), but the hang does not occur running "lissajoux 1" on Linux-x86.
Comment 1 Ian Osgood 2006-04-30 02:46:57 UTC
At some point, it stopped hanging. Recently, XCBShmGetImageReply() started returning a NULL reply (and 
not filling in an error) instead causing an assert in lissajoux.

I'm not sure when this behavior changed. Possible commits:
c29cb222f328baa17af3443695a29c245f4a9ba5
Comment 2 Ian Osgood 2007-04-13 15:32:09 UTC
As it is now written, lissajoux 1 fails on both PPC and Intel Macs with this error output:

ShmGetImageReply error 2
lissajoux.c:56: failed assertion `i'

so endianness is not the problem.  (2 is XCB_BAD_VALUE)
Comment 3 chemtech 2013-03-26 08:02:16 UTC
Ian Osgood,
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Or close this bug.
Comment 4 Jeremy Huddleston Sequoia 2016-05-29 17:29:37 UTC
This has been a longstanding issue with XQuartz that nobody has ever cared enough to fix.
Comment 5 Jeremy Huddleston Sequoia 2016-12-31 21:34:05 UTC
*** Bug 99218 has been marked as a duplicate of this bug. ***
Comment 6 GitLab Migration User 2018-12-13 18:30:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/186.


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.