discuss-gnustep
[Top][All Lists]
Advanced

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

Re: cairo crash on NetBSD/sparc


From: Fred Kiefer
Subject: Re: cairo crash on NetBSD/sparc
Date: Tue, 30 Dec 2014 14:08:56 +0100

NSGlsph is not a class, it is just a simple typedef, you should try to output 
the values with

p *glyphs

It would also help to include the actual error message, in you case the 
segmentation fault, in the debug output.
Most likely it is us who are causing the problem. On the other hand, cairo 1.12 
is really old, could you please try to use a more recent version? This will 
require to recompile GNUstep back, as we have to check for the cairo version 
there.

Hope this helps,
Fred

On the road

Am 29.12.2014 um 19:47 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:

> I updated my Sparc/NetBSD box. Up to a couple of weeks ago, I was running an 
> ancient NetBSD 2.x, ancient gcc and ancient cairo setup.
> 
> Now I have current NetBSD 6, gcc 4.5.3 and cairo cairo-1.12.16
> 
> I compiled core, compiled Ink, I start gdnc and gpbs before (slow machine, 
> networked display)
> 
> Ink starts, I can type a couple of words, then I get a crash reported below.
> 
> I wonder if it us or cairo? Perhaps we are calling something badly? The stack 
> trace seems to go on and on.
> Sadly in #9 the glyphs are "optimized out"
> in #10, if I try, I get:
> 
> (gdb) p glyphs
> $1 = (const NSGlyph *) 0xefffda18
> (gdb) po glyphs
> 
> Program received signal SIGBUS, Bus error.
> 0x20abc294 in objc_msg_lookup () from /usr/lib/libobjc.so.3
> 
> 
> Riccardo
> 
> ---
> 
> 0x2329fa80 in composite_glyphs () from /usr/pkg/lib/libcairo.so.2
> (gdb) bt
> #0  0x2329fa80 in composite_glyphs () from /usr/pkg/lib/libcairo.so.2
> #1  0x23285c50 in composite_glyphs () from /usr/pkg/lib/libcairo.so.2
> #2  0x2328798c in clip_and_composite () from /usr/pkg/lib/libcairo.so.2
> #3  0x23287b68 in _cairo_traps_compositor_glyphs ()
>   from /usr/pkg/lib/libcairo.so.2
> #4  0x2322ba98 in _cairo_compositor_glyphs () from /usr/pkg/lib/libcairo.so.2
> #5  0x232a37a0 in _cairo_xlib_surface_glyphs () from 
> /usr/pkg/lib/libcairo.so.2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]