Bug 85372

Summary: 1.14 crash on cairo_stroke, antialias, fractional line width
Product: cairo Reporter: Matthew Flatt <mflatt>
Component: image backendAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Mac OS X (All)   
i915 platform: i915 features:
Attachments: example program that crashes

Description Matthew Flatt 2014-10-23 15:54:04 UTC
Created attachment 108306 [details]
example program that crashes

I get a concistsnt segfault with the enclosed program on 1.14, and not on 1.12.16.

I used OS X, but the crash's stack trace is consistent with one reported by
a Racket user on 64-bit Linux (Debian unstable).

Using a different back end, making the image size smaller, removing the call
to enable antialiasing, removing the line-width adjustment, or dropping one
of the line-tos makes the crash go away for 1.14.
Comment 1 Adrian Johnson 2014-10-26 00:03:46 UTC
Works with master. Fails with 1.14.0. Looks like this patch fixed it:

Comment 2 Bryce Harrington 2015-03-07 22:19:07 UTC
As per comment #1, this bug is already fixed in trunk and will be included in 1.14.2.

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.