[comp.windows.x] Xmfbpmax dropped core

grunwald@FOOBAR.COLORADO.EDU (Dirk Grunwald) (02/06/90)

Hi, my Xmfbpmax on a mono decstation-3100 dropped core while I was
using ``mwm''. I'm not certain what version of Xt & xlib the mwm was
compiled against.


--------------------
I started up twm, killed that & startedup MWM.
while running mwm, i started up epoch and attempted to
move the epoch window uisng the MWM ``move'' menu (not the left mouse).
The move crosshairs came upand I started getting the core dump.

stack trace:

(gdb) where
#0  0x41c5a0 in TryClientEvents () (events.c line 997)
#1  0x41df40 in DeliverGrabbedEvent () (events.c line 1718)
#2  0x41e758 in ProcessPointerEvent () (events.c line 1902)
#3  0x4011a0 in pmSetCursorPosition () (mfbpmax_io.c line 630)
#4  0x41d804 in ProcWarpPointer () (events.c line 1538)
#5  0x406c3c in Dispatch () (dispatch.c line 256)
#6  0x4031b8 in main () (main.c line 248)


this is my line 997 in events.c

996:	    for (i = 0; i < count; i++)
997:		pEvents[i].u.u.sequenceNumber = client->sequence;

This is a virgin X11R4 server installation, no fixes applied.
ultrix 3.1
If you want the actual core dump itself, send mail. I didn't compile it 
with debugging info though.

--------------------

Also, I recently posted a fix to SmeLine.c - was this in fact a
correct fix, or in error? I haven't heard anything about it & others
have asked if it's correct. thanks.

Dirk Grunwald -- Univ. of Colorado at Boulder	(grunwald@foobar.colorado.edu)
						(grunwald@boulder.colorado.edu)

keith@EXPO.LCS.MIT.EDU (Keith Packard) (02/06/90)

The monochrome DECstation support is missing an argument on line
630 of mfbpmax_io.c:

        (*pmPointer->processInputProc) (&motion, pmPointer);

should be:

        (*pmPointer->processInputProc) (&motion, pmPointer, 1);

This fix is in the public fix number 1, available from the xstuff server
(xstuff@expo.lcs.mit.edu).

Keith Packard
MIT X Consortium