| Re: xdemo crashes twm in IDL 2.3 [message #359 is a reply to message #355] |
Wed, 20 May 1992 10:22  |
ali
Messages: 11 Registered: February 1991
|
Junior Member |
|
|
Greg Hennessy (gsh7w@virginia.edu) writes:
> Having just upgraded from 2.2.1 to 2.3.0 and trying to get the new
> improved xdemo package running, I found that xdemo causes twm to croak
> with a segmentation violation, which means that most people's X11
> session comes to a screeching halt. The problem comes after the call
> to XMANAGER. A quick test shows that olwm does not crash.
>
> This is on a Sun 3/260 running 4.1.1 and X11R4 pl 18.
The problem turns out to be a bug in the R4 twm.
In version 2.3.0, IDL started installing the WM_COLORMAP_WINDOWS property
on the top level shell of widget trees that contain draw widgets. This tells
the window manager to install the proper colormap for those draw
widgets when they get the pointer focus. This is only important when
the draw widget is not using the default shared colormap. It had become
more of a problem recently with the increasing number of workstations
with 24-bit frame buffers.
The presence of the WM_COLORMAP_WINDOWS property causes
twm to crash. Steven Swales of the University of Rochester
Laboratory for Laser Energetics has already seen this problem and
has patched the R4 twm to solve it. I have made it available for
anonymous ftp from boulder.colorado.edu (128.138.240.1). It is
in pub/idl/fixed_r4_twm.tar.Z.
Steven tells me that he intends to check the R5 twm to see if it still
has this problem, and if so, to report it to MIT. At this point we
don't know if the problem exists in R5 or not.
Thanks to Greg for discovering the problem and tracking down the
solution. Thanks to Steven for sharing his fix with the rest of us.
- Ali
------------------------------------------------------------ ------------------
Ali Bahrami | ali@boulder.colorado.edu (internet)
Research Systems, Inc. | ALI@COLOLASP (BITNET)
777 29th St., Suite 300 | ORION::ALI (SPAN)
Boulder, Colorado 80303 | 303-786-9900 (voice)
| 303-786-9909 (fax)
------------------------------------------------------------ ------------------
|
|
|
|