• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • core
    • None
    • RHEL5 64bit jdb1.6_18 64bit

      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.

          [JENKINS-7790] Deadlock in 1.380

          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?

          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?

          Andrew Bayer added a comment -

          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

          Eric Smalling added a comment -

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

          Thx!

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

          Eric Smalling added a comment -

          Looks like its fixed in 1.381

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

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

              Created:
              Updated:
              Resolved: