| Summary: | New deadlock in indexer job : PDOMManager.createIndexer() vs PDOMManager.savePreferences() | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Andrey Loskutov <loskutov> | ||||
| Component: | cdt-indexer | Assignee: | Markus Schorn <mschorn.eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | cdtdoug, malaperle, mober.at+eclipse, pawel.1.piech, yevshif | ||||
| Version: | Next | ||||||
| Target Milestone: | 8.0.3 | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 359485 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Andrey Loskutov
Created attachment 213317 [details]
Full thread dump
Are you running 3.7.1 or 3.7.2? The fix in bug 359485 was to work around Bug 359698 which got fixed in 3.7.2. CDT 8.0.2 on Eclipse 3.7.2 I've just downloaded 3.7.2 classic package and still see "synchronized flush()" in the sources of org.eclipse.equinox.preferences/src/org/eclipse/core/internal/preferences/EclipsePreferences.java
/*
* @see org.osgi.service.prefs.Preferences#flush()
*/
synchronized public void flush() throws BackingStoreException {
internalFlush();
}
Looks like the patch for bug 359698 was never properly integrated/propagated to 3.7.2 stream.
Please check bug 333726 comment 27 for the discussion about possible solution. The problem should go away by removing the workaround that shall not be necessary any more. (In reply to comment #6) > The problem should go away by removing the workaround that shall not be > necessary any more. *Should* ? Did you removed the code (please point me to the commit) OR do you suggest me to try with the removing the workaround by myself? What was exactly in the workaround: bug 359485 comment 8 contains links to git commits - is it all what we have to remove, or anything else? Thanks! (In reply to comment #7) I have removed the workaround. The workaround has been put back in, because the platform issue is not yet fixed in eclipse 3.8. So what particular Platform problem does this depend on now - bug 376206 or anything else ? (In reply to comment #10) > So what particular Platform problem does this depend on now - bug 376206 or > anything else ? That's unclear (at least to me) at the moment, see http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg24178.html Workaround for bug 359485 is removed again and tested with platform 3.8m6 and 3.7.2. This bug occurs with CDT 8.0.2 (which contains the workaround for 359485) and platform 3.7.2 (which contains the fix for 359485). *** cdt git genie on behalf of Markus Schorn ***
Bug 375601: Remove workaround for bug 359485.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=61f66feccebe3db1379669b8b53914690f4c9394
*** cdt git genie on behalf of Markus Schorn ***
Bug 375601: Remove workaround for bug 359485.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=9c2b66cf03f5423013365c0db8890a801b45a876
*** cdt git genie on behalf of Markus Schorn ***
Bug 375601: Remove workaround for bug 359485.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b2a57f053d773794a78c38f91dff405e8c54401f
|