[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1762.0. "Problem/SM not cleaning up after process ends" by MARX::ZELTSERMAN () Fri Nov 17 1989 15:20

    I'm running RISC ULTRIX with DECwindows on a pmax, and
    I'm having the following problem:
    
    An application does a fork, and the child does an execl.
    If I try quitting out of the main application while the child
    process is still around, the windows created by the main
    application are not cleaned up (they stay on the display until
    the child process is killed). At this point the main application
    process no longer exists, but I can iconize the main window (and
    blow it back up). Is there a way of getting around this problem 
    (having the application's windows hang around even after the 
     application process has been removed?)
    
    Is this a session manager bug?
    
T.RTitleUserPersonal
Name
DateLines
1762.1FLUME::dikeFri Nov 17 1989 16:094
Set the close-on-exec bit on the file descriptor.  The problem is that when
the main application goes away, the server still sees someone at the other
end of the connection because the child has inherited the X file descriptor.
				Jeff