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

don't call async signal unsafe functions in signal handlers

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • ALL

      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 ) {
      

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

              Created:
              Updated:
              Resolved: