Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17901

Memory leak in IndexCatalog::_isSpecOk()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.2
    • Component/s: Index Maintenance
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Quint Iteration 3.1.2

      Description

      It seems that since https://mci.10gen.com/task/mongodb_mongo_master_ubuntu1404_debug_asan_736faefc2822289ad0dc9be90029e76dea9615f3_15_04_02_20_22_06_jsCore_WT_ubuntu1404_debug_asan certain jsCore related suites fail on ASAN. The suites run something related to partial indexes, then hang.

      An example is here: https://mci.10gen.com/task/mongodb_mongo_master_ubuntu1404_debug_asan_453c0b526ae5ed429caab2b6970d452c8d405a85_15_04_06_15_04_07_jsCore_ubuntu1404_debug_asan

       [2015/04/06 12:36:43.785] running ./mongod --port 27999 --dbpath /data/db/sconsTests/ --setParameter enableTestCommands=1 --httpinterface --nopreallocj
       [2015/04/06 12:36:43.785]  *******************************************
       [2015/04/06 12:36:43.785]          Test : index_many2.js ...
       [2015/04/06 12:36:43.785]       Command : ./mongo --port 27999 --writeMode commands /data/mci/shell/src/jstests/core/index_many2.js --eval TestData = new Object();TestData.storageEngine = "";TestData.wiredTigerEngineConfigString = "";TestData.wiredTigerCollectionConfigString = "";TestData.wiredTigerIndexConfigString = "";TestData.testPath = "/data/mci/shell/src/jstests/core/index_many2.js";TestData.testFile = "index_many2.js";TestData.testName = "index_many2";TestData.setParameters = "";TestData.setParametersMongos = "";TestData.noJournal = false;TestData.noJournalPrealloc = true;TestData.auth = false;TestData.keyFile = null;TestData.keyFileData = null;TestData.authMechanism = "SCRAM-SHA-1";TestData.useSSL = false;TestData.useX509 = false;MongoRunner.dataDir = "/data/db";MongoRunner.dataPath = MongoRunner.dataDir + "/";
       [2015/04/06 12:36:43.785]          Date : Mon Apr  6 16:36:43 2015
       [2015/04/06 12:36:43.873]                 (output suppressed; see http://buildlogs.mongodb.org/build/5522af78d2a60f51c00000b8/test/5522b61bd2a60f5936000257/)
       [2015/04/06 12:36:46.008]                  2222.7249 ms
       [2015/04/06 12:36:48.124] clean_dbroot: /data/db
       [2015/04/06 12:36:48.124] num procs:132
       [2015/04/06 12:36:48.124] Creating dir: /data/db/sconsTests/
       [2015/04/06 12:36:48.124] running ./mongod --port 27999 --dbpath /data/db/sconsTests/ --setParameter enableTestCommands=1 --httpinterface --nopreallocj
       [2015/04/06 12:36:48.124]  *******************************************
       [2015/04/06 12:36:48.124]          Test : index_partial1.js ...
       [2015/04/06 12:36:48.124]       Command : ./mongo --port 27999 --writeMode commands /data/mci/shell/src/jstests/core/index_partial1.js --eval TestData = new Object();TestData.storageEngine = "";TestData.wiredTigerEngineConfigString = "";TestData.wiredTigerCollectionConfigString = "";TestData.wiredTigerIndexConfigString = "";TestData.testPath = "/data/mci/shell/src/jstests/core/index_partial1.js";TestData.testFile = "index_partial1.js";TestData.testName = "index_partial1";TestData.setParameters = "";TestData.setParametersMongos = "";TestData.noJournal = false;TestData.noJournalPrealloc = true;TestData.auth = false;TestData.keyFile = null;TestData.keyFileData = null;TestData.authMechanism = "SCRAM-SHA-1";TestData.useSSL = false;TestData.useX509 = false;MongoRunner.dataDir = "/data/db";MongoRunner.dataPath = MongoRunner.dataDir + "/";
       [2015/04/06 12:36:48.124]          Date : Mon Apr  6 16:36:48 2015
       [2015/04/06 12:36:48.202]                 (output suppressed; see http://buildlogs.mongodb.org/build/5522af78d2a60f51c00000b8/test/5522b620d2a60f597d0000a9/)
       [2015/04/06 12:36:48.767]                   642.7491 ms
       [2015/04/06 12:36:49.964] error shutting down mongod
       [2015/04/06 12:36:49.965] [Errno 3] No such process
       [2015/04/06 12:36:49.965] [Errno 111] Connection refused
       [2015/04/06 12:36:49.978] 437 tests succeeded
       [2015/04/06 12:36:49.978] 340 tests didn't get run
       [2015/04/06 12:36:49.978] Traceback (most recent call last):
       [2015/04/06 12:36:49.978]   File "buildscripts/smoke.py", line 1458, in <module>
       [2015/04/06 12:36:49.978]     main()
       [2015/04/06 12:36:49.978]   File "buildscripts/smoke.py", line 1442, in main
       [2015/04/06 12:36:49.978]     run_tests(tests)
       [2015/04/06 12:36:49.978]   File "buildscripts/smoke.py", line 840, in run_tests
       [2015/04/06 12:36:49.979]     master.stop()
       [2015/04/06 12:36:49.979]   File "buildscripts/smoke.py", line 343, in stop
       [2015/04/06 12:36:49.979]     raise(Exception('mongod process exited with non-zero code %d' % retcode))
       [2015/04/06 12:36:49.979] Exception: mongod process exited with non-zero code 23
       [2015/04/06 12:36:49.987] Command failed: exit status 1
       [2015/04/06 12:36:49.987] Task completed - FAILURE.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rassi J Rassi
              Reporter:
              spencer.jackson Spencer Jackson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: