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

Deadlock involving Scheduler Whiteboard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Commons Scheduler 2.4.6
    • Commons Scheduler 2.4.12
    • Commons
    • None

    Description

      I repeatedly observed a deadlock situation in an AEM 6.1 installation (involving custom code).

      The result, amongst others, is a blocked SCR Actor thread.

      Hypothesis: I suspect that this can occur in situations where a scheduled Job (A) has a reference to another SCR component (B) that is lazily initialized (immediate=false) and itself registered via the whiteboard. If A is disabled while B is being added by the Scheduler, this triggers deregistration of B as well.

      cziegeler could you please take a look at the attached thread-dump? Several subsequent thread-dumps showed no progress. I would appreciate your opinion on this.

      Attachments

        1. scheduler-scr-deadlock.log
          118 kB
          Julian Sedding

        Activity

          People

            jsedding Julian Sedding
            jsedding Julian Sedding
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: