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

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

641.0. "Watch process core dumps C3" by DARGLE::COUGHLAN () Tue Mar 07 1995 16:02

A customer has reported to me that when they select the option to stop watch and
answer YES to stop the watch process, the process does not actually stop and
output continues to be written to the specified watch file. If you then select
the watch option again, and select the option to start another watch , the C3
will core dump. 

The customer is running PCM 1.5-006 on OSF/1 V2.0

Thanks,

Dave.




T.RTitleUserPersonal
Name
DateLines
641.1ZENDIA::DBIGELOWInnovate, Integrate, EvaporateTue Mar 07 1995 18:429
    dave,
    
       Not sure what the problem is, but will take a look at it. If you
    want, you can tell the customer to set an environment variable and then
    restart the C3. This will dump the watch command as well as the stop
    watch command. The environment variable is CONSOLE_DEBUG and can be
    set to anything such as 1 or true.
    
    Dave
641.2output fwith debug set.DARGLE::COUGHLANFri Mar 10 1995 10:2829
Dave,

I enabled debug on the system and when the watch process started I got the 
following output:

C3: Watch Command dump (4 args)
    argv[0] = /usr/opt/DCR150/bin/OSF/console_watch
    argv[1] = -output
    argv[2] = /usr/users/dave/temp
    argv[3] = ALL
C3: Watch PID: 1763 (000006E3)
POLYCENTER Console Manager
Watch facility Version V1.5-006
Copyright (c) 1994 Digital Equipment Corporation. All Rights Reserved

When I stop the watch process the following is output:-

POLYCENTER Console Manager
Watch facility Version V1.5-006
Copyright (c) 1994 Digital Equipment Corporation. All Rights Reserved


C3: Stopping watch PID 000006E3

When stopping the process is seems to use the wrong PID ?

Thanks,

Dave.
641.3ZENDIA::DBIGELOWInnovate, Integrate, EvaporateFri Mar 10 1995 14:228
    Dave,
    
        It appears as though the PID is correct (6E3). According to the
    base note, the watch process never terminates and the C3 crashes when
    the user tries to start the watch process for the second time. 
    So the question is, what do you see for output when you try it again?
    
    dave
641.4no output and C3 core dumpsDARGLE::COUGHLANFri Mar 10 1995 17:1412
Dave,

When I stop the watch process, it fails to actually stop the process. When I
select option watch again, the option start is the only available option. When I
start watch a second time, I see (with debug on) the process starting and I
enter the watch facility interface. Then the C3 window core dumps and I am left
with a core file, no C3 window and two watch processes still running. There is
no further output from CM after the second watch process starts.

Regards,

Dave.
641.5ZENDIA::DBIGELOWInnovate, Integrate, EvaporateFri Mar 10 1995 23:128
    Dave,
    
        Well, I'll have to look at the code and see if I can figure this
    one out. Are you testing this internally? If so, would you be willing
    to test out a potental fix? It will be in the new C3 which I hope you 
    also will not mind testing.
    
    Dave
641.6will testDARGLE::COUGHLANMon Mar 13 1995 09:326
Dave,

I can reproduce this problem on an internal system and would be more than
willing to test a potential fix and the new C3. I am running OSF/1 v 2.0

Dave.