[cairo] select_font_face crash under mingw

jeffbez at comcast.net jeffbez at comcast.net
Tue Jun 20 17:15:41 PDT 2006


Hi guys,

I'm trying to build a win32 app using cairo under mingw. I have a strange segfault, and I'm wondering if anybody has experience with this environment and might have some ideas. Here's my stack trace:

#0  0x7c918fea in _libws2_32_a_iname ()
#1  0x00776192 in ConsoleMap ()
#2  0x7c90104b in _libws2_32_a_iname ()
#3  0x006c1a77 in _cairo_toy_font_face_create (family=0x776192 "Sans", 
    slant=CAIRO_FONT_SLANT_NORMAL, weight=CAIRO_FONT_WEIGHT_NORMAL)
    at cairo-font.c:336
#4  0x006c5740 in _cairo_gstate_select_font_face (gstate=0x3fd8c0, 
    family=0x776192 "Sans", slant=CAIRO_FONT_SLANT_NORMAL, 
    weight=CAIRO_FONT_WEIGHT_NORMAL) at cairo-gstate.c:1741
#5  0x006bb667 in cairo_select_font_face (cr=0x3fefe0, family=0x776192 "Sans", 
    slant=CAIRO_FONT_SLANT_NORMAL, weight=CAIRO_FONT_WEIGHT_NORMAL)
    at cairo.c:1805
#6 me

This is cairo 1.0.4.
I don't think it's a problem with cairo, since the same code works fine under linux and apple's X11. Looking at cairo-font.c, it seems a mutex is involved.
Any thoughts?

thanks,

-Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20060621/4521769a/attachment.html


More information about the cairo mailing list