This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Deadlock during editing file.
Created attachment 18269 [details] Deadlock
The problem seems to be that DefaultLangModel.doFire starts MDR transaction and then transitively tries to lock Children.MUTEX, which is illegal. Dane, can the transaction locking be removed from DefaultLangModel.doFire? Or does wrapping of the transaction by Children.MUTEX (so that it is locked first) make better sense?
I have removed mdr transaction from DefaultLangModel.doFire. This transaction was added as a part of fix of issue 46345 and seems to be redundant. Emane, can you confirm that the change has not an impact on tests (that it does not cause a deadlock in the javasrc tests on your machines) ? Checking in DefaultLangModel.java; /cvs/java/src/org/netbeans/modules/java/bridge/DefaultLangModel.java,v <-- DefaultLangModel.java new revision: 1.7; previous revision: 1.6
The tests seem right, no deadlock there.
Honzo, can you verify this issue, please? Thanks.