Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2392

Deadlock writing to ProgressBar

    XMLWordPrintable

    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

        Attachments

        1. deadlock.txt
          31 kB
          Mungo Carstairs
        2. deadluckP53set.jvp
          1.88 MB
          James Procter

          Issue Links

            Activity

              People

              Assignee:
              jprocter James Procter
              Reporter:
              gmungoc Mungo Carstairs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: