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

Stack trace collection should continue with best effort on error

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • ALL

      Currently we fail to generate a stack trace if any code LibunwindStepIteration generates an error, even if the error is recoverable, or only applies to a single frame. AF-628 is a good example of why this is a bad idea. A less informative, or even damaged, stacktrace is far better than no stacktrace at all, particularly due to the lack of corefiles in Atlas. This is especially true for weird memory bugs, where code can fail in all sorts of unexpected ways.

      We should refactor our backtrace code to always print whatever state it has available, even if that state is incomplete or damaged.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ronald.steinke@mongodb.com Ronald Steinke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: