[2258] in Athena Bugs

home help back first fref pref prev next nref lref last post

xmh (text widget) on RT's

daemon@ATHENA.MIT.EDU (Barr3y Jaspan)
Fri May 19 16:15:48 1989

Date: Fri, 19 May 89 16:14:12 EDT
From: Barr3y Jaspan <bjaspan@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Cc: rt-testers@athena rel-eng@athena

I recently discovered (working with xzwrite) that XtTextInvalidate()
causes an RT Xt client to segfault every time.  It is called three
times from the xmh sources, once from EDiskSrc.c and twice from
tsource.c.  The right way to deal with this of course to fix the bug
in the text widget, but there is an easier, kludgy way:
XtTextDisplay() causes the entire buffer to be redrawn and doesn't
crash the RT.  This is of course less effient since XtTextInvalidate()
only redraws the changed portions, but at least it works..

Barr3y

home help back first fref pref prev next nref lref last post