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

Stop running the rlp* tasks on the "Enterprise RHEL 6.2 DEBUG Code Coverage" builder

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v3.4
    • TIG 2017-04-17
    • 0

    Description

      We're seeing memory errors caused by the RLP library itself when running with tcmalloc's debug allocator. This issue with the RLP library is tracked in SERVER-18479.

      [MongoDFixture:job2] memory allocation/deallocation mismatch at 0x7eff665d2fe0: allocated with new [] being deallocated with delete
      

      When this issue was encountered in the rlp_language_test C++ unit test, we simply disabled it when running with tcmalloc's debug allocator.

      The RLP library has various memory errors that tcmalloc detects in debug builds. When TCMalloc detects an error it will log the error, and call abort() while holding a spinlock. Our abort handler prints stack traces by calling backtrace() and this function needs to allocate memory on most architectures. This memory allocation will thus cause a deadlock in the spinlock since the spinlock is not recursive.

      https://jira.mongodb.org/browse/SERVER-26130

      Attachments

        Issue Links

          Activity

            People

              max.hirschhorn@mongodb.com Max Hirschhorn
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: