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

race in destruction of user cache invalidation thread can cause use-after-free in MongoS shutdown

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.5, 3.3.3
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Integration 11 (03/14/16)

      Exposed by fixing SERVER-22950. When we return from mongoSMain, the UserCacheInvalidator is still running, but we have already destroyed its state, since it is created on the stack. This causes a segfault when it tries to access its members (such as its mutex).

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: