Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6479

GPF creating ServerSocket when no more file handles available

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M14
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      Linux
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Novice

      Description

      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; }

      }

        Attachments

        1. 6479.patch
          2 kB
          Catherine Hope

          Activity

            People

            • Assignee:
              hindessm Mark Hindess
              Reporter:
              chope Catherine Hope
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: