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

valgrind fails with boost::math::erfc_inv<long double>(long double, long double): Overflow Error

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.15, 3.5.1
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4, v3.2
    • Sprint:
      Platforms 2016-11-21
    • Linked BF Score:
      0

      Description

      When running 'mongod' under valgrind, the process immediately hits an exception while executing global initializers.
      This is due to a bad interaction between Boost and Valgrind, where Valgrind does not fully support long doubles.

      To work around this, use CPPDEFINES=BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS when compiling.

      See https://svn.boost.org/trac/boost/ticket/10005

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: