Re: segfault in cairo-xcb-surface-render.c

thorsten <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
>> Hi Thorsten,
>>
>> The fix seems sane enough, but I am not able to reproduce the bug, using
>> cairo 1.12.16 and firefox 29 on the URL you provided.  Mind filing a
>> bugzilla bug on this with a backtrace, to give a reference for the bug?
>
> The fix is
>
> index 9625953..54307d5 100644
> --- a/src/cairo-xcb-surface-render.c
> +++ b/src/cairo-xcb-surface-render.c
> @@ -3121,6 +3121,9 @@ _clip_and_composite_boxes (cairo_xcb_surface_t *dst,
>
>         clip = _cairo_clip_copy (extents->clip);
>         clip = _cairo_clip_intersect_boxes (clip, boxes);
> +       if (_cairo_clip_is_all_clipped (clip))
> +           return CAIRO_INT_STATUS_NOTHING_TO_DO;
> +
>         status = _cairo_clip_get_polygon (clip, &polygon,
>                                           &fill_rule, &antialias);
>         _cairo_clip_path_destroy (clip->path);
>
> -Chris


Hi Chris and Bryce,

thanks for your replies! Do you folks still need the backtrace and
bugzilla, since Chris seems to have the fix handy? If so, I would try to
get it done within today or tomorrow.

regards,

thorsten
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.