[cairo] Re: Bus Error -- Mac OS X Intel

mpsuzuki at hiroshima-u.ac.jp mpsuzuki at hiroshima-u.ac.jp
Tue Dec 12 20:54:18 PST 2006


I'm the maintainer MacOS specific part of FreeType2.

The MacOS specific code (to support suitcase font etc) of
freetype-2.2.1 is not ready for Intel Mac. I'm not sure
the error is caused by freetype, but, if you want to support
system font on Mac OS X, please try to update latest freetype2
in CVS.

If possible, please build freetype2 and cairo with debug symbol
without optimization (-g3 -ggdb -O0) and search the exact part
which causes Bus error.


On Tue, 12 Dec 2006 11:44:17 -0500
"Daniel Corbe" <daniel.junkmail at gmail.com> wrote:

>Program received signal EXC_BAD_ACCESS, Could not access memory.
>Reason: KERN_PROTECTION_FAILURE at address: 0x000000d0
>0x04680700 in _cairo_xlib_surface_show_glyphs (abstract_dst=0x594d7e0,
>op=CAIRO_OPERATOR_OVER, src_pattern=0xbfffdd24, glyphs=0x5024e00,
>num_glyphs=36, scaled_font=0x594b730) at cairo-xlib-surface.c:2822
>2822            if (scaled_glyph->surface->width &&
>scaled_glyph->surface->height) {
>On 12/12/06, Daniel Corbe <daniel.junkmail at gmail.com> wrote:
>> Dear Cairo Community,
>> Things that I have linked against Cairo currently crash with a Bus
>> Error.  I ran one such thing (Ethereal<->GTK<->Pango<->Cairo) through
>> GDB and this is what I got (bt full, see attached).  If someone could
>> point me in the right direction I would appriciate it.  Thanks.
>> -Daniel
>cairo mailing list
>cairo at cairographics.org

More information about the cairo mailing list