[cairo] cairo_surface_create_similar_image() crashes on W32
fanc999 at yahoo.com.tw
Fri Aug 23 03:47:04 PDT 2013
於 2013/8/23 下午 05:43, LRN 提到:
> $ ./cairo-gdi-demo.exe
> Assertion failed!
> Program: C:\foobar\cairo-gdi-demo.exe
> File: ../../cairo-1.12.14/src/cairo-surface.c, Line 930
> Expression: CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)
> This application has requested the Runtime to terminate it in an unusual
> Please contact the application's support team for more information.
This is bug 63787 on freedesktop.org
(https://bugs.freedesktop.org/show_bug.cgi?id=63787), and this is the
bug that prevents GTK+ 3.9.x after early July from running on Windows
(as far as I could tell). As you might notice from there, this is one of
the blockers for 1.14. Using Michael's patch from there would also make
your test program (built with Visual Studio 2010 x64) run without
crashing with the assert.
Thanks for the note, with blessings.
More information about the cairo