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

Windows version of printStackTrace is not thread-safe

    • Fully Compatible
    • Windows

      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 Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: