[SERVER-16354] Memory leak in IndexCatalogEntry::setMultikey Created: 30/Nov/14  Updated: 11/Jul/16  Resolved: 02/Dec/14

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 2.8.0-rc2

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: address-sanitizer, leak-sanitizer, memory-leak
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:
  • scons --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --ssl --dbg=on --opt=on --sanitize=address --allocator=system --mute ./dbtest ./mongo ./mongod
  • ASAN_OPTIONS="suppressions=etc/lsan.suppressions" ASAN_OPTIONS=detect_leaks=1 ASAN_SYMBOLIZER_PATH=<path-to-symbolizer> /usr/bin/python buildscripts/smoke.py --with-cleanbb dbtest --continue-on-failure
Participants:

 Description   

Detected by address sanitizer leak detector MCI build of commit 9abf77b840:

https://mci.10gen.com/task/mongodb_mongo_master_sanitize_ubuntu1404_debug_asan_9abf77b84056003cf64ea9c69ae5e85bbd135ce0_14_11_28_20_59_08_dbtest_ubuntu1404_debug_asan

http://buildlogs.mongodb.org/MCI_asan_ubuntu1404-debug-asan/builds/902/test/dbtest_0/dbtest

This test was previously green at fdb0c2b3b6

Bisection results across fdb0c2b3b6..9abf77b840:
$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[45790039049d7375beafe122622363d35ce990c2] SERVER-16143 Update multiKey metadata in a separate transaction



 Comments   
Comment by Githook User [ 02/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-16354 Delete the recovery unit in IndexCatalogEntry::setMultikey
Branch: master
https://github.com/mongodb/mongo/commit/4923623142d9a014fc8ee3d6f72f4f974e20e728

Comment by Githook User [ 02/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-16354 Delete the recovery unit in IndexCatalogEntry::setMultikey
Branch: master
https://github.com/mongodb/mongo/commit/4923623142d9a014fc8ee3d6f72f4f974e20e728

Generated at Thu Feb 08 03:40:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.