Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4352

Deadlock can happen during authentication with custom SecurityManager which requests the same server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.29.0
    • None
    • Broker
    • None

    Description

      On session creation the IO thread is blocked during the authentication, this may lead to deadlock or starvation.
      The issue is in org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQPacketHandler#handlePacket which should pass the process to an 'actor'

      Attachments

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              ehsavoie Emmanuel Hugonnet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m