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

Bug 355438

Summary: [Memory Browser] SWT Exception
Product: [Tools] CDT Reporter: Alain Lee <a-lee>
Component: cdt-memoryAssignee: John Cortell <john.cortell>
Status: RESOLVED FIXED QA Contact: Ted Williams <ted>
Severity: normal    
Priority: P3 CC: cdtdoug, john.cortell, marc.khouzam
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
attaching a patch
none
patch cdtdoug: iplog+

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