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

Bug 123028

Summary: Deadlock in main and debug threads
Product: [Eclipse Project] JDT Reporter: Omry Yadan <public>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: darin.eclipse
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Thread dump during deadlock none

Description Omry Yadan CLA 2006-01-08 06:49:26 EST
eclipse froze, I used kill -QUIT pid to get the threads stack dump.
it appeasr that there is a deadlock between main and debug thread.
threads dump is attached.
Comment 1 Omry Yadan CLA 2006-01-08 06:50:03 EST
Created attachment 32649 [details]
Thread dump during deadlock
Comment 2 Darin Wright CLA 2006-01-09 09:02:37 EST
Could you confirm the version of Eclipse you are using (it might be older than 3.1?).

The deadlock is caused by a non-ui thread attempting to prompt for source where a breakpoint was hit waiting for the UI thread with a lock on the thread (and source could not be found), and the UI thread already performing a source lookup, needing a lock on the thread. The source locator being used has been deprecated since 3.0. If you were to re-create your launch configuration being used, you should get the new source locator.
Comment 3 Omry Yadan CLA 2006-01-10 17:32:17 EST
I am pretty sure about the eclispe version. I`ll give you a definitive answer tommorow.
A possible cause can be sysdeo tomcat plugin. I have only saw it while debugging tomcat which ras ran by it (so far).
Comment 4 Omry Yadan CLA 2006-01-11 07:44:48 EST
This is the eclipse build I am using:
Version: 3.1.0
Build id: I20050627-1435
Comment 5 Darin Wright CLA 2006-01-11 08:42:06 EST
OK, Sysdeo is using a depreacted source locator then. There still may be issues we want to fix in the Java debugger here (i.e. we hold a lock while notifying clients of a breakpoints, and a listener may decided to prompt the user).
Comment 6 Darin Wright CLA 2006-05-01 22:27:14 EDT
Deferred
Comment 7 Darin Wright CLA 2008-06-23 12:12:00 EDT
Closing. No intention to fix deprecated source locator.
Comment 8 Denis Roy CLA 2009-08-30 02:21:14 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.