Harmony
  1. Harmony
  2. HARMONY-6375

[classlib][nio]ServerSocketChannel hang when the main thread is waiting for request to accept and another thread try to configure the block mode on one channel

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0M2, 5.0M14
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      All platforms
    • Patch Info:
      Patch Available

      Description

      As the summary described:

      One thread is waiting for request to accept and another thread is trying to configure the block mode on the same channel.

      I will attach one test case file to describe the problem.

      1. Harmony6375TestCase.java
        2 kB
        Ray Chen
      2. Harmony6375TestCase_V2.java
        2 kB
        Ray Chen
      3. Harmony-6375.diff
        0.9 kB
        Ray Chen
      4. Harmony-6375_V2.diff
        2 kB
        Ray Chen

        Activity

        Ray Chen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Hindess made changes -
        Fix Version/s 6.0M2 [ 12314804 ]
        Fix Version/s 5.0M14 [ 12314803 ]
        Mark Hindess made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ray Chen made changes -
        Attachment Harmony-6375_V2.diff [ 12438354 ]
        Mark Hindess made changes -
        Assignee Mark Hindess [ hindessm ]
        Ray Chen made changes -
        Patch Info [Patch Available]
        Ray Chen made changes -
        Attachment Harmony6375TestCase_V2.java [ 12425037 ]
        Ray Chen made changes -
        Attachment Harmony6375TestCase_V2.java [ 12425036 ]
        Ray Chen made changes -
        Attachment Harmony6375TestCase_V2.java [ 12425036 ]
        Ray Chen made changes -
        Attachment Harmony-6375.diff [ 12424819 ]
        Ray Chen made changes -
        Field Original Value New Value
        Attachment Harmony6375TestCase.java [ 12424816 ]
        Ray Chen created issue -

          People

          • Assignee:
            Mark Hindess
            Reporter:
            Ray Chen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development