Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-715

Print backtrace from test-libmongoc

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • TBD
    • Affects Version/s: None
    • Component/s: Testing
    • 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:
            bjori Hannes Magnusson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: