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

Missing initializer ServiceContext for unittest

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None
    • ALL

    Description

      If I build lock_manager_test with the default link-model (not dynamic), with opt=off and dbg=on, it fails to start with this error:
      Failed global initialization: BadValue Initializer QueryableWtEngineInit depends on missing initializer ServiceContext

      (I was trying to avoid the trilemma, by using object linking.)
      I think this error has come about due to the recent structure changes regarding ServiceContext.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: