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

Deadlock in 1.380

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • core
    • None
    • RHEL5 64bit jdb1.6_18 64bit

    Description

      Deadlock occuring when a config POST occurs concurrently with a json api GET on same project.

      Threaddump:

      Found one Java-level deadlock:
      =============================

      "Handling GET /hudson/job/the_Build/api/json : http-8080-24":
      waiting to lock Monitor@0x0000000053162e70 (Object@0x00002aaaf87e9ab8, a java/util/Vector),
      which is held by "Handling POST /hudson/job/The_Build/configSubmit : http-8080-31"
      "Handling POST /hudson/job/The_Build/configSubmit : http-8080-31":
      waiting to lock Monitor@0x0000000052eefc20 (Object@0x00002aaab8119e08, a hudson/maven/MavenModuleSet),
      which is held by "Handling GET /hudson/job/the_Build/api/json : http-8080-24"

      Found a total of 1 deadlock.

      Attachments

        Issue Links

          Activity

            esmalling Eric Smalling added a comment -

            I've not looked at the code around this, and not sure if it's related, but note that the case difference between the GET and POST request – could there be anything related to that?

            esmalling Eric Smalling added a comment - I've not looked at the code around this, and not sure if it's related, but note that the case difference between the GET and POST request – could there be anything related to that?
            abayer Andrew Bayer added a comment - I think this was fixed for 1.381 with http://fisheye.jenkins-ci.org/changelog/Hudson/trunk/hudson/main?cs=35610
            esmalling Eric Smalling added a comment -

            Cool! I'll mark as resolved/dupe when I test 1.381 .

            Thx!

            esmalling Eric Smalling added a comment - Cool! I'll mark as resolved/dupe when I test 1.381 . Thx!
            esmalling Eric Smalling added a comment -

            Looks like its fixed in 1.381

            esmalling Eric Smalling added a comment - Looks like its fixed in 1.381

            People

              Unassigned Unassigned
              esmalling Eric Smalling
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: