You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/03/20 00:13:50 UTC

[jira] Commented: (DIRMINA-642) Disposing an IoConnector blocks forever

    [ https://issues.apache.org/jira/browse/DIRMINA-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683673#action_12683673 ] 

Emmanuel Lecharny commented on DIRMINA-642:
-------------------------------------------

Is this still the case on trunk ?

> Disposing an IoConnector blocks forever
> ---------------------------------------
>
>                 Key: DIRMINA-642
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-642
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-M3
>         Environment: Linux
>            Reporter: Thomas Berger
>
> nHandles in the class Worker (AbstractPollingIoConnector) gets negative: -1 in my case.  Then the dispose() method blocks forever as the while loop in this worker class never breaks. Reproducing this error is pretty hard, as it usually happens after several hours. I will do a quick fix and check if nHandles<=0. 
> I think it may be related to http://issues.apache.org/jira/browse/DIRMINA-632 as I never block for a write in my app. However, I get some WriteToClosedSessionException. Is it possible that this causes nHandles to become negative?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.