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

Bug 363997

Summary: Deadlock in ManagedContainer
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.net4jAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: major    
Priority: P3    
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Eike Stepper CLA 2011-11-17 01:11:18 EST
In getElement() there's large synchronized (elementRegistry) block that passes control out of scope. Especially element post processing or activation can lead to further container access by other threads --> deadlock
Comment 1 Eike Stepper CLA 2011-11-17 01:15:40 EST
commit b4414eb39396675ee1510a9b918006c6139a79da
Author: Eike Stepper <stepper@esc-net.de> 2011-11-17 07:13:46
Committer: Eike Stepper <stepper@esc-net.de> 2011-11-17 07:13:46
Parent: 3f0909e8fd56f0526abb7d6df5853cbd9a5d78ab (Fixed some warnings)
Branches: origin/master, master

[363997] Deadlock in ManagedContainer 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=363997
Comment 2 Eike Stepper CLA 2012-09-21 07:16:20 EDT
Closing.