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

segfault in epoll proactor shudown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: proton-c-0.29.0
    • Fix Version/s: None
    • Component/s: proton-c
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              cliffjansen Clifford Jansen
              Reporter:
              cliffjansen Clifford Jansen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: