Bug 14191 - Deadlock: importing plug-ins and fragments
Summary: Deadlock: importing plug-ins and fragments
Status: RESOLVED DUPLICATE of bug 14094
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-19 00:07 EDT by Nick Edgar CLA
Modified: 2002-05-01 15:18 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2002-04-19 00:07:30 EDT
Build 20020418

- Had existing self-hosting workspace with all plugins as binary except for 
org.eclipse.ui, which was source.
- Autobuild was on
- File / Import / External Plug-ins and Fragments
- Next
- Select All
- deselect org.eclipse.ui
- Finish, Yes to All

It proceeded to import, then hung (did not observe at one point).
UI is unresponsive, CPU is at 0%, so it looks like a deadlock.

Killed VM and restarted.
Released my changes.
When I did a build, it did a full build, suggesting that it had hung in the 
builder before (unless the build system somehow clears out old state in the 
event of a crash).
Tried to reproduce the problem.
It ran OK this time.
Comment 1 Nick Edgar CLA 2002-04-19 00:08:40 EDT
Assigning to JDT since that's where we've seen most deadlocks recently, and I 
doubt PDE is doing any interesting threading here.

Ian, could you try to reproduce this?
Comment 2 Ian Petersen CLA 2002-04-19 15:07:07 EDT
I coudn't reproduce this manually, so I'm working on a JUnit case that will 
follow your steps a few hundred times.
Comment 3 Erich Gamma CLA 2002-04-23 04:45:21 EDT
checked with Philippe and the JavaModel hasn't made changes to the locking 
behaviour recently.

Waiting for reproducable case.
Comment 4 Nick Edgar CLA 2002-04-27 21:18:05 EDT
Ian was not able to complete this, and has gone back to school.
This will have to be investigated by JDT.
Comment 5 Martin Aeschlimann CLA 2002-04-30 04:59:55 EDT
My guess that this is bug 14094.

Please reopen when this still shows up.

*** This bug has been marked as a duplicate of 14094 ***
Comment 6 Ian Petersen CLA 2002-05-01 01:05:38 EDT
Nick, I was planning to use one of the benchmarks that I developed with Tod as 
a basis for creating an automatic test for this case.  If it would still be 
useful, you could send me the benchmarks test suite and I could work on a 
regression test case in my spare time.  The benchmarks project already contains 
a useful framework for creating the test environment, I just need to add the 
test-specific steps.
Comment 7 Nick Edgar CLA 2002-05-01 15:18:42 EDT
Ian,

Thanks for the offer, but I would prefer not to distract you from your studies.
I strongly suspect it was due to bug 14094, which has been fixed.