Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 41810 - Deadlock when doing update from repository
Summary: Deadlock when doing update from repository
Status: RESOLVED DUPLICATE of bug 41925
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-VCM-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 41925
Blocks:
  Show dependency tree
 
Reported: 2003-08-21 11:49 EDT by Pascal Rapicault CLA
Modified: 2003-09-03 14:07 EDT (History)
1 user (show)

See Also:


Attachments
Deadlock dump (608.99 KB, text/plain)
2003-08-21 11:49 EDT, Pascal Rapicault CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2003-08-21 11:49:34 EDT
In the old synchronize view, when I've done "update from repository" I got a 
deadlock.
Comment 1 Pascal Rapicault CLA 2003-08-21 11:49:55 EDT
Created attachment 5817 [details]
Deadlock dump
Comment 2 Michael Valenta CLA 2003-08-22 16:11:10 EDT
It appears that the deadlock is caused by the workspace lock (scheduling rule) 
being obtained both before the syncExec and within the syncExec. Thus, the 
sync exec being run in main is blocked on the lock held by the originating 
thread. I don't think the CVS code involved has changed recently (old sync 
view). Did the old workspace lock handle this case gracefully(John?).
Comment 3 John Arthorne CLA 2003-08-25 18:40:27 EDT
You can mark this as a dup of bug 41925 if you want.
Comment 4 Michael Valenta CLA 2003-08-26 11:49:24 EDT
We'll leave it separate for now in order to investigate whether we want to fix 
the code to avoid this.
Comment 5 Michael Valenta CLA 2003-09-03 14:07:28 EDT

*** This bug has been marked as a duplicate of 41925 ***