ICEfaces
  1. ICEfaces
  2. ICE-9627

Deadlock during session invalidation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P07
    • Fix Version/s: EE-1.8.2.GA_P08
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      WebLogic Seam
    • Salesforce Case Reference:

      Description

      It appears we have interleaved synchronization that is causing a deadlock. It is triggered during session invalidation. In this case, something in Seam is invalidating the session and that invalidate call makes it's way down until we try to shutdown our SessionDispatcher.Monitor. At that point it grabs a lock on the collection of "contexts" in order to iterate through and clean up stuff. During this process, though, it needs to grap a lock on the SessionMonitors collection. Unfortunately, a thread already has the lock but then needs the lock on the "contexts" collection as well.
      1. ICE-9627.patch
        2 kB
        Deryk Sinotte
      2. icefaces.death.threadDump
        139 kB
        Arran Mccullough
      3. synchronizeInShutdown.patch
        2 kB
        Arran Mccullough

        Activity

        Deryk Sinotte created issue -
        Deryk Sinotte made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000WftdpAAB
        Deryk Sinotte made changes -
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Arran Mccullough made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Arran Mccullough made changes -
        Attachment icefaces.death.threadDump [ 16579 ]
        Arran Mccullough made changes -
        Attachment synchronizeInShutdown.patch [ 16580 ]
        Deryk Sinotte made changes -
        Attachment ICE-9627.patch [ 16581 ]
        Deryk Sinotte made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: