Re: XFree86 server dies during test of tk4.1a2

William Volkman (wkv@rmii.com)
Tue, 5 Dec 1995 17:35:33 -0700 (MST)


Hi Jay,
Well I've narrowed down further the problem with signal 8 killing
the server. To reproduce just do:

x11perf -wellipse10

I've also had a number of system hangs whenever I try to view
animations or .mpeg files (sometimes resizing windows will do
it). I've found I can reproduce those by merely running xfishtank
(URL ftp://sunsite.unc.edu/pub/Linux/X11/toys/xfishtank2.0.tar.Z )

The problem with xterm's dieing is a bug in xterm (IMHO), I've
made the attached patch to the ansi R6 xterm (available on ftp.x.org
in the contrib area or
ftp://sunsite.unc.edu/pub/Linux/X11/xutils/terms/xterm-R6-sb_right-ansi-3d.tar.gz )
and it fixed the problem (should work for plain xterm also).

I've also noticed pixel corruption problems while displaying images
(more noticable with the nolinear option). One application that
seems to reproduce it is 'xtacy' (found in the X11/toys directory on
sunsite, use the -dogplasma option).

I don't really have the disk space yet to be able to build and
debug the X server however if I keep getting hangs I may want to
find the space. I've got your patches, can you point me to the
sources you were using? (or were they XFree86 beta stuff?)
Regards,
Bill V.
8<----------8<----------8<----------8<----------8<----------8<----------8<----
--- charproc.c.orig Sat Apr 22 21:05:17 1995
+++ charproc.c Tue Dec 5 16:49:40 1995
@@ -2714,7 +2714,8 @@
*valuemask|CWBitGravity, values);

#ifdef I18N
- VTInitI18N();
+ if (XSupportsLocale())
+ VTInitI18N();
#endif

set_cursor_gcs (screen);
@@ -2772,7 +2773,7 @@
*end,
tmp[1024],
buf[32];
- XIM xim;
+ XIM xim = NULL;
XIMStyles *xim_styles;
XIMStyle input_style;
Boolean found;