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

Include libunwind in src/third_party

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Dev Tools 2019-04-08, Dev Tools 2019-05-06, Dev Tools 2019-05-20, Dev Tools 2019-04-22, Dev Tools 2019-06-03, Dev Tools 2019-06-17, Dev Tools 2019-07-01, Dev Tools 2019-07-15

      Description

      Per https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/1748597 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827015, the libunwind that ships with many systems is likely to be broken (the mentioned libunwind bug has not been fixed in any release of Ubuntu). Part of the problem is that the upstream libunwind hasn't released a version that includes these fixes, despite the core fix being merged a year ago

      This impacts the ability to enable the CPU profiler in mongod; enabling --use-cpu-profiler causes MongoDB tests to randomly fail in 3.4 and up (this also impacts 3.2 and lower, but 3.4 made its tests more robust by detecting if mongod exits non-zero).

      It'd probably be best if MongoDB shipped its own vendored copy of libunwind to mitigate this (with http://git.savannah.nongnu.org/cgit/libunwind.git/commit/?id=29483327bebaf6e0141a9bee8bb99552a63f1583 and http://git.savannah.nongnu.org/cgit/libunwind.git/commit/?id=4dea379ad982e946ee2ec561c7554faf34807b72 included).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              billy.donahue Billy Donahue
              Reporter:
              bartle David Bartley
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: