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

Bug 230403

Summary: Launcher dialog deadlocks UI (prevents repaint)
Product: [Eclipse Project] JDT Reporter: Evan Hughes <evan_hughes>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: bhunt, christof_marti, Michael_Rennie, schacher
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug
Attachments:
Description Flags
Thread dump of deadlock.
none
screen cap none

Description Evan Hughes CLA 2008-05-06 10:35:37 EDT
Build ID: M20080221-1800

Steps To Reproduce:
Eclipse was in the middle of auto-building when I opened the launcher dialog. The UI thread tried to write a file and painting stopped until the build completed.

More information:
Comment 1 Evan Hughes CLA 2008-05-06 10:38:51 EDT
Created attachment 98846 [details]
Thread dump of deadlock.
Comment 2 Jerome Lanneluc CLA 2008-05-06 18:00:47 EDT
I don't think this is a deadlock as the "main" thread will resume once the build has finished. 

Moving to JDT/Debug for further comment
Comment 3 Michael Rennie CLA 2008-05-07 09:49:05 EDT
There is nothing to (immediately) indicate deadlock in the thread dump. It is likely that a configuration is trying to be migrated (or another operation that requires a write to the workspace) and it is waiting on the build. The progress of this wait is shown at the bottom of the launch dialog (will attach screen cap)
Comment 4 Michael Rennie CLA 2008-05-07 09:49:41 EDT
Created attachment 99071 [details]
screen cap

Shows the launch dialog waiting on a build job
Comment 5 Michael Rennie CLA 2008-05-07 09:51:36 EDT
Is this what you are seeing Evan (the screen cap)?
Comment 6 Evan Hughes CLA 2008-05-07 09:55:21 EDT
(In reply to comment #5)
> Is this what you are seeing Evan (the screen cap)?

No. Painting stopped. I can't recall if the launcher dialog appeared before the workbench went unresponsive or not.
Comment 7 Michael Rennie CLA 2008-05-07 10:10:43 EDT
was there anything else happening at the same time (other than the build), like say Java tools initializing (the launch dialog will not appear until Java tools have been loaded and I have seen 'initializing java tooling' and 'building workspace' try to run at the same time)?
Comment 8 Evan Hughes CLA 2008-05-07 10:24:42 EDT
(In reply to comment #7)
> was there anything else happening at the same time (other than the build), like
> say Java tools initializing (the launch dialog will not appear until Java tools
> have been loaded and I have seen 'initializing java tooling' and 'building
> workspace' try to run at the same time)?

  I don't believe that anything else was running, but it's probably worth checking the stack trace - there may have been system jobs running that I'm not aware of.
Comment 9 Darin Wright CLA 2009-06-09 16:32:51 EDT
*** Bug 221106 has been marked as a duplicate of this bug. ***
Comment 10 Darin Wright CLA 2009-06-11 15:08:21 EDT
*** Bug 234458 has been marked as a duplicate of this bug. ***
Comment 11 Darin Wright CLA 2009-06-12 12:27:48 EDT
*** Bug 236468 has been marked as a duplicate of this bug. ***
Comment 12 Eclipse Genie CLA 2020-03-04 05:27:36 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.