Bug 78181

Summary: segfault in cairo-xcb-surface-render.c
Product: cairo Reporter: fly_b747
Component: xcb backendAssignee: Uli Schlachter <psychon>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.16   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: backtrace of segfault

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.