[cairo-bugs] [Bug 17096] nautilus crashed with SIGSEGV in cairo_surface_get_font_options ()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 12 13:33:35 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=17096





--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk>  2008-08-12 13:33:33 PST ---
My educated guess is that 0xb78086a0 is an error surface, on which we attempt
to initialize the font_options, hence the SIGSEGV.

Can you test this? (If I am right, you still won't see the desired result but
the crash should be resolved.)

commit c73b3e43e120065e40d8fc48c9bdbd88ebe8ab40
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Aug 12 21:21:20 2008 +0100

    [cairo-surface] Check for the error surface in _get_font_options()

    cairo_surface_get_font_options() has the side effect of initialising the
    font options on the surface, but fails to check that the surface is
    valid first. Therefore if we are passed a read-only error object, we will
    trigger a segmentation fault.

    Most likely this is the bug behind:
    http://bugs.freedesktop.org/show_bug.cgi?id=17096.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list