[cairo-bugs] [Bug 51104] New: Not initialized status in composite_glyphs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 15 02:22:41 PDT 2012


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

             Bug #: 51104
           Summary: Not initialized status in composite_glyphs
    Classification: Unclassified
           Product: cairo
           Version: 1.12.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: jdapena at igalia.com
         QAContact: cairo-bugs at cairographics.org


Created attachment 63063
  --> https://bugs.freedesktop.org/attachment.cgi?id=63063
Full backtrace

I'm getting an assert on running gtk3-demo with wayland:

gtk3-demo: cairo-error.c:68: _cairo_error: Assertion `(status !=
CAIRO_STATUS_SUCCESS && status < CAIRO_STATUS_LAST_STATUS)' failed.

The relevant part of the backtrace:
#5  0x00007ffff776373d in _cairo_set_error (cr=0x6dc5c0, status=32767) at
cairo.c:180
#6  0x00007ffff7765e9e in cairo_show_glyphs (cr=0x6dc5c0,
glyphs=0x7fffffffa660, num_glyphs=5) at cairo.c:3317
#7  0x00007ffff7f8d019 in pango_cairo_renderer_show_text_glyphs
(renderer=0x750030, text=0x0, text_len=0, glyphs=0x6d79a0, clusters=0x0,
num_clusters=0, backward=0, font=0x4971f0, x=8192, y=13312) at
pangocairo-render.c:367
#8  0x00007ffff7f8d0a6 in pango_cairo_renderer_draw_glyphs (renderer=0x750030,
font=0x4971f0, glyphs=0x6d79a0, x=8192, y=13312) at pangocairo-render.c:383

I'm attaching the full backtrace.

After tracing a bit, the issue is originated by
cairo-image-compositor.c:composite_glyphs not initializing cairo_status_t, so
it may get a random value.

-- 
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