> I don't know if this is related, but I had crashes of Firefox on some
> sites too. My Firefox was compiled against cairo, this is where the
> segfault happened. This is the bug in cairo:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=77931
>
> the fix is
>
> https://bugs.freedesktop.org/attachment.cgi?id=97959
>
> my cairo is 1.12.16.
Apologies,
rereading the bugreport I saw that the link to the patch above is not
correct. The patch applied by the cairo developers is:
--- cairo-1.12.16/src/cairo-xcb-surface-render.c.orig 2014-05-03
09:26:50.174111865 +0200
+++ cairo-1.12.16/src/cairo-xcb-surface-render.c 2014-05-03
09:32:06.702121385 +0200
@@ -3121,6 +3121,9 @@
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);
regards
thorsten
--- cairo-1.12.16/src/cairo-xcb-surface-render.c.orig 2014-05-03
09:26:50.174111865 +0200
+++ cairo-1.12.16/src/cairo-xcb-surface-render.c 2014-05-03
09:32:06.702121385 +0200
@@ -3121,6 +3121,9 @@
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);
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page