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

Add set scheduler-locking to Hang Analyzer to prevent threads from running in GDB

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      TIG 2017-04-17
    • Linked BF Score:
      0

      Description

      As mentioned in SERVER-28437, when GDB invokes a function, the threads can execute. Perhaps using the command set scheduler-locking on will keep them from executing and modifying the state of the locks. Note, according to the documentation, "On some OSes, you can modify GDB’s default behavior by locking the OS scheduler to allow only a single thread to run. ", so this should be tested thoroughly on all platforms.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: