Community
Participate
Working Groups
DStoreConnectorService#internalConnect() is synchronized, but calls out to other methods below it. This construct could deadlock easily, since it is very similar to the one fixed with bug #199552 -- see the comments there for information how the deadlock actually happened. Please investigate why you think the method must be synchronized, and either get rid of the synchronized statement or find an alternative way of synchronization. Take care of bug #149188 comment 4, it shows one reason why the synchronized could be there (to avoid multiply connecting the same subsystem, in this case).
For similar issues, see also bug 199566 and bug 199568.
See bug #199573 comment 1 for an example how to fix issues with synchronized.
Created attachment 78230 [details] patch for taking out the synchronization
I've applied the patch to cvs already, since this change is fairly trivial and I didn't see any problems with basic tests.
fine, thanks
marking this as fixed since I committed the changes yesterday.