Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4659

golang race detected when closing listener socket

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: Go - Library
    • Labels:
      None

      Description

      Race condition is deteced for following write/read

       

      git.apache.org/thrift.git/lib/go/thrift/server_socket.go:119

      git.apache.org/thrift.git/lib/go/thrift.(*TServerSocket).Close()

      git.apache.org/thrift.git/lib/go/thrift/server_socket.go:122

      git.apache.org/thrift.git/lib/go/thrift.(*TServerSocket).Interrupt()

       

      git.apache.org/thrift.git/lib/go/thrift.(*TServerSocket).Accept()

      git.apache.org/thrift.git/lib/go/thrift/server_socket.go:78

      git.apache.org/thrift.git/lib/go/thrift.(*TSimpleServer).innerAccept()

      git.apache.org/thrift.git/lib/go/thrift/simple_server.go:129

      git.apache.org/thrift.git/lib/go/thrift.(*TSimpleServer).AcceptLoop()

        Attachments

          Activity

            People

            • Assignee:
              dcelasun Duru Can Celasun
              Reporter:
              jgheewala_signalfx Jay Gheewala

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment