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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.9, 3.3.8
    • Internal Code
    • Fully Compatible
    • ALL
    • 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

              jason.carey@mongodb.com Jason Carey
              jonathan.reams@mongodb.com Jonathan Reams
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: