discuss-gnustep
[Top][All Lists]
Advanced

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

cairo crash on NetBSD/sparc


From: Riccardo Mottola
Subject: cairo crash on NetBSD/sparc
Date: Mon, 29 Dec 2014 19:47:35 +0100
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

Hi all,

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
#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=0x2306bf88,
    _cmd=0x22ed3f00, glyphs=<optimized out>, length=16, ct=0x23f16000)
    at CairoFontInfo.m:446
#10 0x22e961e8 in -[CairoGState GSShowGlyphsWithAdvances:::] (self=0x23f1d4c8,
    _cmd=0x22ec358c, glyphs=0xefffda18, advances=0xefffd998, length=16)
    at CairoGState.m:468
#11 0x22e5f148 in -[GSContext(Ops) GSShowGlyphsWithAdvances:::] (
self=0x2302e928, _cmd=0x204a5650, glyphs=0xefffda18, advances=0xefffd998,
    length=16) at GSContext.m:447
#12 0x20250e54 in GSShowGlyphsWithAdvances (length=16, advances=0xefffd998,
glyphs=0xefffda18, ctxt=0x2302e928) at ../Headers/AppKit/DPSOperators.h:712
#13 -[NSLayoutManager(drawing) drawGlyphsForGlyphRange:atPoint:] (
    self=0x22fcf068, _cmd=<optimized out>, range=..., containerOrigin=...)
    at NSLayoutManager.m:1876
#14 0x2030ff94 in -[NSTextView(leftovers) drawRect:] (self=0x2316b3e8,
    _cmd=0x2050a8ec, rect=...) at NSTextView.m:4006
#15 0x2033a474 in -[NSView displayRectIgnoringOpacity:inContext:] (
self=0x2316b3e8, _cmd=<optimized out>, aRect=..., context=<optimized out>)
    at NSView.m:2570
#16 0x2032afec in -[NSView displayRectIgnoringOpacity:] (self=0x2316b3e8,
    _cmd=0x2050a8cc, aRect=...) at NSView.m:2519
#17 0x20338674 in -[NSView displayIfNeededInRectIgnoringOpacity:] (
    self=0x2316b3e8, _cmd=0x2050a8bc, aRect=...) at NSView.m:2450
#18 0x203388d8 in -[NSView displayIfNeededInRectIgnoringOpacity:] (
    self=0x23040188, _cmd=<optimized out>, aRect=...) at NSView.m:2476
#19 0x203388d8 in -[NSView displayIfNeededInRectIgnoringOpacity:] (
    self=0x230ca5e8, _cmd=<optimized out>, aRect=...) at NSView.m:2476
#20 0x203388d8 in -[NSView displayIfNeededInRectIgnoringOpacity:] (
    self=0x2306bed8, _cmd=<optimized out>, aRect=...) at NSView.m:2476
#21 0x203388d8 in -[NSView displayIfNeededInRectIgnoringOpacity:] (
    self=0x23c27698, _cmd=<optimized out>, aRect=...) at NSView.m:2476
#22 0x2032ae28 in -[NSView displayIfNeededInRect:] (self=0x23c27698,
    _cmd=0x2050a8b4, aRect=...) at NSView.m:2428
#23 0x2032ac28 in -[NSView displayIfNeeded] (self=0x23c27698, _cmd=0x20512324)
    at NSView.m:2410
#24 0x203405a4 in -[NSWindow displayIfNeeded] (self=0x230efa08,
    _cmd=0x20511d04) at NSWindow.m:2431
#25 0x2033e98c in -[NSWindow(GNUstepPrivate) _handleAutodisplay] (
    self=0x230efa08, _cmd=0x20511d1c) at NSWindow.m:189
#26 0x2034e150 in +[NSWindow(GNUstepPrivate) _handleAutodisplay:] (
    self=0x20454b04, _cmd=0x20511d2c, bogus=0x0) at NSWindow.m:218
#27 0x2077cc7c in -[NSObject performSelector:withObject:] (self=0x20454b04,
    _cmd=0x20a2f84c, aSelector=0x20511d2c, anObject=0x0) at NSObject.m:2046
#28 0x207bcc3c in -[GSRunLoopPerformer fire] (self=0x231f1ea8, _cmd=0x20a2f91c)
    at NSRunLoop.m:110
#29 0x207bf990 in -[NSRunLoop(Private) _checkPerformers:] (self=0x22fe0bc8,
    _cmd=<optimized out>, context=0x22feb208) at NSRunLoop.m:495
#30 0x207be7cc in -[NSRunLoop runMode:beforeDate:] (self=0x22fe0bc8,
    _cmd=0x20519dc8, mode=0x20a2fadc, date=0x2311c228) at NSRunLoop.m:1267
#31 0x20362204 in -[GSDisplayServer(EventOps) getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0x230d6178, _cmd=<optimized out>, mask=4294967295, limit=0x2311c228, mode=0x20a2fadc, flag=1 '\001') at GSDisplayServer.m:1040 #32 0x22e7a6bc in -[XGServer(X11Ops) getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0x230d6178, _cmd=0x20454e98, mask=4294967295, limit=0x2311c228,
    mode=0x20a2fadc, flag=1 '\001') at XGServerEvent.m:2571
#33 0x201942e0 in DPSGetEvent (mode=0x20a2fadc, limit=0x2311c228,
    mask=4294967295, ctxt=0x230d6178)
    at ../Headers/Additions/GNUstepGUI/GSDisplayServer.h:200
#34 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (
self=0x2302c398, _cmd=0x20455108, mask=4294967295, expiration=0x2311c228,
    mode=0x20a2fadc, flag=1 '\001') at NSApplication.m:2159
#35 0x20194ac0 in -[NSApplication run] (self=0x2302c398, _cmd=0x2044a668)
    at NSApplication.m:1553
#36 0x201724c4 in NSApplicationMain (argc=1, argv=0xefffe73c) at Functions.m:91
#37 0x00010fb4 in ___start ()
#38 0x20032b40 in _rtld_start () from /usr/libexec/ld.elf_so
#39 0x20032b40 in _rtld_start () from /usr/libexec/ld.elf_so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)






reply via email to

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