[cairo-bugs] [Bug 38482] [bisected] cairo-perf-trace crashes on xcb backend with some traces

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 24 07:04:23 PDT 2011


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

--- Comment #5 from Uli Schlachter <psychon at znc.in> 2011-06-24 07:04:18 PDT ---
Ouch. Not only surface->precision is uninitialized (which isn't that bad),
connection->force_precision isn't initialized either. I guess I were just lucky
that that field contained 0 while you were hit by a value of 0x60.

Could you test if this commit fixes the problem?
Thanks for finding and reporting.

commit 144c912860af6e60e1bdbeee31fe686c9c5e550d
Author: Uli Schlachter <psychon at znc.in>
Date:   Fri Jun 24 15:52:59 2011 +0200

    xcb: Initialize the new precision fields

    In 63bdae27a83, new fields were added to cairo_xcb_connection_t and
    cairo_xcb_surface_t. The same change was done in the xlib backend.

    However, in the xlib backend these new fields were properly initialized.
This
    was forgotten in the xcb backend.

    Hopefully-Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38482

    Signed-off-by: Uli Schlachter <psychon at znc.in>

-- 
Configure bugmail: https://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