The endianness patch did not affect the xlib backend that you are using. So if there is a changed behaviour it must have a different cause. What is strange in your back trace is that both width and height of the destination rectangle are 0 in this case we should never get to the line where this claims to be crashing. But then the x and y coordinates of source and destination are negative. I have no idea how this could happen.
Fred Am 06.02.2010 00:53, schrieb Riccardo Mottola: > when running a gui program on my SparcStation running OpenBSD and > exporting the display to an x86 FreeBSD box, I get a crash. > > I'm running SVN trunk on the Sparc box. The same configuration 1-2 > months ago used to work. > I read that recently there were fixes for endiannes (here we have big to > little endian) but that usually just gave weird colors. Maybe the shared > memory detection? > > The stacktrace: > > 2010-02-06 00:28:46.356 Graphos[830] X-Windows error - BadGC (invalid GC > parameter) > on display: faramir:0.0 > type: 0 > serial number: 229 > request code: 70 > 2010-02-06 00:28:46.363 Graphos[830] X-Windows error - BadDrawable > (invalid Pixmap or Window parameter) > on display: faramir:0.0 > type: 0 > serial number: 230 > request code: 73 > > Program received signal SIGSEGV, Segmentation fault. > 0x11f1c778 in _bitmap_combine_alpha (context=0xe1dcb00, > data_planes=0xf7fbe3c0, width=64, height=64, bits_per_sample=8, > samples_per_pixel=4, bits_per_pixel=32, bytes_per_row=256, > colour_space=1, > one_is_black=0 '\000', is_planar=0 '\000', has_alpha=1 '\001', > fast_min=1 '\001', dest_im=0xb26e240, dest_alpha=0xbadb6a0, srect= > {x = -2053, y = -7800, width = 63483, height = 57744}, drect= > {x = -2053, y = -7792, width = 0, height = 0}, op=NSCompositeClear, > drawMechanism=XGDM_FAST32) at XGBitmap.m:972 > 972 XPutPixel(dest_im->image, col, row, pixel); > > > ---- > > #0 0x11f1c778 in _bitmap_combine_alpha (context=0xe1dcb00, > data_planes=0xf7fbe3c0, width=64, height=64, bits_per_sample=8, > samples_per_pixel=4, bits_per_pixel=32, bytes_per_row=256, > colour_space=1, > one_is_black=0 '\000', is_planar=0 '\000', has_alpha=1 '\001', > fast_min=1 '\001', dest_im=0xb26e240, dest_alpha=0xbadb6a0, srect= > {x = -2053, y = -7800, width = 63483, height = 57744}, drect= > {x = -2053, y = -7792, width = 0, height = 0}, op=NSCompositeClear, > drawMechanism=XGDM_FAST32) at XGBitmap.m:972 > #1 0x11f2a26c in -[XGGState(Ops) DPSimage:::::::::::] (self=0xb268a08, > _cmd=0xf7fbe190, matrix=0xf7fbe188, pixelsWide=64, pixelsHigh=64, > bitsPerSample=2, samplesPerPixel=4, bitsPerPixel=32, bytesPerRow=256, > isPlanar=0, hasAlpha=1, colorSpaceName=0xf963a54, data=0xf7fbe3c0) > at XGGState.m:1764 > #2 0x11ed9b64 in -[GSContext(NSGraphics) NSDrawBitmap:::::::::::] ( > self=0x92fa888, _cmd=0x20, rect= > {origin = {x = 0, y = 0}, size = {width = 64, height = 64}}, > pixelsWide=64, pixelsHigh=64, bitsPerSample=8, samplesPerPixel=4, > bitsPerPixel=32, bytesPerRow=256, isPlanar=0, hasAlpha=1, > colorSpaceName=0xf963a54, data=0xf7fbe3c0) at GSContext.m:884 > #3 0x11ed9970 in -[GSContext(Ops) GSDrawImage::] (self=0x92fa888, > _cmd=0xf7fbe3c0, rect=Cannot access memory at address 0x8 > ) at GSContext.m:831 > #4 0x0f456c18 in -[NSBitmapImageRep draw] (self=0x92fa308, _cmd=0xf924acc) > at NSBitmapImageRep.m:1398 > #5 0x0f4dca20 in -[NSImageRep drawInRect:] (self=0x92fa308, > _cmd=0xf923260, > ---Type <return> to continue, or q <return> to quit--- > aRect={origin = {x = 0, y = 0}, size = {width = 64, height = 64}}) > at NSImageRep.m:488 > #6 0x0f4d54e0 in -[NSImage drawRepresentation:inRect:] ( > self=<incomplete type>, _cmd=0xf923978, imageRep=0x92fa308, aRect= > {origin = {x = 0, y = 0}, size = {width = 64, height = 64}}) > at NSImage.m:919 > #7 0x0f4d8ab8 in -[NSImage(Private) _doImageCache:] (self=<incomplete > type>, > _cmd=0xf9231b0, rep=0x8c65a08) at NSImage.m:1828 > #8 0x0f4d4a4c in -[NSImage > compositeToPoint:fromRect:operation:fraction:] ( > self=<incomplete type>, _cmd=0xf923188, aPoint= > {x = 1.44126486e-29, y = 0}, srcRect= > {origin = {x = 1.44126486e-29, y = 0}, size = {width = > -1.0218784e+34, > height = 1.16307773e-42}}, op=NSCompositeSourceOver, delta=1) at > NSImage.m:827 > #9 0x0f4d488c in -[NSImage compositeToPoint:fromRect:operation:] ( > self=<incomplete type>, _cmd=0xf923180, aPoint={x = 0, y = 0}, aRect= > {origin = {x = 0, y = 0}, size = {width = 64, height = 64}}, > op=NSCompositeSourceOver) at NSImage.m:794 > #10 0x0f4d4800 in -[NSImage compositeToPoint:operation:] ( > self=<incomplete type>, _cmd=0xf90a448, aPoint={x = 0, y = 0}, > op=NSCompositeSourceOver) at NSImage.m:787 > #11 0x0f47a414 in -[NSCell drawInteriorWithFrame:inView:] (self=0xbad7748, > _cmd=0xf90a458, cellFrame= > {origin = {x = 1.4803317e-41, y = 0}, size = {width = > 1.48089222e-41, height = 0}}, controlView=0xf28ae08) at NSCell.m:1984 > > Any clues? > > Riccardo > > > > _______________________________________________ > Discuss-gnustep mailing list > Discuss-gnustep@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnustep > _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep