mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Gregoire (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-687) 2.0.0-M5 REGRESSION: sessionClosed called before doDecode completes
Date Sun, 17 May 2009 01:57:45 GMT

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

Paul Gregoire commented on DIRMINA-687:
---------------------------------------

Sorry, but is there any idea when M6 or RC1 will be made available? I think this issue in
M5 is causing a lot of headaches for our Red5 users. If I ever meet you (Emmanuel) in person,
I'll buy you a beer. :)

> 2.0.0-M5 REGRESSION: sessionClosed called before doDecode completes
> -------------------------------------------------------------------
>
>                 Key: DIRMINA-687
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-687
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-M5
>            Reporter: Serge Baranov
>            Assignee: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0-RC1
>
>         Attachments: regression-test.zip
>
>
> The problem is described in detail at http://markmail.org/message/3iqmkdcukhygxxva .
> I did more tests by setting the CLOSED custom attribute inside sessionClosed and by checking
for this attribute in the middle of doDecode. 
> Under some networking conditions on the production server I can see the following in
the logs:
> [2009-04-16 22:30:17,329] Session closed in the middle of decoding!
> [2009-04-16 22:30:21,126] Session closed in the middle of decoding!
> [2009-04-16 22:30:22,345] Session closed in the middle of decoding!
> [2009-04-16 22:30:22,969] Session closed in the middle of decoding!
> [2009-04-16 22:30:25,217] Session closed in the middle of decoding!
> [2009-04-16 22:30:25,840] Session closed in the middle of decoding!
> [2009-04-16 22:30:59,958] Session closed in the middle of decoding!
> Unfortunately, I didn't manage to prepare an isolated test case for this issue, must
be some race condition which is tricky to catch.
> Most likely the problem is caused by this commit: http://svn.apache.org/viewvc?view=rev&revision=762167
.
> As mentioned, this problem is new to 2.0.0-M5, worked fine for many months with 2.0.0-M4
and previous builds. Rolling back to M4 builds fixes the problem instantly.
> OrderedThreadPool must guarantee the order of events, sessionClosed must not be called
when doDecode is in progress.

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


Mime
View raw message