Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327711 - [LTTng] SWTException (widget is disposed) problem
Summary: [LTTng] SWTException (widget is disposed) problem
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: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 16:15 EDT by Francois Chouinard CLA
Modified: 2022-01-13 14:52 EST (History)
0 users

See Also:


Attachments
patch for asyncExec problems (17.31 KB, patch)
2010-10-13 16:24 EDT, Bernd Hufmann CLA
fchouinard: iplog+
Details | Diff
patch for asyncExec problems (17.98 KB, patch)
2010-10-13 16:26 EDT, Bernd Hufmann CLA
fchouinard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chouinard CLA 2010-10-13 16:15:07 EDT
The various calls to asyncExec() don't always check if the widget is disposed before performing their update.

This results in SWT exceptions when the widget is canned before the UI request could be serviced.
Comment 1 Bernd Hufmann CLA 2010-10-13 16:24:50 EDT
Created attachment 180825 [details]
patch for asyncExec problems

This patch fixes all occurrences of org.eclipse.swt.SWTException caused by missing checks before using asyncExec() and within asyncExec() on a given display.

This patch is for the Helios branch.
Comment 2 Bernd Hufmann CLA 2010-10-13 16:26:53 EDT
Created attachment 180826 [details]
patch for asyncExec problems

This patch is based on the patch provided for the Helios branch. It fixes additional asyncExec() problems that only exist in the Indigo branch.
Comment 3 Francois Chouinard CLA 2010-10-13 17:35:56 EDT
Comment on attachment 180825 [details]
patch for asyncExec problems

Patch committed
Comment 4 Francois Chouinard CLA 2010-10-13 17:36:14 EDT
Comment on attachment 180826 [details]
patch for asyncExec problems

Patch committed
Comment 5 Francois Chouinard CLA 2010-10-13 17:36:44 EDT
Patches committed in Helios and Indigo.

Thanks Bernd,
/fc
Comment 6 Francois Chouinard CLA 2011-07-22 14:51:11 EDT
Delivered with 0.7