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

Invariant failure isCapped

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Query
    • Fully Compatible
    • ALL
    • Hide
      • start a 3 member replset (I use mlaunch)
        mlaunch init --replicaset --hostname localhost --port 31000 --name rs
        
      • run the following test in node:
        var delay = function(timeout) {
          return new Promise(function(resolve) { setTimeout(function() { resolve(); }, timeout); });
        };
        
        var pipeline = [
          { $addFields: { "addedField": "This is a field added using $addFields" } },
          { $project: { documentKey: false } },
          { $addFields: { "comment": "The documentKey field has been projected out of this document." } }
        ];
        
        var MongoClient = require('mongodb').MongoClient;
        var client = new MongoClient('mongodb://localhost/rs');
        client.connect(function(err, client) {
          assert.ifError(err);
          var database = client.db('integration_tests09');
          var collection = database.collection('fullDocumentLookup');
          var changeStream = collection.watch(pipeline, { fullDocument: 'lookup' });
          changeStream.hasNext();
        
          collection.insert({ f: 128 }).then(function (result) {
            assert.equal(result.insertedCount, 1);
            return delay(200);
          }).then(function() {
            return changeStream.hasNext();
          }).then(function(hasNext) {
            assert.equal(true, hasNext);
            return changeStream.next();
          });
        });
        
      • I believe this script is the shell equivalent:
        use integration_tests09;
        
        var cursor = db.fullDocumentLookup.aggregate([
          { $changeStream: { fullDocument: 'lookup' } },
          { $addFields: { "addedField": "This is a field added using $addFields" } },
          { $project: { documentKey: false } },
          { $addFields: { "comment": "The documentKey field has been projected out of this document." } }
        ]);
        
        cursor;
        db.fullDocumentLookup.insert({ f: 128 });
        cursor;
        
      Show
      start a 3 member replset (I use mlaunch) mlaunch init --replicaset --hostname localhost --port 31000 --name rs run the following test in node: var delay = function(timeout) { return new Promise(function(resolve) { setTimeout(function() { resolve(); }, timeout); }); }; var pipeline = [ { $addFields: { "addedField" : "This is a field added using $addFields" } }, { $project: { documentKey: false } }, { $addFields: { "comment" : "The documentKey field has been projected out of this document." } } ]; var MongoClient = require( 'mongodb' ).MongoClient; var client = new MongoClient( 'mongodb: //localhost/rs' ); client.connect(function(err, client) { assert .ifError(err); var database = client.db( 'integration_tests09' ); var collection = database.collection( 'fullDocumentLookup' ); var changeStream = collection.watch(pipeline, { fullDocument: 'lookup' }); changeStream.hasNext(); collection.insert({ f: 128 }).then(function (result) { assert .equal(result.insertedCount, 1); return delay(200); }).then(function() { return changeStream.hasNext(); }).then(function(hasNext) { assert .equal( true , hasNext); return changeStream.next(); }); }); I believe this script is the shell equivalent: use integration_tests09; var cursor = db.fullDocumentLookup.aggregate([ { $changeStream: { fullDocument: 'lookup' } }, { $addFields: { "addedField" : "This is a field added using $addFields" } }, { $project: { documentKey: false } }, { $addFields: { "comment" : "The documentKey field has been projected out of this document." } } ]); cursor; db.fullDocumentLookup.insert({ f: 128 }); cursor;

      I'm running into an invariant failure when running some of my change stream tests for node with the latest nightly. Unfortunately, I'm unable to reproduce with the shell but I will provide the node script as well as what I imagine to be the direct translation to the shell. Here is the backtrace:

      2017-08-20T11:41:48.058-0400 F -        [conn24] Invariant failure isCapped() src/mongo/db/catalog/collection_impl.cpp 816
      2017-08-20T11:41:48.058-0400 F -        [conn24]
      
      ***aborting after invariant() failure
      
      
      2017-08-20T11:41:48.077-0400 F -        [conn24] Got signal: 6 (Abort trap: 6).
      
       0x10d319da9 0x10d3195cd 0x7fff8afbbbba 0x7fff93bd76b0 0x7fff8ae42420 0x10d30f38e 0x10c129e0f 0x10c35f22c 0x10c35e3e1 0x10c35de07 0x10c0e1e01 0x10c0e1c68 0x10cd1b83d 0x10c39e952 0x10c39dee2 0x10cd7d146 0x10cd7d146 0x10cd7d146 0x10cd1b83d 0x10c563d0f 0x10c563bde 0x10c5643bb 0x10c35e2af 0x10c35de07 0x10c07afec 0x10c07a28d 0x10c0790f3 0x10cede9ae 0x10c03f936 0x10c039bf0 0x10c0469e7 0x10c045e74 0x10c046838 0x10c044f97 0x10d2254bc 0x10d2255b1 0x7fff8afc5aab 0x7fff8afc59f7 0x7fff8afc51fd
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"10BE41000","o":"14D8DA9","s":"_ZN5mongo15printStackTraceERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEE"},{"b":"10BE41000","o":"14D85CD","s":"_ZN5mongo12_GLOBAL__N_110abruptQuitEi"},{"b":"7FFF8AFB9000","o":"2BBA","s":"_sigtramp"},{"b":"7FFF8ADE3000","o":"8DF46B0","s":"_C_time_locale"},{"b":"7FFF8ADE3000","o":"5F420","s":"abort"},{"b":"10BE41000","o":"14CE38E","s":"_ZN5mongo15invariantFailedEPKcS1_j"},{"b":"10BE41000","o":"2E8E0F","s":"_ZNK5mongo14CollectionImpl23getCappedInsertNotifierEv"},{"b":"10BE41000","o":"51E22C","s":"_ZN5mongo12PlanExecutor14waitForInsertsEv"},{"b":"10BE41000","o":"51D3E1","s":"_ZN5mongo12PlanExecutor11getNextImplEPNS_11SnapshottedINS_7BSONObjEEEPNS_8RecordIdE"},{"b":"10BE41000","o":"51CE07","s":"_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_8RecordIdE"},{"b":"10BE41000","o":"2A0E01","s":"_ZN5mongo20DocumentSourceCursor9loadBatchEv"},{"b":"10BE41000","o":"2A0C68","s":"_ZN5mongo20DocumentSourceCursor7getNextEv"},{"b":"10BE41000","o":"EDA83D","s":"_ZN5mongo8Pipeline7getNextEv"},{"b":"10BE41000","o":"55D952","s":"_ZNK5mongo35DocumentSourceLookupChangePostImage15lookupPostImageERKNS_8DocumentE"},{"b":"10BE41000","o":"55CEE2","s":"_ZN5mongo35DocumentSourceLookupChangePostImage7getNextEv"},{"b":"10BE41000","o":"F3C146","s":"_ZN5mongo42DocumentSourceSingleDocumentTransformation7getNextEv"},{"b":"10BE41000","o":"F3C146","s":"_ZN5mongo42DocumentSourceSingleDocumentTransformation7getNextEv"},{"b":"10BE41000","o":"F3C146","s":"_ZN5mongo42DocumentSourceSingleDocumentTransformation7getNextEv"},{"b":"10BE41000","o":"EDA83D","s":"_ZN5mongo8Pipeline7getNextEv"},{"b":"10BE41000","o":"722D0F","s":"_ZN5mongo18PipelineProxyStage11getNextBsonEv"},{"b":"10BE41000","o":"722BDE","s":"_ZN5mongo18PipelineProxyStage6doWorkEPm"},{"b":"10BE41000","o":"7233BB","s":"_ZN5mongo9PlanStage4workEPm"},{"b":"10BE41000","o":"51D2AF","s":"_ZN5mongo12PlanExecutor11getNextImplEPNS_11SnapshottedINS_7BSONObjEEEPNS_8RecordIdE"},{"b":"10BE41000","o":"51CE07","s":"_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_8RecordIdE"},{"b":"10BE41000","o":"239FEC","s":"_ZN5mongo10GetMoreCmd13generateBatchEPNS_16OperationContextEPNS_12ClientCursorERKNS_14GetMoreRequestEPNS_21CursorResponseBuilderEPNS_12PlanExecutor9ExecStateEPx"},{"b":"10BE41000","o":"23928D","s":"_ZN5mongo10GetMoreCmd9runParsedEPNS_16OperationContextERKNS_15NamespaceStringERKNS_14GetMoreRequestERKNS_7BSONObjERNS_14BSONObjBuilderE"},{"b":"10BE41000","o":"2380F3","s":"_ZN5mongo10GetMoreCmd3runEPNS_16OperationContextERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKNS_7BSONObjERNS_14BSONObjBuilderE"},{"b":"10BE41000","o":"109D9AE","s":"_ZN5mongo12BasicCommand11enhancedRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE"},{"b":"10BE41000","o":"1FE936","s":"_ZN5mongo12_GLOBAL__N_119execCommandDatabaseEPNS_16OperationContextEPNS_7CommandERKNS_12OpMsgRequestEPNS_3rpc21ReplyBuilderInterfaceE"},{"b":"10BE41000","o":"1F8BF0","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE"},{"b":"10BE41000","o":"2059E7","s":"_ZN5mongo19ServiceStateMachine15_processMessageERNS0_11ThreadGuardE"},{"b":"10BE41000","o":"204E74","s":"_ZN5mongo19ServiceStateMachine15_runNextInGuardERNS0_11ThreadGuardE"},{"b":"10BE41000","o":"205838","s":"_ZN5mongo19ServiceStateMachine7runNextEv"},{"b":"10BE41000","o":"203F97","s":"_ZNSt3__110__function6__funcIZN5mongo21ServiceEntryPointImpl12startSessionENS_10shared_ptrINS2_9transport7SessionEEEE3$_1NS_9allocatorIS8_EEFvvEEclEv"},{"b":"10BE41000","o":"13E44BC","s":"_ZN5mongo12_GLOBAL__N_17runFuncEPv"},{"b":"10BE41000","o":"13E45B1","s":"_ZNSt3__114__thread_proxyINS_5tupleIJNS_6__bindIRFPvS3_EJPNS_8functionIFvvEEEEEEEEEEES3_S3_"},{"b":"7FFF8AFC2000","o":"3AAB","s":"_pthread_body"},{"b":"7FFF8AFC2000","o":"39F7","s":"_pthread_body"},{"b":"7FFF8AFC2000","o":"31FD","s":"thread_start"}],"processInfo":{ "mongodbVersion" : "3.5.11-150-g2d5be52", "gitVersion" : "2d5be5249c0be533186e2d2bc3a720a073daed77", "compiledModules" : [], "uname" : { "sysname" : "Darwin", "release" : "16.3.0", "version" : "Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64", "machine" : "x86_64" }, "somap" : [ { "path" : "/usr/local/bin/mongod", "machType" : 2, "b" : "10BE41000", "vmaddr" : "100000000", "buildId" : "4BA2B66B68A33DAAA87ABBB3D84088B3" }, { "path" : "/usr/lib/libssl.0.9.8.dylib", "machType" : 6, "b" : "7FFF8AAB3000", "vmaddr" : "7FFF8A604000", "buildId" : "6E690FB1A581302793B3060D9D497A27" }, { "path" : "/usr/lib/libcrypto.0.9.8.dylib", "machType" : 6, "b" : "7FFF89AAA000", "vmaddr" : "7FFF895FB000", "buildId" : "D41E190106DD3860BB4FB3ACE0284C01" }, { "path" : "/usr/lib/libSystem.B.dylib", "machType" : 6, "b" : "7FFF8980B000", "vmaddr" : "7FFF8935C000", "buildId" : "FF55E33537C335679415A3A1473775F5" }, { "path" : "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation", "machType" : 6, "b" : "7FFF757D8000", "vmaddr" : "7FFF75329000", "buildId" : "A40AA2247A50398995D05A228A0E2FAF" }, { "path" : "/System/Library/Frameworks/Security.framework/Versions/A/Security", "machType" : 6, "b" : "7FFF7BCDE000", "vmaddr" : "7FFF7B82F000", "buildId" : "A47D7BAE059131848E44FB2EB08A19C2" }, { "path" : "/usr/lib/libc++.1.dylib", "machType" : 6, "b" : "7FFF89945000", "vmaddr" : "7FFF89496000", "buildId" : "BEE86868F831384C919E2B286ACFE87C" }, { "path" : "/System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent", "machType" : 6, "b" : "7FFF8830A000", "vmaddr" : "7FFF87E5B000", "buildId" : "07C1F711A1E03BAC8F4D977516D50925" }, { "path" : "/usr/lib/libz.1.dylib", "machType" : 6, "b" : "7FFF8ACB0000", "vmaddr" : "7FFF8A801000", "buildId" : "46E3FFA24328327A8D34A03E20BFFB8E" }, { "path" : "/usr/lib/system/libcache.dylib", "machType" : 6, "b" : "7FFF8ACD0000", "vmaddr" : "7FFF8A821000", "buildId" : "0C8092D3600F3ADDA036F225B6CDCA43" }, { "path" : "/usr/lib/system/libcommonCrypto.dylib", "machType" : 6, "b" : "7FFF8ACD5000", "vmaddr" : "7FFF8A826000", "buildId" : "B16E29B6EC8D3A8F9A89DD9CF35F7C4B" }, { "path" : "/usr/lib/system/libcompiler_rt.dylib", "machType" : 6, "b" : "7FFF8ACE1000", "vmaddr" : "7FFF8A832000", "buildId" : "E992E8D9037C3454A366A25E4D31D6BB" }, { "path" : "/usr/lib/system/libcopyfile.dylib", "machType" : 6, "b" : "7FFF8ACE9000", "vmaddr" : "7FFF8A83A000", "buildId" : "64E285D95485333BAEE78B0C8FB9275F" }, { "path" : "/usr/lib/system/libcorecrypto.dylib", "machType" : 6, "b" : "7FFF8ACF2000", "vmaddr" : "7FFF8A843000", "buildId" : "2074B932FD7930A98E90AF25C49F2AF1" }, { "path" : "/usr/lib/system/libdispatch.dylib", "machType" : 6, "b" : "7FFF8AD76000", "vmaddr" : "7FFF8A8C7000", "buildId" : "EA0CC14ED5593802B4B20E8C7579AAC4" }, { "path" : "/usr/lib/system/libdyld.dylib", "machType" : 6, "b" : "7FFF8ADA9000", "vmaddr" : "7FFF8A8FA000", "buildId" : "E5A2414F24803BB2BE94176119A80876" }, { "path" : "/usr/lib/system/libkeymgr.dylib", "machType" : 6, "b" : "7FFF8ADAF000", "vmaddr" : "7FFF8A900000", "buildId" : "1A31892312003B06B4325007D82F195D" }, { "path" : "/usr/lib/system/liblaunch.dylib", "machType" : 6, "b" : "7FFF8ADBD000", "vmaddr" : "7FFF8A90E000", "buildId" : "15FACC21079A3BDF9AFB4253EFDEB587" }, { "path" : "/usr/lib/system/libmacho.dylib", "machType" : 6, "b" : "7FFF8ADBE000", "vmaddr" : "7FFF8A90F000", "buildId" : "A2F38EC1C37C3B93B0E436B07C177F8C" }, { "path" : "/usr/lib/system/libquarantine.dylib", "machType" : 6, "b" : "7FFF8ADC4000", "vmaddr" : "7FFF8A915000", "buildId" : "C1D7749F5F5F3BB9BEFC1F0B9DA941FD" }, { "path" : "/usr/lib/system/libremovefile.dylib", "machType" : 6, "b" : "7FFF8ADC7000", "vmaddr" : "7FFF8A918000", "buildId" : "CD42974EBE0B39FC9BFC8A7540A04DC6" }, { "path" : "/usr/lib/system/libsystem_asl.dylib", "machType" : 6, "b" : "7FFF8ADC9000", "vmaddr" : "7FFF8A91A000", "buildId" : "EFAC72D7CB133DF7ADF3EC6635C6F1EA" }, { "path" : "/usr/lib/system/libsystem_blocks.dylib", "machType" : 6, "b" : "7FFF8ADE2000", "vmaddr" : "7FFF8A933000", "buildId" : "B8C3701D5A913D35999D2DC8D5393525" }, { "path" : "/usr/lib/system/libsystem_c.dylib", "machType" : 6, "b" : "7FFF8ADE3000", "vmaddr" : "7FFF8A934000", "buildId" : "2F88196203CB3B9DA782D98C1BBA4E3D" }, { "path" : "/usr/lib/system/libsystem_configuration.dylib", "machType" : 6, "b" : "7FFF8AE71000", "vmaddr" : "7FFF8A9C2000", "buildId" : "4FE3983CE4ED3939A57803AD29C99788" }, { "path" : "/usr/lib/system/libsystem_coreservices.dylib", "machType" : 6, "b" : "7FFF8AE75000", "vmaddr" : "7FFF8A9C6000", "buildId" : "1A572B9E0C47320F8C647990D0A5FB5A" }, { "path" : "/usr/lib/system/libsystem_coretls.dylib", "machType" : 6, "b" : "7FFF8AE79000", "vmaddr" : "7FFF8A9CA000", "buildId" : "4676F06D274D31BEB61C4D7A4AEF4858" }, { "path" : "/usr/lib/system/libsystem_dnssd.dylib", "machType" : 6, "b" : "7FFF8AE92000", "vmaddr" : "7FFF8A9E3000", "buildId" : "DC708D84ED7D3936B996A67C66B8DDAA" }, { "path" : "/usr/lib/system/libsystem_info.dylib", "machType" : 6, "b" : "7FFF8AE99000", "vmaddr" : "7FFF8A9EA000", "buildId" : "9ED9121CF1113FADBC2FC95DEE1C9362" }, { "path" : "/usr/lib/system/libsystem_kernel.dylib", "machType" : 6, "b" : "7FFF8AEC3000", "vmaddr" : "7FFF8AA14000", "buildId" : "FCEEBBD4DF6634D8A32F4F8C8E814E40" }, { "path" : "/usr/lib/system/libsystem_m.dylib", "machType" : 6, "b" : "7FFF8AEE6000", "vmaddr" : "7FFF8AA37000", "buildId" : "266DB92BA86F369180FB1B26AD73CFF3" }, { "path" : "/usr/lib/system/libsystem_malloc.dylib", "machType" : 6, "b" : "7FFF8AF2E000", "vmaddr" : "7FFF8AA7F000", "buildId" : "F40DEE3B386A3529A3F798117ED55BF4" }, { "path" : "/usr/lib/system/libsystem_network.dylib", "machType" : 6, "b" : "7FFF8AF4D000", "vmaddr" : "7FFF8AA9E000", "buildId" : "4AE368E9605D379DB04C2AC7455B8250" }, { "path" : "/usr/lib/system/libsystem_networkextension.dylib", "machType" : 6, "b" : "7FFF8AFA5000", "vmaddr" : "7FFF8AAF6000", "buildId" : "EB020B0C7DF03EEF8E3C15DA3C01D687" }, { "path" : "/usr/lib/system/libsystem_notify.dylib", "machType" : 6, "b" : "7FFF8AFAF000", "vmaddr" : "7FFF8AB00000", "buildId" : "E7FD3A7CDD0736E29FA47561F9F114DA" }, { "path" : "/usr/lib/system/libsystem_platform.dylib", "machType" : 6, "b" : "7FFF8AFB9000", "vmaddr" : "7FFF8AB0A000", "buildId" : "3CA06D4EC00A36DEAA653A390097D1F6" }, { "path" : "/usr/lib/system/libsystem_pthread.dylib", "machType" : 6, "b" : "7FFF8AFC2000", "vmaddr" : "7FFF8AB13000", "buildId" : "C869ED7CBE2935328E693A8DA1447EDC" }, { "path" : "/usr/lib/system/libsystem_sandbox.dylib", "machType" : 6, "b" : "7FFF8AFCD000", "vmaddr" : "7FFF8AB1E000", "buildId" : "7BBFDF96293F3DD9B3A47C168280B441" }, { "path" : "/usr/lib/system/libsystem_secinit.dylib", "machType" : 6, "b" : "7FFF8AFD1000", "vmaddr" : "7FFF8AB22000", "buildId" : "5C1F1E470F7D3E258DEBD9DB1F902281" }, { "path" : "/usr/lib/system/libsystem_symptoms.dylib", "machType" : 6, "b" : "7FFF8AFD3000", "vmaddr" : "7FFF8AB24000", "buildId" : "5D990CF5B58F39F7B37599B4EC62CFBD" }, { "path" : "/usr/lib/system/libsystem_trace.dylib", "machType" : 6, "b" : "7FFF8AFDB000", "vmaddr" : "7FFF8AB2C000", "buildId" : "5BD4ECD475CA38EAAF5CB481C15955F8" }, { "path" : "/usr/lib/system/libunwind.dylib", "machType" : 6, "b" : "7FFF8AFFC000", "vmaddr" : "7FFF8AB4D000", "buildId" : "9F7C2AD8A9A73DE4828DB0F0F166AAA0" }, { "path" : "/usr/lib/system/libxpc.dylib", "machType" : 6, "b" : "7FFF8B002000", "vmaddr" : "7FFF8AB53000", "buildId" : "65E41BB6EBD53D93B0BEB190CEE4DD93" }, { "path" : "/usr/lib/libobjc.A.dylib", "machType" : 6, "b" : "7FFF8A4B6000", "vmaddr" : "7FFF8A007000", "buildId" : "F9AFE665A3A23285949519803A565861" }, { "path" : "/usr/lib/libauto.dylib", "machType" : 6, "b" : "7FFF89924000", "vmaddr" : "7FFF89475000", "buildId" : "5BBF6A00CC76389D84E7CA88EDADE683" }, { "path" : "/usr/lib/libc++abi.dylib", "machType" : 6, "b" : "7FFF8999C000", "vmaddr" : "7FFF894ED000", "buildId" : "1CEF8ABB7E6D3C2F8E0AE7884478DD23" }, { "path" : "/usr/lib/libDiagnosticMessagesClient.dylib", "machType" : 6, "b" : "7FFF895CC000", "vmaddr" : "7FFF8911D000", "buildId" : "422911A4E2733E88BFC4DF6470E48242" }, { "path" : "/usr/lib/libicucore.A.dylib", "machType" : 6, "b" : "7FFF89F04000", "vmaddr" : "7FFF89A55000", "buildId" : "6B5FDA93AA88318F9608C2A33D602EC7" }, { "path" : "/usr/lib/libcoretls.dylib", "machType" : 6, "b" : "7FFF899EE000", "vmaddr" : "7FFF8953F000", "buildId" : "BCC3253748313E9F876E8C9F4CF52FD3" }, { "path" : "/usr/lib/libcoretls_cfhelpers.dylib", "machType" : 6, "b" : "7FFF899EF000", "vmaddr" : "7FFF89540000", "buildId" : "6F37C5AD79993D31A52F7AEED935F32D" }, { "path" : "/usr/lib/libbsm.0.dylib", "machType" : 6, "b" : "7FFF89925000", "vmaddr" : "7FFF89476000", "buildId" : "20084796B04D3B35A003EA11459557A9" }, { "path" : "/usr/lib/libxar.1.dylib", "machType" : 6, "b" : "7FFF8AB85000", "vmaddr" : "7FFF8A6D6000", "buildId" : "58BFB84B66FE3299AA3DBBA178ADEE39" }, { "path" : "/usr/lib/libsqlite3.dylib", "machType" : 6, "b" : "7FFF8A948000", "vmaddr" : "7FFF8A499000", "buildId" : "B5BA5C96AB1334A08237DD52A0181DFE" }, { "path" : "/usr/lib/libpam.2.dylib", "machType" : 6, "b" : "7FFF8A889000", "vmaddr" : "7FFF8A3DA000", "buildId" : "71EB0D88DE843C8DA2C558AA282BC5BC" }, { "path" : "/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit", "machType" : 6, "b" : "7FFF777BA000", "vmaddr" : "7FFF7730B000", "buildId" : "163BE7FAB29A348F8B5FE301F2E8C964" }, { "path" : "/usr/lib/libOpenScriptingUtil.dylib", "machType" : 6, "b" : "7FFF89805000", "vmaddr" : "7FFF89356000", "buildId" : "D025E180BB3B3FFA98FCB6835354D723" }, { "path" : "/usr/lib/libbz2.1.0.dylib", "machType" : 6, "b" : "7FFF89936000", "vmaddr" : "7FFF89487000", "buildId" : "6FD3B63F0F863A25BD5BE243F58792C9" }, { "path" : "/usr/lib/libxml2.2.dylib", "machType" : 6, "b" : "7FFF8AB96000", "vmaddr" : "7FFF8A6E7000", "buildId" : "E12AF9290FA53214840FC81E6AC9F36E" }, { "path" : "/usr/lib/liblzma.5.dylib", "machType" : 6, "b" : "7FFF8A131000", "vmaddr" : "7FFF89C82000", "buildId" : "44BD027999DD36B58A6EC11432E2098D" }, { "path" : "/usr/lib/libenergytrace.dylib", "machType" : 6, "b" : "7FFF89DFB000", "vmaddr" : "7FFF8994C000", "buildId" : "A1B040A2797730979ADF34FF181EB970" }, { "path" : "/usr/lib/system/libkxld.dylib", "machType" : 6, "b" : "7FFF8ADB0000", "vmaddr" : "7FFF8A901000", "buildId" : "524D7C3D73EB3F62ADB19DFBACB95924" } ] }}
       mongod(_ZN5mongo15printStackTraceERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEE+0x39) [0x10d319da9]
       mongod(_ZN5mongo12_GLOBAL__N_110abruptQuitEi+0xBD) [0x10d3195cd]
       libsystem_platform.dylib(_sigtramp+0x1A) [0x7fff8afbbbba]
       libsystem_c.dylib(_C_time_locale+0x0) [0x7fff93bd76b0]
       libsystem_c.dylib(abort+0x81) [0x7fff8ae42420]
       mongod(_ZN5mongo15invariantFailedEPKcS1_j+0x2EE) [0x10d30f38e]
       mongod(_ZNK5mongo14CollectionImpl23getCappedInsertNotifierEv+0x4F) [0x10c129e0f]
       mongod(_ZN5mongo12PlanExecutor14waitForInsertsEv+0xEC) [0x10c35f22c]
       mongod(_ZN5mongo12PlanExecutor11getNextImplEPNS_11SnapshottedINS_7BSONObjEEEPNS_8RecordIdE+0x531) [0x10c35e3e1]
       mongod(_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_8RecordIdE+0x47) [0x10c35de07]
       mongod(_ZN5mongo20DocumentSourceCursor9loadBatchEv+0xC1) [0x10c0e1e01]
       mongod(_ZN5mongo20DocumentSourceCursor7getNextEv+0x28) [0x10c0e1c68]
       mongod(_ZN5mongo8Pipeline7getNextEv+0x3D) [0x10cd1b83d]
       mongod(_ZNK5mongo35DocumentSourceLookupChangePostImage15lookupPostImageERKNS_8DocumentE+0x2C2) [0x10c39e952]
       mongod(_ZN5mongo35DocumentSourceLookupChangePostImage7getNextEv+0x232) [0x10c39dee2]
       mongod(_ZN5mongo42DocumentSourceSingleDocumentTransformation7getNextEv+0x36) [0x10cd7d146]
       mongod(_ZN5mongo42DocumentSourceSingleDocumentTransformation7getNextEv+0x36) [0x10cd7d146]
       mongod(_ZN5mongo42DocumentSourceSingleDocumentTransformation7getNextEv+0x36) [0x10cd7d146]
       mongod(_ZN5mongo8Pipeline7getNextEv+0x3D) [0x10cd1b83d]
       mongod(_ZN5mongo18PipelineProxyStage11getNextBsonEv+0x2F) [0x10c563d0f]
       mongod(_ZN5mongo18PipelineProxyStage6doWorkEPm+0x10E) [0x10c563bde]
       mongod(_ZN5mongo9PlanStage4workEPm+0x5B) [0x10c5643bb]
       mongod(_ZN5mongo12PlanExecutor11getNextImplEPNS_11SnapshottedINS_7BSONObjEEEPNS_8RecordIdE+0x3FF) [0x10c35e2af]
       mongod(_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_8RecordIdE+0x47) [0x10c35de07]
       mongod(_ZN5mongo10GetMoreCmd13generateBatchEPNS_16OperationContextEPNS_12ClientCursorERKNS_14GetMoreRequestEPNS_21CursorResponseBuilderEPNS_12PlanExecutor9ExecStateEPx+0xAC) [0x10c07afec]
       mongod(_ZN5mongo10GetMoreCmd9runParsedEPNS_16OperationContextERKNS_15NamespaceStringERKNS_14GetMoreRequestERKNS_7BSONObjERNS_14BSONObjBuilderE+0xE5D) [0x10c07a28d]
       mongod(_ZN5mongo10GetMoreCmd3runEPNS_16OperationContextERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKNS_7BSONObjERNS_14BSONObjBuilderE+0x133) [0x10c0790f3]
       mongod(_ZN5mongo12BasicCommand11enhancedRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE+0x9E) [0x10cede9ae]
       mongod(_ZN5mongo12_GLOBAL__N_119execCommandDatabaseEPNS_16OperationContextEPNS_7CommandERKNS_12OpMsgRequestEPNS_3rpc21ReplyBuilderInterfaceE+0x1256) [0x10c03f936]
       mongod(_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE+0x1240) [0x10c039bf0]
       mongod(_ZN5mongo19ServiceStateMachine15_processMessageERNS0_11ThreadGuardE+0x167) [0x10c0469e7]
       mongod(_ZN5mongo19ServiceStateMachine15_runNextInGuardERNS0_11ThreadGuardE+0x174) [0x10c045e74]
       mongod(_ZN5mongo19ServiceStateMachine7runNextEv+0x38) [0x10c046838]
       mongod(_ZNSt3__110__function6__funcIZN5mongo21ServiceEntryPointImpl12startSessionENS_10shared_ptrINS2_9transport7SessionEEEE3$_1NS_9allocatorIS8_EEFvvEEclEv+0x87) [0x10c044f97]
       mongod(_ZN5mongo12_GLOBAL__N_17runFuncEPv+0x1C) [0x10d2254bc]
       mongod(_ZNSt3__114__thread_proxyINS_5tupleIJNS_6__bindIRFPvS3_EJPNS_8functionIFvvEEEEEEEEEEES3_S3_+0x61) [0x10d2255b1]
       libsystem_pthread.dylib(_pthread_body+0xB4) [0x7fff8afc5aab]
       libsystem_pthread.dylib(_pthread_body+0x0) [0x7fff8afc59f7]
       libsystem_pthread.dylib(thread_start+0xD) [0x7fff8afc51fd]
      -----  END BACKTRACE  -----
      

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: