Summary: | My program runs successfully with Cairo-1.10.2, but getting SIGSEGV with 1.12.2. | ||
---|---|---|---|
Product: | cairo | Reporter: | Hakki Dogusan <dogusanh> |
Component: | win32 backend | Assignee: | cairo-bugs mailing list <cairo-bugs> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | blocker | ||
Priority: | medium | ||
Version: | 1.12.2 | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 68382 | ||
Attachments: | quick hack |
Description
Hakki Dogusan
2012-08-04 14:08:28 UTC
Created attachment 85688 [details] [review] quick hack This is a quick hack that apparently fixes the issue in this example and in the snippet code described in the thread related to http://lists.cairographics.org/archives/cairo/2013-September/024626.html Basically it enlarges the fallback surface created of the amount necessary not to write past the end of the DIB. It assumes that Clip applied to an HDC are clamped to (0,0,width,height) of the HDC. HTH The patch (attachment 85688 [details] [review]) appears to be fixing my problems with RGBA windows ( https://bugzilla.gnome.org/show_bug.cgi?id=727316 and http://lists.cairographics.org/archives/cairo/2014-April/025147.html ). The patch (attachment 85688 [details] [review]) seems to work for me, too. We have incorporated the patch into our build of Cairo to be distributed with the next release of Racket. Thanks, patch applied: cca8b19..91f128b master -> master |
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.