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

    • Fully Compatible
    • v3.4
    • TIG 2017-04-17
    • 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

            jonathan.abrahams Jonathan Abrahams
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: