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

Ownership semantics of MessageHandlers are broken

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Platforms 12 (04/01/16), Platforms 14 (05/13/16)
    • 0

    Description

      In mongos, we declare a MessageHandler on a stack that disappears partway through shutdown, causing the fatal error "pure virtual method called."

      In mongod, we don't run into this... because we don't clean up its MessageHandler at all, we just leak it.

      Attachments

        Activity

          People

            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: