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

Dump JS debug information when aborting in the mongo shell

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Labels:
      None
    • Server Tooling & Methods
    • 0

      When an invariant is hit in the mongo shell, it can be hard to figure out from the core dump which JS-side functions called into the native code to trip the invariant, especially since a lot of the function names are optimized out in mozjs. It'd really help to dump this at runtime.

      This might need some investigating. I'm not sure how feasible it would be to get access to the JS stack at the last second.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            carl.worley@mongodb.com Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: