[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: |
Sun, 11 Jan 2015 22:31:43 +0100 |
This is definitely a cairo issue. What you could do is print out all the values
of the call in frame #9 where we call into cairo.
Fred
On the road
Am 11.01.2015 um 19:35 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> Hi,
>
> Fred Kiefer wrote:
>> I just commited Eric's patch, plus one extra check.
>
> fine! it doesn't crash anymore as before and I get the copy/paste contextual
> menu.
>
> Now I think that the crash happens depending on the remote display I export
> to!
>
> 1) export workstation with FreeBSD 8.4, seems to run fine (I will stress it
> more, but font panel comes up, I can type, I get the contextual menu, etc)
> 2) export to laptop with FreeBSD 10.0 and Ink will die quite soon
>
> Both machines are intel x86 (thus both little-endian and pretty standard),
> are running the system Xorg, 32bit, the output of xdpyinfo looks similar
> except for the workstation having a larger display and a strange resolution
> (90x89). But there it works! I get the crash with a more recent and more
> standard setup.
>
> For what differences could I look in xdpyinfo? or elsewhere?
>
> Riccardo
>
> Current stacktrace is:
>
> #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
> #6 0x232759f0 in _cairo_surface_show_text_glyphs () from
> /usr/pkg/lib/libcairo.so.2
> #7 0x232357ac in _cairo_gstate_show_text_glyphs () from
> /usr/pkg/lib/libcairo.so.2
> #8 0x23226ea4 in cairo_show_text () from /usr/pkg/lib/libcairo.so.2
> #9 0x22e94a34 in -[CairoFontInfo drawGlyphs:length:on:] (self=0x22f477f8,
> _cmd=0x22ed3f00, glyphs=<optimized out>, length=11, ct=0x23d67000)
> at CairoFontInfo.m:446
> #10 0x22e961e8 in -[CairoGState GSShowGlyphsWithAdvances:::] (self=0x23d40628,
> _cmd=0x22ec358c, glyphs=0xefffda40, advances=0xefffd9c0, length=11)
> at CairoGState.m:468
> #11 0x22e5f148 in -[GSContext(Ops) GSShowGlyphsWithAdvances:::]
> (self=0x23ee5568,
> _cmd=0x204a5650, glyphs=0xefffda40, advances=0xefffd9c0, length=11) at
> GSContext.m:447
> #12 0x20250d9c in GSShowGlyphsWithAdvances (length=11, advances=0xefffd9c0,
> glyphs=0xefffda40, ctxt=0x23ee5568) at ../Headers/AppKit/DPSOperators.h:712
> #13 -[NSLayoutManager(drawing) drawGlyphsForGlyphRange:atPoint:]
> (self=0x23071428,
> _cmd=<optimized out>, range=..., containerOrigin=...) at
> NSLayoutManager.m:1895
> #14 0x20310174 in -[NSTextView(leftovers) drawRect:] (self=0x2301f3e8,
> _cmd=0x2050a8ec,
> rect=...) at NSTextView.m:4006
> #15 0x2033a654 in -[NSView displayRectIgnoringOpacity:inContext:]
> (self=0x2301f3e8,
> _cmd=<optimized out>, aRect=..., context=<optimized out>) at NSView.m:2570
> #16 0x2032b1cc in -[NSView displayRectIgnoringOpacity:] (self=0x2301f3e8,
> _cmd=0x2050a8cc, aRect=...) at NSView.m:2519
> #17 0x20338854 in -[NSView displayIfNeededInRectIgnoringOpacity:]
> (self=0x2301f3e8,
> _cmd=0x2050a8bc, aRect=...) at NSView.m:2450
> #18 0x20338ab8 in -[NSView displayIfNeededInRectIgnoringOpacity:]
> (self=0x23e27d88,
> _cmd=<optimized out>, aRect=...) at NSView.m:2476
> #19 0x20338ab8 in -[NSView displayIfNeededInRectIgnoringOpacity:]
> (self=0x2302e318,
> _cmd=<optimized out>, aRect=...) at NSView.m:2476
> #20 0x20338ab8 in -[NSView displayIfNeededInRectIgnoringOpacity:]
> (self=0x23e377f8,
> _cmd=<optimized out>, aRect=...) at NSView.m:2476
> #21 0x20338ab8 in -[NSView displayIfNeededInRectIgnoringOpacity:]
> (self=0x23083ef8,
> _cmd=<optimized out>, aRect=...) at NSView.m:2476
> #22 0x2032b008 in -[NSView displayIfNeededInRect:] (self=0x23083ef8,
> _cmd=0x2050a8b4,
> aRect=...) at NSView.m:2428
> #23 0x2032ae08 in -[NSView displayIfNeeded] (self=0x23083ef8, _cmd=0x20512334)
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep