Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328209 - calling dispose() from dispose listener causes crash on Gtk
Summary: calling dispose() from dispose listener causes crash on Gtk
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.4.3   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 02:36 EDT by Steffen Pingel CLA
Modified: 2010-10-20 17:18 EDT (History)
1 user (show)

See Also:


Attachments
fix (3.80 KB, patch)
2010-10-20 02:38 EDT, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (4.14 KB, application/octet-stream)
2010-10-20 02:38 EDT, Steffen Pingel CLA
no flags Details
more clean up (5.41 KB, patch)
2010-10-20 17:17 EDT, Steffen Pingel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2010-10-20 02:36:11 EDT
Eclipse crashes when the UI legend is embedded in a control that is disposed. Need to verify why this does not happen when the UI legend is shown from the Task List.

Stack: [0xf695f000,0xf69b0000],  sp=0xf69ad5c8,  free space=139f69acf60k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libswt-pi-gtk-3655.so+0x33855]  Java_org_eclipse_swt_internal_gtk_OS__1G_1OBJECT_1TYPE+0x6
j  org.eclipse.swt.internal.gtk.OS._G_OBJECT_TYPE(I)I+0
j  org.eclipse.swt.internal.gtk.OS.G_OBJECT_TYPE(I)I+8
j  org.eclipse.swt.accessibility.AccessibleFactory.registerAccessible(Lorg/eclipse/swt/accessibility/Accessible;)V+6
j  org.eclipse.swt.accessibility.Accessible.<init>(Lorg/eclipse/swt/widgets/Control;)V+120
j  org.eclipse.swt.accessibility.Accessible.internal_new_Accessible(Lorg/eclipse/swt/widgets/Control;)Lorg/eclipse/swt/accessibility/Accessible;+5
j  org.eclipse.swt.widgets.Control._getAccessible()Lorg/eclipse/swt/accessibility/Accessible;+9
j  org.eclipse.swt.widgets.Control.removeRelation()V+25
j  org.eclipse.swt.widgets.Control.release(Z)V+89
j  org.eclipse.swt.widgets.Widget.dispose()V+23
j  org.eclipse.mylyn.internal.tasks.ui.dialogs.UiLegendControl.doDispose()V+49
j  org.eclipse.mylyn.internal.tasks.ui.dialogs.UiLegendControl.access$0(Lorg/eclipse/mylyn/internal/tasks/ui/dialogs/UiLegendControl;)V+1
j  org.eclipse.mylyn.internal.tasks.ui.dialogs.UiLegendControl$1.widgetDisposed(Lorg/eclipse/swt/events/DisposeEvent;)V+4
j  org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+387
Comment 1 Steffen Pingel CLA 2010-10-20 02:38:27 EDT
Created attachment 181248 [details]
fix
Comment 2 Steffen Pingel CLA 2010-10-20 02:38:28 EDT
Created attachment 181249 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-10-20 17:17:38 EDT
Created attachment 181340 [details]
more clean up
Comment 4 Steffen Pingel CLA 2010-10-20 17:18:43 EDT
Patch applied to e_3_6_m_3_4_x branch and head.