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

Failing to create a thread should fail with a useful error message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.9, 3.3.8
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Platforms 15 (06/03/16), Platforms 18 (08/05/16)

      Description

      Wherever we create a stdx::thread, we should catch any exceptions and print them with some useful information. Right now they just don't get caught (except in the listener), and can cause confusing crashes with just a backtrace and no error message (see SERVER-23793).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: