Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4966

Fix valgrind detected memory leak from test/csuite/import/smoke.sh

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.1, 4.3.1, WT10.0.0
    • Affects Version/s: None
    • Component/s: None
    • 5
    • Storage Engines 2019-08-26, Storage Engines 2019-09-09

      SUMMARY: Added a no-op command of date > /dev/null to the beginning of test/csuite/import/smoke.sh that avoids the bash memory leak bug with valgrind. Still waiting on a reply from the bugzilla report.

      An instance of memory leak was detected by Valgrind for test/csuite/import/smoke.sh test program. It is consistently failing the valgrind job right now. One example:

      http://build.wiredtiger.com:8080/job/wiredtiger-valgrind/3288/

      The stack trace is not so obvious given source code is not available:

      [Valgrind] Analysing valgrind results
      [Valgrind] '/builddir/build/BUILD/valgrind-3.13.0/coregrind/m_replacemalloc/vg_replace_malloc.c' does not exist, source code won't be available 

       

        1. valgrind-error-details.png
          124 kB
          Luke Chen
        2. valgrind-memleak-error.png
          124 kB
          Luke Chen

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: