Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63022

ProgramRegistry::waitForPid doesn't correctly handle waitforpid return values

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux
    • Fully Compatible
    • ALL
    • STM 2022-02-07
    • 15
    • 0

      waitforpid can return -1 if it's run against a process that's already be waited on. Fix that by not running unregisterProgram when the return value is -1.

            Assignee:
            richard.samuels@mongodb.com Richard Samuels (Inactive)
            Reporter:
            richard.samuels@mongodb.com Richard Samuels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: