[comp.windows.x] server coredumps: followup

mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) (02/12/90)

A while (a week or two) ago I sent a note to xpert to the effect that
the MIT R4 server was dumping core under ill-defined circumstances,
usually when changing keyboard focus from one window to another.
Someone (rws, I think) said I'd have to track it down a bit more.

Well, I have.  And I don't understand it.  From dix/window.c:

static void
MarkWindow(pWin)
    register WindowPtr pWin;
{
....
    val->before.oldAbsCorner.x = pWin->drawable.x;
    val->before.oldAbsCorner.y = pWin->drawable.y;  /* <<<<<< */
    val->before.borderVisible = NullRegion;
....
}

The indicated assignment is causing the corruption.  (I placed calls to
my sanity-checking routine every line throughout MarkWindow, and the
one before that line was happy, but the one after wasn't.)

I've taken three trial crash coredumps since adding my sanity checking,
and they've all been at that same line.  Ideas, anyone?  I can provide
more information if anyone wants it.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu