[cairo-bugs] [Bug 78181] New: segfault in cairo-xcb-surface-render.c

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 2 02:30:10 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78181

          Priority: medium
            Bug ID: 78181
          Assignee: psychon at znc.in
           Summary: segfault in cairo-xcb-surface-render.c
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: fly_b747 at gmx.de
          Hardware: x86 (IA32)
            Status: NEW
           Version: 1.12.16
         Component: xcb backend
           Product: cairo

Created attachment 98331
  --> https://bugs.freedesktop.org/attachment.cgi?id=98331&action=edit
backtrace of segfault

Hello all,

when using a Firefox compiled against cairo 1.12.16 I get a segfault
when visiting some webpages, eg when scrolling an expose on
www.immobilienscout24.de.

debugging the problem with gdb led me to line 3125 of
cairo-xcb-surface-render.c:

_cairo_clip_path_destroy (clip->path);

where on that webpage for reasons I don't know clip->path = NULL

I changed the line to

if (clip->path != NULL) _cairo_clip_path_destroy (clip->path);

which fixes the segfault.

a Backtrace is attached.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140502/6e2e8423/attachment.html>


More information about the cairo-bugs mailing list