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

Bug 290436

Summary: [Widgets] crash in AbstractTreeViewer.updateChildren, Tree.destroyItem
Product: [Eclipse Project] Platform Reporter: David Green <greensopinion>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: robert.elves
Version: 3.5Keywords: triaged
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard: stalebug
Attachments:
Description Flags
full crash report
none
new crash report
none
crash report none

Description David Green CLA 2009-09-24 12:24:59 EDT
Refreshing the Mylyn task list caused the Eclipse process to crash (terminate)

Version: 3.5.0
Build id: I20090825-1032

Following is from the Crash Reporter, full crash report attached:

pre.. 
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread:  0

Application Specific Information:

Java information:
 Exception type: Bus Error (0xa) at pc=0x00007fff80c00ad9

 Java VM: Java HotSpot(TM) 64-Bit Server VM (14.1-b02-92 mixed mode macosx-amd64)

Current thread (0x0000000112801000):  JavaThread "main" [_thread_in_native, id=1882715904, stack(0x00007fff5f400000,0x00007fff5fc00000)]
Stack: [0x00007fff5f400000,0x00007fff5fc00000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.swt.internal.cocoa.OS.objc_msgSend(JJJZ)J+0
j  org.eclipse.swt.internal.cocoa.NSOutlineView.reloadItem(Lorg/eclipse/swt/internal/cocoa/id;Z)V+20
j  org.eclipse.swt.widgets.Tree.destroyItem(Lorg/eclipse/swt/widgets/TreeItem;)V+132
j  org.eclipse.swt.widgets.TreeItem.destroyWidget()V+5
j  org.eclipse.swt.widgets.Widget.release(Z)V+75
j  org.eclipse.swt.widgets.TreeItem.release(Z)V+28
j  org.eclipse.swt.widgets.Widget.dispose()V+23
j  org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(Lorg/eclipse/swt/widgets/Widget;Ljava/lang/Object;[Ljava/lang/Object;Z)V+394
j  org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(Lorg/eclipse/swt/widgets/Widget;Ljava/lang/Object;Z)V+5
j  org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(Lorg/eclipse/swt/widgets/Widget;Ljava/lang/Object;Z)V+128
j  org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(Lorg/eclipse/swt/widgets/Widget;Ljava/lang/Object;ZZ)V+65
j  org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(Ljava/lang/Object;Z)V+44
j  org.eclipse.jface.viewers.StructuredViewer$8.run()V+12
j  org.eclipse.jface.viewers.StructuredViewer.preservingSelection(Ljava/lang/Runnable;Z)V+26
j  org.eclipse.jface.viewers.TreeViewer.preservingSelection(Ljava/lang/Runnable;Z)V+29
j  org.eclipse.jface.viewers.StructuredViewer.preservingSelection(Ljava/lang/Runnable;)V+3
j  org.eclipse.jface.viewers.StructuredViewer.refresh(Ljava/lang/Object;Z)V+11
j  org.eclipse.jface.viewers.ColumnViewer.refresh(Ljava/lang/Object;Z)V+22
j  org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.refresh(Ljava/lang/Object;Z)V+13
j  org.eclipse.mylyn.internal.tasks.ui.views.TaskListView$TaskListRefreshJob.doRefresh([Ljava/lang/Object;)V+150
j  org.eclipse.mylyn.internal.provisional.commons.ui.DelayedRefreshJob.runInUIThread(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+86
j  org.eclipse.ui.progress.UIJob$1.run()V+53
j  org.eclipse.swt.widgets.RunnableLock.run()V+11
j  org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z+29
j  org.eclipse.swt.widgets.Display.runAsyncMessages(Z)Z+5
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+133
j  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9
j  org.eclipse.ui.internal.Workbench.runUI()I+393
j  org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
j  org.eclipse.ui.internal.Workbench$5.run()V+55
Comment 1 David Green CLA 2009-09-24 12:25:39 EDT
Created attachment 148027 [details]
full crash report
Comment 2 David Green CLA 2009-11-09 16:28:55 EST
I was able to reproduce this one today using Version: 3.6.0
Build id: I20091027-0100

The actions I took that caused the problem:

# deleted folder with 1000's of files in it from the filesystem
# refreshed the folder in the package explorer that represented the deleted folder
Comment 3 David Green CLA 2009-11-09 16:29:36 EST
Created attachment 151739 [details]
new crash report
Comment 4 David Green CLA 2010-03-16 14:50:41 EDT
Created attachment 162204 [details]
crash report

Crashed again for me today.
Eclipse SDK

Version: 3.6.0
Build id: N20100305-2003
Comment 5 David Green CLA 2010-03-16 14:52:52 EDT
This latest crash occurred immediately after doing a *Replace With -> Base Revision* in the Package Explorer view with Subclipse.
Comment 6 Lakshmi P Shanmugam CLA 2017-07-04 07:42:15 EDT
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more
information.
Comment 7 Eclipse Genie CLA 2020-01-17 05:24:11 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 8 Lakshmi P Shanmugam CLA 2020-01-17 05:36:54 EST
*** Bug 274349 has been marked as a duplicate of this bug. ***