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

Fix memory leak caused during unpacking an on-page disk

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc7, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5

          Direct leak of 1397760 byte(s) in 14 object(s) allocated from:
              #0 0x4dbac8 in posix_memalign (/home/ubuntu/wt.a/test/format/t+0x4dbac8)
              #1 0x76349b in __wt_realloc_aligned /home/ubuntu/wt.a/src/os_common/os_alloc.c:202:20
              #2 0x8a1e04 in __wt_buf_grow_worker /home/ubuntu/wt.a/src/support/scratch.c:45:13
              #3 0x9ada7f in __wt_buf_grow /home/ubuntu/wt.a/./src/include/buf.i:17:54
              #4 0x9ad74c in __wt_buf_init /home/ubuntu/wt.a/./src/include/buf.i:49:13
              #5 0x9ab133 in __wt_block_read_off /home/ubuntu/wt.a/src/block/block_read.c:246:5
              #6 0x9aa27d in __wt_bm_read /home/ubuntu/wt.a/src/block/block_read.c:99:5
              #7 0x57d163 in __wt_bt_read /home/ubuntu/wt.a/src/btree/bt_io.c:38:9
              #8 0x584e15 in __ovfl_read /home/ubuntu/wt.a/src/btree/bt_ovfl.c:30:5
              #9 0x584cc7 in __wt_ovfl_read /home/ubuntu/wt.a/src/btree/bt_ovfl.c:71:15
              #10 0xa7910d in __cell_data_ref /home/ubuntu/wt.a/./src/include/cell.i:1101:9
              #11 0xa7b805 in __wt_page_cell_data_ref /home/ubuntu/wt.a/./src/include/cell.i:1142:13
              #12 0xa71e00 in __inmem_row_leaf /home/ubuntu/wt.a/src/btree/bt_page.c:613:17
              #13 0xa6d275 in __wt_page_inmem /home/ubuntu/wt.a/src/btree/bt_page.c:215:9
              #14 0xadae36 in __split_multi_inmem /home/ubuntu/wt.a/src/btree/bt_split.c:1409:11
              #15 0xadd628 in __wt_split_rewrite /home/ubuntu/wt.a/src/btree/bt_split.c:2260:5
              #16 0x6b39d1 in __evict_page_dirty_update /home/ubuntu/wt.a/src/evict/evict_page.c:441:13
              #17 0x6ae6ab in __wt_evict /home/ubuntu/wt.a/src/evict/evict_page.c:229:9
              #18 0x68e598 in __evict_page /home/ubuntu/wt.a/src/evict/evict_lru.c:2268:5
              #19 0x687330 in __evict_lru_pages /home/ubuntu/wt.a/src/evict/evict_lru.c:1138:20
              #20 0x686341 in __wt_evict_thread_run /home/ubuntu/wt.a/src/evict/evict_lru.c:324:9
              #21 0x8dc0a3 in __thread_run /home/ubuntu/wt.a/src/support/thread_group.c:31:9
              #22 0x4e8abe in __asan::AsanThread::ThreadStart(unsigned long, __sanitizer::atomic_uintptr_t*) (/home/ubuntu/wt.a/test/format/t+0x4e8abe)
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: