Re: Build break with latest GTK+ 3



On Wed, Sep 29, 2010 at 9:27 AM, Murray Cumming <murrayc murrayc com> wrote:
> There are some TODOs in my patch. More importantly the demo crashes for
> me, though I am using cairo from git master. valgrind shows this, which
> doesn't help me much.
>
>
> =6471== Invalid read of size 4
> ==6471==    at 0x48A6AC5: _cairo_array_index (cairo-array.c:223)
> ==6471==    by 0x48A6F44: _cairo_user_data_array_set_data
> (cairo-array.c:469)
> ==6471==    by 0x48B32CE: cairo_set_user_data (cairo.c:513)
> ==6471==    by 0x432F0B0: gtk_cairo_set_event (gtkwidget.c:5144)
> ==6471==    by 0x432F9CB: gtk_widget_send_expose (gtkwidget.c:5447)
>
This usually means that there's a refcounting issue with the cairo_t
and some draw handler called cairo_destroy() without taking a
reference. Usually that indicates a leftover cairo_destroy() from
porting an expose handler to a draw handler.

Benjamin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]