Print backtrace from test-libmongoc

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • TBD
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      test-libmongoc aborts or (rarely) segfaults when a test fails. Printing a backtrace would be nice, especially in Evergreen.

      On Linux and perhaps Mac, these instructions provide a starting place:

      http://stackoverflow.com/questions/77005/how-to-generate-a-stacktrace-when-my-gcc-c-app-crashes

      http://www.gnu.org/software/libc/manual/html_node/Backtraces.html

      http://oroboro.com/stack-trace-on-crash/

      On Windows apparently it's harder, leave that for later and see how the server implements backtraces.

            Assignee:
            Hannes Magnusson (Inactive)
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: