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

don't call async signal unsafe functions in signal handlers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7.0
    • Internal Code
    • None
    • Fully Compatible
    • ALL

    Description

      There is already a comment about this for rawOut. Other signal handling code should be audited as well.

          /* note: can't use malloc herein - may be in signal handler.
                   logLockless() likely does not comply and should still be fixed todo
                   likewise class string?
          */
          void rawOut( const string &s ) {
      

      Attachments

        Issue Links

          Activity

            People

              mathias@mongodb.com Mathias Stearn
              aaron Aaron Staple
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: