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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.15, 3.5.1
    • Affects Version/s: None
    • Component/s: Internal Code
    • Fully Compatible
    • v3.4, v3.2
    • Platforms 2016-11-21
    • 0

      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

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

              Created:
              Updated:
              Resolved: