Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355438 - [Memory Browser] SWT Exception
Summary: [Memory Browser] SWT Exception
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-memory (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Cortell CLA
QA Contact: Ted Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 16:27 EDT by Alain Lee CLA
Modified: 2012-05-22 20:41 EDT (History)
3 users (show)

See Also:


Attachments
attaching a patch (1.28 KB, patch)
2011-10-07 12:29 EDT, Alain Lee CLA
no flags Details | Diff
patch (1.28 KB, patch)
2011-10-07 12:31 EDT, Alain Lee CLA
cdtdoug: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Lee CLA 2011-08-22 16:27:16 EDT
The following SWT exception intermittently occured when Eclipse is shutdown while the debug session is active:

org.eclipse.swt.SWTException: Widget is disposed
                at org.eclipse.swt.SWT.error(SWT.java:4282)
                at org.eclipse.swt.SWT.error(SWT.java:4197)
                at org.eclipse.swt.SWT.error(SWT.java:4168)
                at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
                at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
                at org.eclipse.swt.widgets.Control.setVisible(Control.java:3725)
                at org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser.handleUnsupportedSelection(MemoryBrowser.java:403)
                at org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser.access$15(MemoryBrowser.java:401)
                at org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser$13.run(MemoryBrowser.java:1135)
                at org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser$14.runInUIThread(MemoryBrowser.java:1241)
                at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
                at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
                at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
                at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
                at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
Comment 1 Alain Lee CLA 2011-10-07 12:29:47 EDT
Created attachment 204762 [details]
attaching a patch
Comment 2 Alain Lee CLA 2011-10-07 12:31:15 EDT
Created attachment 204763 [details]
patch
Comment 3 John Cortell CLA 2011-10-07 15:22:06 EDT
Applied. Thanks!
Comment 4 Alain Lee CLA 2011-10-07 15:24:17 EDT
(In reply to comment #3)
> Applied. Thanks!

John, did you apply to the Master or/and CDT 8.0 branch?
Comment 5 Marc Khouzam CLA 2011-10-07 15:33:20 EDT
(In reply to comment #3)
> Applied. Thanks!

Welcome back!
Comment 6 CDT Genie CLA 2011-10-07 16:23:02 EDT
*** cdt git genie on behalf of John Cortell ***

    Bug 355438 - [Memory Browser] SWT Exception (applied patch)

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=8f1ac18b4e5bf7270a58516596b93f412483aff8