| Summary: | [Xtend] XtextDocument causes Deadlock | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Oliver L <oliver.libutzki> | ||||||||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | knut.wannheden, sebastian.zarnekow | ||||||||||
| Version: | 2.0.1 | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 7 | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Oliver L
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 |