Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: JRuby 1.7.0.pre1
    • Fix Version/s: None
    • Component/s: Core Classes/Modules
    • Labels:
      None
    • Environment:
    • Number of attachments :
      0

      Description

      I'm going to re-file this issue. Originally, it was https://jira.codehaus.org/browse/JRUBY-4614 .

      On my Mac, test_socket.rb still blocks the thread. Thread dump is https://gist.github.com/2380016 .
      Clearly, test_socket.rb is the culprit. When the line "test_socket" in test/jruby_index is commented out, "ant test" finishes.

      As I wrote in JRUBY-4614, each test in test_socket finishes when those get run individually. However, those won't run concurrently. As you know, unit test runs multiple tests concurrently. When unit test gets involved in, dead lock happens.

      I reported in JRUBY-4614, below caused deadlock:

      test_unix_socket_peeraddr
      test_can_create_socket_server_and_client_connected_to_it_and_send_from_server_to_client
      test_can_create_socket_server_and_client_connected_to_it_and_send_from_client_to_server_using_recvfrom
      test_can_create_socket_server_and_client_connected_to_it_and_send_from_server_to_client_using_recvfrom

      Currently, those four tests are commented out in master branch. But, still test_socket.rb causes dead lock. So, probably, there's some more tests that have problems.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Yoko Harada
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: