You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Soren Hilmer (JIRA)" <se...@james.apache.org> on 2005/10/25 10:42:44 UTC

[jira] Created: (JAMES-428) Deadlock in ServerConnection

Deadlock in ServerConnection
----------------------------

         Key: JAMES-428
         URL: http://issues.apache.org/jira/browse/JAMES-428
     Project: James
        Type: Bug
    Reporter: Soren Hilmer
 Assigned to: Soren Hilmer 


When dispose() is called on ServerConnection, it in turn calls dispose() on all runners, but these runners are still running and waits for their run() to finish, unfortunately that requires grapping the lock on ClientConnectionRunners, which at that time is held by the dispose() call on ServerConnection.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Closed: (JAMES-428) Deadlock in ServerConnection

Posted by "Soren Hilmer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-428?page=all ]
     
Soren Hilmer closed JAMES-428:
------------------------------


> Deadlock in ServerConnection
> ----------------------------
>
>          Key: JAMES-428
>          URL: http://issues.apache.org/jira/browse/JAMES-428
>      Project: James
>         Type: Bug
>     Reporter: Soren Hilmer
>     Assignee: Soren Hilmer
>      Fix For: 2.3.0

>
> When dispose() is called on ServerConnection, it in turn calls dispose() on all runners, but these runners are still running and waits for their run() to finish, unfortunately that requires grapping the lock on ClientConnectionRunners, which at that time is held by the dispose() call on ServerConnection.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-428) Deadlock in ServerConnection

Posted by "Soren Hilmer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-428?page=all ]
     
Soren Hilmer resolved JAMES-428:
--------------------------------

    Fix Version: 2.3.0
     Resolution: Fixed

> Deadlock in ServerConnection
> ----------------------------
>
>          Key: JAMES-428
>          URL: http://issues.apache.org/jira/browse/JAMES-428
>      Project: James
>         Type: Bug
>     Reporter: Soren Hilmer
>     Assignee: Soren Hilmer
>      Fix For: 2.3.0

>
> When dispose() is called on ServerConnection, it in turn calls dispose() on all runners, but these runners are still running and waits for their run() to finish, unfortunately that requires grapping the lock on ClientConnectionRunners, which at that time is held by the dispose() call on ServerConnection.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org