bug-gnustep
[Top][All Lists]
Advanced

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

PSclip()


From: Pete French
Subject: PSclip()
Date: Thu, 31 Jan 2002 15:17:37 +0000

I seem to be finding that PSclip() is a reliable was to cause coredumps
in gnustep. I had previously assumed that it was a bug in my code causing
this, but now i am simply using:

        PSnewpath();
        PSmoveto(0,50);
        PSlineto(50,0);
        PSlineto(0,0);
        PSclosepath();
        PSclip();

in an app on its own. This coredumps, and the backtrace is:

Program received signal SIGBUS, Bus error.
0x289e8449 in miRegionOp () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0  0x289e8449 in miRegionOp () from /usr/X11R6/lib/libX11.so.6
#1  0x289e8232 in XIntersectRegion () from /usr/X11R6/lib/libX11.so.6
#2  0x2890fa01 in _i_XGGState___doPath__draw_ (self=0x8186b08, 
    _cmd=0x2893ee00, pts=0xbfbfecc0, count=4, type=path_clip) at XGGState.m:936
#3  0x28910ab7 in _i_XGGState___paintPath_ (self=0x8186b08, _cmd=0x2893f180, 
    drawType=path_clip) at XGGState.m:1194
#4  0x2891427b in _i_XGGState_PathOps_DPSclip (self=0x8186b08, _cmd=0x2893bfc8)
    at XGGState.m:2108
#5  0x28909284 in _i_XGContext_Ops_DPSclip (self=0x8141c08, _cmd=0x804cf20)
    at XGContext.m:1651
#6  0x8049d88 in DPSclip (ctxt=0x8141c08)
    at /usr/local/GNUstep/System/Headers/AppKit/DPSOperators.h:1932
#7  0x8049c07 in PSclip ()
    at /usr/local/GNUstep/System/Headers/AppKit/PSOperators.h:1582
#8  0x8049681 in main (argc=1, argv=0xbfbff01c) at vtest.m:101
#9  0x8048d0d in _start ()

Now I know very litttle about X11 and havent really looked into this, but does
this ring any bells with anyone ?

-bat.



reply via email to

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