Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362204 - [TMF] Pending requests not cancelled when opening an experiment
Summary: [TMF] Pending requests not cancelled when opening an experiment
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Bernd Hufmann CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 10:38 EDT by Bernd Hufmann CLA
Modified: 2022-01-13 14:53 EST (History)
1 user (show)

See Also:


Attachments
Fix for bug (1.64 KB, patch)
2011-10-27 10:52 EDT, Bernd Hufmann CLA
jjohnstn: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Hufmann CLA 2011-10-27 10:38:21 EDT
When opening an experiment while another experiment is being indexed the ongoing index request is not always cancelled. 

As a side effect, the progress monitor in the Eclipse GUI for the ongoing indexing won't stop.

How to reproduce:
Open an experiment or trace many times consecutively shortly after each other.
Comment 1 Bernd Hufmann CLA 2011-10-27 10:52:53 EDT
Created attachment 206075 [details]
Fix for bug

During experiment disposal, any requests in the TmfRequestExecutor queue will be cancelled before shutting down the executor. This patch fixes the thread leak in the experiment handling. It augments a previous committed fix ("Partial fix for thread leak in experiment andling").
Comment 2 Bernd Hufmann CLA 2011-10-27 10:58:02 EDT
Comment on attachment 206075 [details]
Fix for bug

Bug committed to master and stable-0.9 branches.
Comment 3 Bernd Hufmann CLA 2011-10-27 10:58:31 EDT
Bug fixed with committed patch.
Comment 4 Francois Chouinard CLA 2012-03-26 13:54:05 EDT
Delivered in 0.9.0