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

Fix memory leak in configuration compilation

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines

      ==7525==ERROR: LeakSanitizer: detected memory leaks
      
      Direct leak of 456 byte(s) in 1 object(s) allocated from:
      #0 0x559bbf8efff2 in calloc /data/mci/0daf2ee55223f87d23db2ac2806d764d/toolchain-builder/tmp/build-llvm-v4.sh-PAU/llvm-project-llvmorg/compiler-rt/lib/asan/asan_malloc_linux.cpp:154:3
      #1 0x7f4215828f53 in __wt_calloc /data/mci/bcf97989ca58ba9c0e154bd171a5213e/src/src/third_party/wiredtiger/src/os_common/os_alloc.c:60:14
      #2 0x7f42154c83ec in __wt_conf_compile_init /data/mci/bcf97989ca58ba9c0e154bd171a5213e/src/src/third_party/wiredtiger/src/conf/conf_compile.c:519:5
      #3 0x7f42154e898f in wiredtiger_open /data/mci/bcf97989ca58ba9c0e154bd171a5213e/src/src/third_party/wiredtiger/src/conn/conn_api.c:3118:5
      #4 0x7f42227581db in mongo::WiredTigerKVEngine::_openWiredTiger(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /data/mci/bcf97989ca58ba9c0e154bd171a5213e/src/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:658:15 
      

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: