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

ARS::_makeProgress shouldn't get RouterSessionRuntimeState decoration if opCtx is a null pointer

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding
    • ALL
    • 57

    Description

      AsyncRequestsSender::_makeProgress gets the RouterSessionRuntimeState decoration off the operation context given to the function, but when _makeProgress is called from the ARS destructor, it is given a nullptr. Trying to get the decoration from a nullptr triggers an access violation and crashes.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: