Bug 78181 - segfault in cairo-xcb-surface-render.c
Summary: segfault in cairo-xcb-surface-render.c
Status: RESOLVED DUPLICATE of bug 77931
Alias: None
Product: cairo
Classification: Unclassified
Component: xcb backend (show other bugs)
Version: 1.12.16
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Uli Schlachter
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-02 09:30 UTC by fly_b747
Modified: 2014-05-02 09:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
backtrace of segfault (12.25 KB, text/plain)
2014-05-02 09:30 UTC, fly_b747
Details

Description fly_b747 2014-05-02 09:30:10 UTC
Created attachment 98331 [details]
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.
Comment 1 Uli Schlachter 2014-05-02 09:48:05 UTC

*** This bug has been marked as a duplicate of bug 77931 ***


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.