Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67188

Deadlock in class loading between TaskListener and StreamTaskListener

    • 2.322,2.319.1

      vlatombe observed a test failure which indicated a deadlock between one thread loading TaskListener and another loading StreamTaskListener. The problem was likely TaskListener.NULL, which was in a static initializer but implemented using StreamTaskListener, which in turn needed to load its supertype first.

          [JENKINS-67188] Deadlock in class loading between TaskListener and StreamTaskListener

          Jesse Glick created issue -
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "jenkins #5932 (Web Link)" [ 27235 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Description Original: [~vlatombe] observed some test failure (please add details!) which indicated a deadlock between one thread loading {{TaskListener}} and another loading {{StreamTaskListener}}. The problem was likely {{TaskListener.NULL}}, which was in a static initializer but implemented using {{StreamTaskListener}}, which in turn needed to load its supertype first. New: [~vlatombe] observed a test failure which indicated a deadlock between one thread loading {{TaskListener}} and another loading {{StreamTaskListener}}. The problem was likely {{TaskListener.NULL}}, which was in a static initializer but implemented using {{StreamTaskListener}}, which in turn needed to load its supertype first.
          Jesse Glick made changes -
          Released As New: 2.322
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "PR 5959 to backport fix into stable-2.319 prior to release of 2.319.1 (Web Link)" [ 27255 ]
          Mark Waite made changes -
          Labels Original: classloader deadlock lts-candidate New: 2.319 classloader deadlock
          Mark Waite made changes -
          Labels Original: 2.319 classloader deadlock New: 2.319.1-fixed classloader deadlock

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: