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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.15, 3.5.1
    • Internal Code
    • Fully Compatible
    • v3.4, v3.2
    • Platforms 2016-11-21
    • 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

            mark.benvenuto@mongodb.com Mark Benvenuto
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: