gnustep-dev
[Top][All Lists]
Advanced

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

Re: Crash with latest Pixman and Cairo


From: Fred Kiefer
Subject: Re: Crash with latest Pixman and Cairo
Date: Fri, 11 Jan 2013 10:59:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

I think your best option here is to report this problem on the cairo/pixman mailing lists. Most likely it is a mismatch between your cairo and pixman versions. (Latest cairo being 1.12.8)

What I don't understand about your problem is how glx gets used at all.
From you backtrace I can only see the cairo xlib surface being used, which is of course correct as you did not request the deprecated glitz surface. That would be the only way to use glx with GNUstep at the moment. Somebody has to come up with a proper cairo gl surface in GNUstep to support it directly. The version of cairo that comes with my OpenSuse does not include gl support, which means somebody else will have to do this, but it should be fairly simple, the tricky bit is normally the configure code to decide whether to use this at all.

On my machine glx support gets detected, but does not influence the working of cairo in any way.

Fred

On 11.01.2013 01:58, Germán Arias wrote:
I'm testing gnustep in Dragora. But I had a problem, the apps crashed
each time I opened the info panel. To solve the problem I compile back
with --disable-glx. Debuging I saw a problem in pixman. So I install
latest pixman (0.28.2) and latest cairo (1.12.2). But now the problem
is worst. The apps crash at start. The solution is compile again back
with --disable-glx.

Below the backtrace when I launch SystemPreferences (with glx
enabled). I remember a similar problem in Debian.

Could be this a problem in gnustep? Or in pixman? Or maybe in
my installation?


Program received signal SIGSEGV, Segmentation fault.
_pixman_implementation_lookup_composite (toplevel=0x818d780,
op=PIXMAN_OP_SRC, src_format=PIXMAN_x8r8g8b8, src_flags=42429183,
mask_format=0, mask_flags=8192, dest_format=PIXMAN_a8r8g8b8,
dest_flags=34032255, out_imp=0xbfffc6b4, out_func=0xbfffc6b0) at
pixman-implementation.c:96 96           if (info->op ==
op                      && (gdb) backtrace
#0  _pixman_implementation_lookup_composite (toplevel=0x818d780,
     op=PIXMAN_OP_SRC, src_format=PIXMAN_x8r8g8b8, src_flags=42429183,
     mask_format=0, mask_flags=8192, dest_format=PIXMAN_a8r8g8b8,
     dest_flags=34032255, out_imp=0xbfffc6b4, out_func=0xbfffc6b0)
     at pixman-implementation.c:96
#1  0xb53670bb in pixman_image_composite32 (op=<optimized out>,
src=0x0, mask=0xb577b6d0, dest=0x1, src_x=-1250445632, src_y=1,
mask_x=-1250445684, mask_y=1, dest_x=-1250445696, dest_y=1, width=0,
height=0) at pixman.c:673 #2  0xb55e6cae in
_cairo_xlib_surface_draw_image (surface=0x826dff0, image=0x82709b8,
src_x=0, src_y=0, width=64, height=64, dst_x=0, dst_y=0) at
cairo-xlib-surface.c:1072 #3  0xb55e01c8 in draw_image_boxes
(_dst=0x826dff0, image=0x82709b8, boxes=0xbfffcd08, dx=0, dy=0) at
cairo-xlib-render-compositor.c:143 #4  0xb55c7c3e in upload_boxes
(boxes=0xbfffcd08, extents=0xbfffcf70, compositor=<optimized out>) at
cairo-traps-compositor.c:1331 #5  clip_and_composite_boxes
(compositor=0xb5631340, extents=0xbfffcf70, boxes=0xbfffcd08) at
cairo-traps-compositor.c:1725 #6  0xb55c8709 in
_cairo_traps_compositor_paint (_compositor=0xb5631340,
extents=0xbfffcf70) at cairo-traps-compositor.c:2036 #7  0xb556ca84 in
_cairo_compositor_paint (compositor=0xb5631340, surface=0x826dff0,
op=CAIRO_OPERATOR_SOURCE, source=0xbfffd2bc, clip=0x8270ae8) at
cairo-compositor.c:65 #8  0xb55e49e2 in _cairo_xlib_surface_paint
(_surface=0x826dff0, ---Type <return> to continue, or q <return> to
quit--- op=CAIRO_OPERATOR_SOURCE, source=0xbfffd2bc, clip=0x8270ae8)
     at cairo-xlib-surface.c:1336
#9  0xb55b3e58 in _cairo_surface_paint (surface=0x826dff0,
     op=CAIRO_OPERATOR_SOURCE, source=0xbfffd2bc, clip=0x8270ae8)
     at cairo-surface.c:1876
#10 0xb5575651 in _cairo_gstate_paint (gstate=0x8270398) at
cairo-gstate.c:1053 #11 0xb5566cce in *INT_cairo_paint (cr=0x8270228)
at cairo.c:1999 #12 0xb567e8aa in -[CairoGState DPSimage:::::::::::]
(self=0x82701a4, _cmd=0xb569c128, matrix=0x82707ac, pixelsWide=64,
pixelsHigh=64, bitsPerSample=8, samplesPerPixel=3, bitsPerPixel=24,
bytesPerRow=192, isPlanar=0 '\000', hasAlpha=0 '\000',
colorSpaceName=0xb7fb0954, data=0xbfffd5fc) at CairoGState.m:1183
#13 0xb5649821 in -[GSContext(NSGraphics) NSDrawBitmap:::::::::::] (
     self=0x826dc04, _cmd=0xb56ac610, rect=..., pixelsWide=64,
pixelsHigh=64, bitsPerSample=8, samplesPerPixel=3, bitsPerPixel=24,
bytesPerRow=192, isPlanar=0 '\000', hasAlpha=0 '\000',
colorSpaceName=0xb7fb0954, data=0xbfffd5fc) at GSContext.m:919
#14 0xb5680a68 in -[CairoContext(Ops) GSDrawImage::] (self=0x826dc04,
     _cmd=0xb7efb900, rect=..., imageref=0x8264fd4) at CairoContext.m:208
#15 0xb7c59388 in -[NSBitmapImageRep draw] (self=0x8264fd4,
_cmd=0xb7f37ab8) at NSBitmapImageRep.m:1387
#16 0xb7cda036 in -[NSImageRep drawAtPoint:] (self=0x8264fd4,
_cmd=0xb7f351b0, aPoint=...) at NSImageRep.m:521
---Type <return> to continue, or q <return> to quit---
#17 0xb7cd6923 in -[NSImage drawRepresentation:inRect:]
(self=0x8266dcc, _cmd=0xb7f35240, imageRep=0x8264fd4, aRect=...) at
NSImage.m:795 #18 0xb7cd6fb7 in -[NSImage lockFocusOnRepresentation:]
(self=0x8266dcc, _cmd=0xb7f351f8, imageRep=0x826c32c) at NSImage.m:1018
#19 0xb7cd7dcc in -[NSImage(Private) _doImageCache:] (self=0x8266dcc,
     _cmd=0xb7f351e0, rep=0x8264fd4) at NSImage.m:2064
#20 0xb7cd6b84 in -[NSImage
drawInRect:fromRect:operation:fraction:respectFlipped:hints:]
(self=0x8266dcc, _cmd=0xb7f09f18, dstRect=..., srcRect=...,
op=NSCompositeSourceOver, delta=1, respectFlipped=1 '\001', hints=0x0)
at NSImage.m:879 #21 0xb7c78909 in -[NSCell
drawInteriorWithFrame:inView:] (self=0x82679e4, _cmd=0xb7f09f28,
cellFrame=..., controlView=0x825473c) at NSCell.m:2043 #22 0xb7c78a9a
in -[NSCell drawWithFrame:inView:] (self=0x82679e4, _cmd=0xb7ef4160,
cellFrame=..., controlView=0x825473c) at NSCell.m:2067 #23 0xb7c3fce5
in -[NSAppIconView drawRect:] (self=0x825473c, _cmd=0xb7f9c0c8,
rect=...) at NSApplication.m:568 #24 0xb7dc2b2c in -[NSView
displayRectIgnoringOpacity:inContext:] ( self=0x825473c,
_cmd=0xb7f9c0b8, aRect=..., context=<optimized out>) at NSView.m:2569
#25 0xb7dc2d3d in -[NSView displayRectIgnoringOpacity:inContext:]
( self=0x822661c, _cmd=0xb7f9c0b8, aRect=..., context=<optimized out>)
at NSView.m:2602 #26 0xb7db46c6 in -[NSView
displayRectIgnoringOpacity:] (self=0x822661c, ---Type <return> to
continue, or q <return> to quit--- _cmd=0xb7f9c0a8, aRect=...) at
NSView.m:2518 #27 0xb7dc1114 in -[NSView
displayIfNeededInRectIgnoringOpacity:] ( self=0x822661c,
_cmd=0xb7f9c098, aRect=...) at NSView.m:2450 #28 0xb7db4542 in -[NSView
displayIfNeededInRect:] (self=0x822661c, _cmd=0xb7f9c090, aRect=...) at
NSView.m:2428 #29 0xb7db4367 in -[NSView displayIfNeeded]
(self=0x822661c, _cmd=0xb7fa33d0) at NSView.m:2410
#30 0xb7dcc58c in -[NSWindow orderWindow:relativeTo:] (self=0x8223ef4,
     _cmd=0xb7ef40e0, place=NSWindowAbove, otherWin=-1) at
NSWindow.m:1826 #31 0xb7c3f2e4 in -[NSIconWindow
orderWindow:relativeTo:] (self=0x8223ef4, _cmd=0xb7fa3388,
place=NSWindowAbove, otherWin=-1) at NSApplication.m:447 #32 0xb7dc7be0
in -[NSWindow orderFrontRegardless] (self=0x8223ef4, _cmd=0xb7ef41c8)
at NSWindow.m:1735 #33 0xb7c45156 in -[NSApplication(Private)
_appIconInit] (self=0x8153b1c, _cmd=0xb7ef4350) at NSApplication.m:3808
#34 0xb7c47b13 in -[NSApplication _init] (self=0x8153b1c,
_cmd=0xb7ef4360) at NSApplication.m:925
#35 0xb7891f1d in -[NSObject performSelector:withObject:]
(self=0x8153b1c, _cmd=0xb7b42410, aSelector=0xb7ef4360,
anObject=0x8153b1c) at NSObject.m:2019
#36 0xb78fb535 in -[NSObject(NSThreadPerformAdditions)
performSelector:onThread:withObject:waitUntilDone:modes:]
(self=0x8153b1c, _cmd=0xb7b424b0, aSelector=0xb7ef4360,
aThread=<optimized out>, anObject=0x8153b1c, ---Type <return> to
continue, or q <return> to quit--- aFlag=1 '\001', anArray=0x819009c)
at NSThread.m:1245 #37 0xb78f8e92 in
-[NSObject(NSThreadPerformAdditions)
performSelectorOnMainThread:withObject:waitUntilDone:modes:]
(self=0x8153b1c, _cmd=0xb7b424b8, aSelector=0xb7ef4360,
anObject=0x8153b1c, aFlag=1 '\001', anArray=0x819009c) at
NSThread.m:1204 #38 0xb78fa831 in -[NSObject(NSThreadPerformAdditions)
performSelectorOnMainThread:withObject:waitUntilDone:] (self=0x8153b1c,
_cmd=0xb7ef4368, aSelector=0xb7ef4360, anObject=0x8153b1c, aFlag=1
'\001') at NSThread.m:1214 #39 0xb7c46297 in -[NSApplication init]
(self=0x8153b1c, _cmd=0xb7ef40d0) at NSApplication.m:981 #40 0xb7c3e795
in +[NSApplication sharedApplication] (self=0xb7ef3a00, _cmd=0x804ddc0)
at NSApplication.m:851 #41 0x0804952d in main (argc=2, argv=0x0,
env=0xb577b6d0) at main.m:37
(gdb)




reply via email to

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