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

Improve truncated deep backtraces

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics, Internal Code
    • Labels:
      None
    • Service Arch

      HELP-18938 deals with an infinite recursion. It's hard to diagnose because we only log the boring repetitive top of the stack, not the exciting bottom where the trouble started.

      Is it a mistake to truncate the backtrace in deep traces to the 100 top frames like this? I feel like we would be in a better position if we did something to show the bottom of the stack as well.

      Maybe we can add auxilliary elements to the "bt" json document to help. Display the 100 bottom frames, which would show where the recursion started, and show how many frames there were in total.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: