Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 131236

Summary: [BC] Workbench isn't notified of agent termination
Product: z_Archived Reporter: Andy Kaylor <andrew.kaylor>
Component: TPTPAssignee: Andy Kaylor <andrew.kaylor>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: closed460

Description Andy Kaylor CLA 2006-03-09 20:34:46 EST
When running the PerfMon agent with the new AC in backward compatibility mode, the client is unable to terminate the agent.  Requesting a terminate appears to cause the client to stop monitoring, but it seems to remain attached and the agent keeps running.
Comment 1 Andy Kaylor CLA 2006-04-06 14:22:24 EDT
Contrary to my initial description, the agent does get terminated.  The workbench UI just isn't updated to reflect the fact that the agent has been terminated.  

The same problem occurs with the profiling agent, and it occurs even when the agent terminates for reasons other than UI interaction (for example, if the process being profiled terminates).
Comment 2 Andy Kaylor CLA 2006-04-13 17:34:48 EDT
I have a fix for this.  Waiting for I3 to check in.
Comment 3 Andy Kaylor CLA 2006-04-18 15:48:34 EDT
Process exit notification was being sent from the agent degregister handler.  If the process exited before the agent deregistration notification was received, the client was never notified.  Likewise if the client was waiting for notification of a non-agent process termination, it never happened.

This is now sent from the process exited termination handler within the CCTL.
Comment 4 Paul Slauenwhite CLA 2009-06-30 12:00:44 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.