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

Stitch SDK hits invariant initializing ThreadContext

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Service Arch 2022-05-02, Service Arch 2022-05-16

      Newer versions of the Stitch SDK lead to a critical assertion error, which will block development on certain machines.

      Invariants that stdx::this_thread::get_id() == kMainThreadId

      Context: if you run initializers in any other thread than the "main thread" (a concept that Stitch doesn't necessarily have), then it would break. This is currently incorrect for dynamically-loaded library implementations.

      AC: Fix the invariant: investigate what goes wrong is this invariant isn't met, and then fix the invariant to reflect the totally-correct world.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            nathan.blinn@mongodb.com Nathan Blinn
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: