You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/03/22 15:07:27 UTC

[jira] Commented: (HARMONY-6479) GPF creating ServerSocket when no more file handles available

    [ https://issues.apache.org/jira/browse/HARMONY-6479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848136#action_12848136 ] 

Mark Hindess commented on HARMONY-6479:
---------------------------------------

Catherine,  I've applied the fix in r926091.  I know I always complain about fixes without regression tests but in this case I think running the regression test would be a little antisocial so I've omitted that from the commit.

Please confirm that the fix has been applied as expected and close the JIRA if you hare happy with my not committing the regression test.


> GPF creating ServerSocket when no more file handles available
> -------------------------------------------------------------
>
>                 Key: HARMONY-6479
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6479
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux
>            Reporter: Catherine Hope
>            Assignee: Mark Hindess
>         Attachments: 6479.patch
>
>
> Creating a ServerSocket when there are no more file handles available causes a GPF on Linux.  The expected behaviour is a SocketException.
> Problem can be recreated running the following:
>     while (true) {
>             try {
>                 new ServerSocket(0);
>             } catch (SocketException e) {
>                 // expected
>                 break;
>             }
>         }

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