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

GPF creating ServerSocket when no more file handles available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M14
    • Classlib
    • None
    • Linux
    • Patch Available
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: