Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.10.2
-
Fix Version/s: 2.10.3
-
Component/s: gui, jvdesktop, Structures
-
Labels:None
Description
Observed (but not yet reproducibly) in develop:
Deadlock on opening a structure in Jmol between:
1) JmolThread -> JalviewJmolBinding.notifyFileLoaded -> StructureSelectionManager.setMapping -> StructureChooser.setProgressBar
and
2) AWTThread -> repaint -> AppJmol$RenderPanel.paintComponent -> org.jmol.viewer.Viewer.renderScreenImage -> StatusManager.setStatusResized
where Thread 1 holds a lock on StatusManager and needs a lock on AWTTreeLock
and Thread 2 holds a lock on AWTTreeLock and needs a lock on StatusManager
Deadlock on opening a structure in Jmol between:
1) JmolThread -> JalviewJmolBinding.notifyFileLoaded -> StructureSelectionManager.setMapping -> StructureChooser.setProgressBar
and
2) AWTThread -> repaint -> AppJmol$RenderPanel.paintComponent -> org.jmol.viewer.Viewer.renderScreenImage -> StatusManager.setStatusResized
where Thread 1 holds a lock on StatusManager and needs a lock on AWTTreeLock
and Thread 2 holds a lock on AWTTreeLock and needs a lock on StatusManager