Bug 18588

Summary: XCB backend fails with missing render
Product: cairo Reporter: Julien Danjou <julien>
Component: xcb backendAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: major    
Priority: medium    
Version: 1.8.4   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to fix this bug

Description Julien Danjou 2008-11-18 01:15:14 UTC
Created attachment 20396 [details] [review]
Patch to fix this bug

Hi,

If XCB backend is use on a X display without RENDER extension, cairo will cause a segmentation fault because it uses query RENDER version without checking for the extension presence.

The attached patch fix this bug.

Cheers.
Comment 1 Chris Wilson 2008-12-14 05:06:32 UTC
I've pushed the commit to both master and 1.8 branches.

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.