[comp.unix.ultrix] Problem with Software in DECWindows

nakamoto@joplin.mpr.ca (Alan Nakamoto) (10/03/90)

I'm trying to put my finger on a problem we are having with a piece of
software. We are currently running Ultrix 3.1D (Worksystem V2.2) on
color 3100's and model 5000 DECstations. The software runs in a
graphical window providing pop up menus and it's own windowing
environment inside of a DECwindow or MOTIF window.

The problem that we're having occurs during mouse events. When the mouse
button is clicked to bring up a pop up menu or to select an item, or moved 
outside of the host window to the DECwindow background, the software
seems to hang. The mouse can be moved around but the system no longer
responds to any button clicks at all. Thus, the session manager cannot
be selected, or anything. The only escape is to kill the dxsession. The
interesting thing is that the problem only occurs on model 5000s. The
3100's have never experienced the problem with the same software (the
software is run from an NFS mount on a 5000 server). Also, this seems to
be a random event, everything will work fine on the 5000 for sometimes
minutes, or sometimes hours without hanging up.

I was wondering if anyone might have a thought about this. Is such a
problem likely to be with the application software or would it be a
windowing/OS problem on the 5000. If so, would upgrading to Ultrix 4.0
provide a solution. Any hints or thoughts welcome.

Thanks,

Alan Nakamoto                              nakamoto@eric.mpr.ca
Pacific Microelectronics Centre          uunet!ubc-cs!mpre!nakamoto
A Division of MPR Teltech Ltd.

klee@wsl.dec.com (Ken Lee) (10/04/90)

In article <2360@kiwi.mpr.ca>, nakamoto@joplin.mpr.ca (Alan Nakamoto) writes:
|> The problem that we're having occurs during mouse events. When the mouse
|> button is clicked to bring up a pop up menu or to select an item, or moved 
|> outside of the host window to the DECwindow background, the software
|> seems to hang. 

This is difficult to debug without seeing your code, but problems like
this often occur when the application improperly uses mouse or key
grabs.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee

gringort@wsl.dec.com (Joel Gringorten) (10/04/90)

In article <2360@kiwi.mpr.ca>, nakamoto@joplin.mpr.ca (Alan Nakamoto) writes:
|> 
|> I'm trying to put my finger on a problem we are having with a piece of
|> software. We are currently running Ultrix 3.1D (Worksystem V2.2) on
|> color 3100's and model 5000 DECstations. 
[...]
|> The mouse can be moved around but the system no longer
|> responds to any button clicks at all. Thus, the session manager cannot
|> be selected, or anything. [...] Also, this seems to
|> be a random event, everything will work fine on the 5000 for sometimes
|> minutes, or sometimes hours without hanging up.
[...]
|> I was wondering if anyone might have a thought about this. Is such a
|> problem likely to be with the application software or would it be a
|> windowing/OS problem on the 5000. If so, would upgrading to Ultrix 4.0

This is almost certainly a known problem with 3.1D on the 5000.  The problem
has to do with a race condition which causes an infrequent and random hang
that can occur during cursor loading.  There's a patch available from the
Support Center in Atlanta.  Perhaps somebody else can tell you the exact
procedure for getting this patch, but I imagine that any DEC SW support 
person knows how to get it.  (Sorry to be so vague, I can get more info
on the procedure for this if you like.)

Upgrading to 4.0 does certainly fix the problem as well.
-joel