Community
Participate
Working Groups
From time to time the Xtend editor causes a deadlock and you have to kill the whole Eclipse instance. I have attached two screenshots showing the two threads waiting for each other. I didn't find a way to reproduce this problem, but it occurs quite often (roundabout every 2 hours).. very annoying as all unsaved changes are lost.
Created attachment 207963 [details] Thread 1
Created attachment 207964 [details] Thread 2
Which version do you use? 2.0.1? Can you provide the stack of the thread that holds the modify lock of the document? #readonly locks should be allowed concurrently.
(In reply to comment #3) > Which version do you use? 2.0.1? > > Can you provide the stack of the thread that holds the modify lock of the > document? #readonly locks should be allowed concurrently. Yes, I use 2.0.1. In the meantime I have killed the Eclipse instance, but I'm pretty sure it will occur again soon... then I will provide the missing stack.
By the looks of it this is probably bug 358396, which was fixed in 2.1. The line EditorResourceAccess.java:63 from the stack trace at least seems to indicate that.
Created attachment 207975 [details] Stack
(In reply to comment #5) > By the looks of it this is probably bug 358396, which was fixed in 2.1. The > line EditorResourceAccess.java:63 from the stack trace at least seems to > indicate that. I guess you are right. I have attached the stacks of all threads as the problem occured again.
Btw. Is it possible to disable "Mark occurences" as a workaround?
(In reply to comment #8) > Btw. Is it possible to disable "Mark occurences" as a workaround? Yes, that should work. Just toggle Mark occurrences in your toolbar.
(In reply to comment #9) > (In reply to comment #8) > > Btw. Is it possible to disable "Mark occurences" as a workaround? > > Yes, that should work. Just toggle Mark occurrences in your toolbar. Please try to verify the fix with 2.1, too. Thanks.
Created attachment 210297 [details] thread dump for deadlock I experienced similar deadlock on 2.2. Here is thread dump, threads "Worker-53", "Worker-41" and main seems to be deadlocked I caught this deadlock after content assist activation
This has been reported: Bug 366784