Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-597

AbstractIoAcceptor.toString() blocks when invoked from IoServiceListener.serviceActivated()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M1
    • 2.0.0-M4
    • Core, Transport
    • None
    • MINA-2.0.0-RC1, tested on both JDK 1.5 and JDK 1.6

    Description

      When NioDatagramAcceptor.toString() is invoked from the serviceActivated() method of IoServiceListener, the system locks up. The [NioDatagramAcceptor-1] thread ends up waiting for a lock held by [main] which is waiting for [NioDatagramAcceptor-1] to finish activating the service.

      I will attach a JUnit test case that demonstrates the problem. I'm not yet comfortable enough around MINA's innards to submit a patch.

      Attachments

        Activity

          People

            Unassigned Unassigned
            doejohn Barend Garvelink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: