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

use signal handling stack via sigaltstack to improve behavior on stack overflow

    • Fully Compatible
    • v4.2, v4.0
    • Dev Tools 2019-08-26, Dev Tools 2019-09-09, Dev Tools 2019-09-23, Dev Tools 2019-10-07, Dev Tools 2019-10-21, Dev Tools 2019-11-04

      In case of stack overflow mongod may not be able to produce a stack trace in the log because the signal handler has no stack space to run in, significantly hampering diagnosis. Servicability could be improved by using sigaltstack to establish a separate signal-handling stack, allowing stack traces to be produced in case of stack overflow.

        1. stacktrace-writeup.txt
          9 kB
          Billy Donahue

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: