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

Bug 323705

Summary: infrequent deadlock editing files referenced from search results
Product: [Eclipse Project] Platform Reporter: Igor Fedorenko <igor>
Component: SearchAssignee: Platform-Search-Inbox <platform-search-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, neale, yevshif
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug
Attachments:
Description Flags
thread dump none

Description Igor Fedorenko CLA 2010-08-26 09:17:23 EDT
I was doing some search&replace refactoring, i.e. searched for a particular string, then was opening files from search results view, changing the string and saving. After several file changes Eclipse showed me "User Operation is Waiting" dialog and got stuck. Don't have more specific steps to reproduce the problem, unfortunately. Thread dump is attached.
Comment 1 Igor Fedorenko CLA 2010-08-26 09:18:14 EDT
Created attachment 177527 [details]
thread dump
Comment 2 Dani Megert CLA 2010-08-26 09:48:14 EDT
Which Eclipse version?

Did the deadlock happen more than once?

>then was opening files from search results view,
In which editor?


Looking at the code the deadlock is possible because the lock is to coarse grained.
Comment 3 Igor Fedorenko CLA 2010-08-26 10:18:26 EDT
The deadlock is very infrequent. I think I saw it only one or two times before, and I am not even sure it was the same deadlock. The editor is m2eclipse pom.xml editor.
Comment 4 Igor Fedorenko CLA 2010-08-26 10:20:25 EDT
eclipse 3.6.0 running on ubuntu linux 9.10 with sun jdk 1.6.0_20
Comment 5 Dani Megert CLA 2011-07-14 02:04:54 EDT
*** Bug 351998 has been marked as a duplicate of this bug. ***
Comment 6 Lars Vogel CLA 2019-11-14 03:29:19 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.

If you have further information on the current state of the bug, please add it. 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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.