Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4061

Deadlock involving discovery services at startup with Oak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • Extensions
    • None

    Description

      I just got a deadlock at startup when starting the launchpad integration tests instance on sling trunk revision 1632058 (so starting with Oak):

      export DBG="-Xmx1G  -XX:MaxPermSize=256m -agentlib:jdwp=transport=dt_socket,address=30303,server=y,suspend=n"
      export MAVEN_OPTS="-Xmx1G  -XX:MaxPermSize=256m $DBG -Dsling.run.modes=oak"
      cd launchpad/testing
      mvn launchpad:run
      

      I'll attach the stack trace. The discovery HeartbeatHandler, and DiscoveryServiceImpl classes are involved.

      The deadlock happens often on my box (macosx 10.9.5, java version "1.7.0_45"), with the same deadlock pattern AFAICS.

      Attachments

        1. discovery-deadlock.txt
          113 kB
          Bertrand Delacretaz

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: