mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRMINA-910) Mina client/server pair hangs
Date Mon, 01 Oct 2012 07:35:07 GMT

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

Emmanuel Lecharny commented on DIRMINA-910:

Yes, it's clearly a bug in your code. Don't synchronize on session, this is not an instance
you manage, you have no idea about what can be its life cycle. Find another way to inform
your main() that the array has been received and is ready to be checked.
> Mina client/server pair hangs
> -----------------------------
>                 Key: DIRMINA-910
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-910
>             Project: MINA
>          Issue Type: Bug
>          Components: Handler
>    Affects Versions: 2.0.4, 2.0.5
>         Environment: OS: 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
> java version "1.7.0_07"
> Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
> Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
>            Reporter: Ajo Fod
>         Attachments: check.zip
> Attached is a complete example that shows how the system of client/server programs hangs.
I've heard that it couldn't be reproduced on a OS X environment. So, I've also attached the
stack trace. Please run the dbg.server and dbg.client scripts to reproduce the problem. They
may need to be run a 2-5 times.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message