Windows version of printStackTrace is not thread-safe

XMLWordPrintableJSON

    • Fully Compatible
    • Windows
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If a second or later thread calls printStackTrace() on Windows while a first thread is in that code:
      1) The later call may fail in its call to SymInitialize(), so no stack trace will be displayed;
      2) Stack trace lines will be interspersed, making the traces hard to read.

      This has happened a few times in Buildbot. So far, it does not appear to crash or cause other problems.

              Assignee:
              Tad Marshall
              Reporter:
              Tad Marshall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: