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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3.1, WT10.0.0
    • Component/s: None
    • Labels:
    • Story Points:
      5
    • Sprint:
      Storage Engines 2019-08-26, Storage Engines 2019-09-09

      Description

      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 

       

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: