[comp.windows.x] xrn on NCD X terminal crashes in Xaw HighlightRegion

sitongia@hao.ucar.edu (Leonard Sitongia) (12/01/89)

Context:
	 NCD X terminal
	 (served by) Sun-4/280 running SunOS 4.0.3c
	 Xt compiled from X11R3 $TOPDIR/lib/Xt, as from
	 	expo (no patches applied) on 28 Nov 89.
	 Xaw compiled from X11R3 as Xt, but from older distribution tape
	 	(date unknown)

The contributed client "xrn" (read news), for example, as made locally
runs ok on a VAXstation 3100.  If I start it up on the NCD X terminal, though,
it crashes on the first window highlighting in HighlightRegion, which is in
Xaw.

If I recompile Xaw with a "-g" option and relink, it runs fine until I try
to "catch up", then it crashes in XtInstallAccelerators.  That is in Xt.

I guess there's some memory alignment problem.  I also guess that this is
probably an old problem and that there are existant patches to Xaw/Xt.

Thanks for your help,

-Leonard E. Sitongia    System Programmer		 (303) 497-1509
USPS Mail: High Altitude Observatory P.O. Box 3000 Boulder CO  80307
Internet:               sitongia@hao.ucar.edu
SPAN:			NSFGW::"hao.ucar.edu!sitongia"	[NSFGW=9580]

ricks@shambhala.Berkeley.EDU (Rick L Spickelmier) (12/01/89)

In article <5512@ncar.ucar.edu>, sitongia@hao.ucar.edu (Leonard
Sitongia) writes:
> The contributed client "xrn" (read news), for example, as made locally
> runs ok on a VAXstation 3100.  If I start it up on the NCD X terminal,
though,
> it crashes on the first window highlighting in HighlightRegion, which is in
> Xaw.
> If I recompile Xaw with a "-g" option and relink, it runs fine until I try
> to "catch up", then it crashes in XtInstallAccelerators.  That is in Xt.

There was a bug in XtInstallAccelerators that would cause applications
that used it to dump core.  Either define ACCELERATORBUG in the xrn
file config.h (this will turn off accelerators in XRN) or install MIT 
Patch #8 to the X Toolkit Intrinsics.

I have not seen the HighlightRegion problem before.

			Rick Spickelmier
			UC Berkeley

P.S.  You can send XRN bug reports to 'xrn@eros.berkeley.edu'.