Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2112

segfault in epoll proactor shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.29.0
    • proton-c-0.37.0
    • proton-c
    • None
    • Linux

    Description

      If an epoll proactor is dealing with file descriptor resource starvation at the time of shutdown, it can try to initiate new IO in conflict with other shutting down activity. Specifically, when freeing a connection's socket, it tries to resume any pause listeners.

      I suspect there is a missing check somewhere to see if proactor->shutting_down is set before attempting the resume. But it may require a more thorough dismantling of the overflow listener list before commencing to tear down straggling connections.

      Attachments

        1. bt.txt
          2 kB
          Clifford Jansen

        Activity

          People

            cliffjansen Clifford Jansen
            cliffjansen Clifford Jansen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: