Bug 85372 - 1.14 crash on cairo_stroke, antialias, fractional line width
Summary: 1.14 crash on cairo_stroke, antialias, fractional line width
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: image backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium critical
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-23 15:54 UTC by Matthew Flatt
Modified: 2015-03-07 22:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
example program that crashes (532 bytes, text/plain)
2014-10-23 15:54 UTC, Matthew Flatt
Details

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:

http://cgit.freedesktop.org/cairo/commit/?id=2de69581c28bf115852037ca41eba13cb7335976
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.