Subject: Re: XView and XhpBSD
To: Zadok <ml@rz.uni-potsdam.de>
From: David Carrel <carrel@cisco.com>
List: port-hp300
Date: 01/05/1997 10:30:38
> I'll try...
> for now: ( to return to the topic ) I tried to hunt down the
> XhpBSD-flicker-bug using gdb and a -g in certain Makefiles... the results:
> indeed, the crashes occur when some clients try to produce stippled
> rectangles or polygones... one prine candidate to crash is
> tcPolyFillStippledRect in mit/server/ddx/hpbsd/topcat/tcPoly???.c and
> there seem to be some part of the given GC struc incorrect/missing since
> this function tries to get a privGC from the devPrivates (or so ) at the
> end of the GC which results in something really strange, since some
> pointers in it appear to be NULL what results in a page fault that causes
> the crash.
Yep, I've been down this same path. But I eventually gave up. There was a
NULL pointer being dereferenced, but I saw no way that I could have gotten
there with a NULL pointer.
> Then: there is a assemler routine that should produce a stipple-pattern
> with a notice attached saying that future gcc's ( they used 2.3 ) may
> miscompile that for some reason, but I'm really not familiar with 68k
> assembler language so I can't fix it...
Hmmm. What file is this in? It might be worth looking at the latest X11R6.3
code and see if you can grab a more recent version of that file or maybe
that routine. If it's a generic 68k stiple routine, there's a very good
chance it's been kept up to date.
Dave