Bug 307405 [CommonNavigator] Deadlock in NavigatorContentServiceContentProvider
We are using an adopting product and one of our users encountered this deadlock when starting up their workspace: 1LKDEADLOCK Deadlock detected !!! NULL --------------------- NULL 2LKDEADLOCKTHR Thread "main" (0x41591300) 3LKDEADLOCKWTR is waiting for: 4LKDEADLOCKMON sys_mon_t:0x43134548 infl_mon_t: 0x43134580: 4LKDEADLOCKOBJ org/eclipse/ui/internal/navigator/NavigatorSaveablesService@0x05DB48A8/0x05DB48B4: 3LKDEADLOCKOWN which is owned by: 2LKDEADLOCKTHR Thread "Framework Event Dispatcher" (0x42467700) 3LKDEADLOCKWTR which is waiting for: 4LKDEADLOCKMON sys_mon_t:0x43BA6AB8 infl_mon_t: 0x43BA6AF0: 4LKDEADLOCKOBJ org/eclipse/ui/internal/navigator/NavigatorContentServiceContentProvider@0x0306F6E8/0x0306F6F4: 3LKDEADLOCKOWN which is owned by: 2LKDEADLOCKTHR Thread "main" (0x41591300) I will attach the stack trace.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorContentService.java
.getInstance();
	private static final ITreeContentProvider[] NO_CONTENT_PROVIDERS = new ITreeContentProvider[0];
	private static final ILabelProvider[] NO_LABEL_PROVIDERS = new ILabelProvider[0];
	private static final INavigatorContentDescriptor[] NO_DESCRIPTORS = new INavigatorContentDescriptor[0];
	private static final String[] NO_EXTENSION_IDS = new String[0];
	private final NavigatorViewerDescriptor viewerDescriptor;
	private final List listeners = new ArrayList();
	/*
	 * A map of (String-based-Navigator-Content-Extension-IDs,
	 * NavigatorContentExtension-objects)-pairs
	 */
	private final Map contentExtensions = new HashMap();
	private StructuredViewerManager structuredViewerManager;
	private ITreeContentProvider[] rootContentProviders;
	private ITreeContentProvider contentProvider;
	/*
	 * Used when providing objects to the CommonViewer by the contentProvider
	 * to record the object/description associations which are when stored
	 * in the Tree associated with the viewer.
	 */
	private Map contributionMemory;
	private Map contributionMemoryFirstClass;
	
	private ILabelProvider labelProvider;
	private final VisibilityAssistant assistant;
	private NavigatorFilterService navigatorFilterService;
	private NavigatorSorterService navigatorSorterService;
	private INavigatorPipelineService navigatorPipelineService;
	private INavigatorDnDService navigatorDnDService;
	private INavigatorActivationService navigatorActivationService;