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

Invariant Failure in CappedRecordStoreV1::cappedTruncateAfter

    • Fully Compatible
    • ALL
    • TIG C (11/20/15), TIG D (12/11/15), TIG E (01/08/16), TIG F (01/29/16)
    • 0

      affects 3.0.7 and 3.2.0-rc2

      [MongoDFixture:job0] 2015-11-10T16:50:07.813+0000 I -        [conn72] Invariant failure cappedLastDelRecLastExtent().isValid() src/mongo/db/storage/mmap_v1/record_store_v1_capped.cpp 448
      [MongoDFixture:job0] 2015-11-10T16:50:07.813+0000 I -        [conn72]
      [MongoDFixture:job0] 
      [MongoDFixture:job0] ***aborting after invariant() failure
      [MongoDFixture:job0] 
      [MongoDFixture:job0] 
      [MongoDFixture:job0] 2015-11-10T16:50:07.819+0000 F -        [conn72] Got signal: 6 (Aborted).
      [MongoDFixture:job0] 
      [MongoDFixture:job0]  0x12cd032 0x12cc199 0x12cc9a2 0x7fd56b6fa130 0x7fd56b35f5d7 0x7fd56b360cc8 0x12577eb 0x102a799 0x102a7ff 0xaba5cc 0xb5669d 0xb981ac 0xb98f6d 0xaf7ab1 0xca3b6f 0x989b0c 0x127a165 0x7fd56b6f2df5 0x7fd56b4201ad
      [MongoDFixture:job0] ----- BEGIN BACKTRACE -----
      [MongoDFixture:job0] {"backtrace":[{"b":"400000","o":"ECD032"},{"b":"400000","o":"ECC199"},{"b":"400000","o":"ECC9A2"},{"b":"7FD56B6EB000","o":"F130"},{"b":"7FD56B32A000","o":"355D7"},{"b":"7FD56B32A000","o":"36CC8"},{"b":"400000","o":"E577EB"},{"b":"400000","o":"C2A799"},{"b":"400000","o":"C2A7FF"},{"b":"400000","o":"6BA5CC"},{"b":"400000","o":"75669D"},{"b":"400000","o":"7981AC"},{"b":"400000","o":"798F6D"},{"b":"400000","o":"6F7AB1"},{"b":"400000","o":"8A3B6F"},{"b":"400000","o":"589B0C"},{"b":"400000","o":"E7A165"},{"b":"7FD56B6EB000","o":"7DF5"},{"b":"7FD56B32A000","o":"F61AD"}],"processInfo":{ "mongodbVersion" : "3.2.0-rc2-79-g1e08352", "gitVersion" : "1e083524aecb31bb9e2682b6da813f76cf15223c", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "3.10.0-121.el7.x86_64", "version" : "#1 SMP Tue Apr 8 10:48:19 EDT 2014", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "1B99D0D06BE617248C7A03DD8AFFD722795D44D1" }, { "b" : "7FFFDFED4000", "elfType" : 3, "buildId" : "2E0D6061CA324F7A50926A1057278D4DDEF2A53E" }, { "b" : "7FD56C919000", "path" : "/lib64/libssl.so.10", "elfType" : 3, "buildId" : "8DB4545998776514159031B754BB67F7F396F83A" }, { "b" : "7FD56C532000", "path" : "/lib64/libcrypto.so.10", "elfType" : 3, "buildId" : "038F79F7C3F6E60C29184B8E70D0B1E62525D64D" }, { "b" : "7FD56C32A000", "path" : "/lib64/librt.so.1", "elfType" : 3, "buildId" : "DE43F3E59399601F2D40096B54D05FFA065F6DDA" }, { "b" : "7FD56C126000", "path" : "/lib64/libdl.so.2", "elfType" : 3, "buildId" : "7E9A1A8B08DB426D5E349DB8B2D11B8BC0442477" }, { "b" : "7FD56BE1F000", "path" : "/lib64/libstdc++.so.6", "elfType" : 3, "buildId" : "792CB3B95C373D42A8B08E26EF1A612B297FBB8F" }, { "b" : "7FD56BB1D000", "path" : "/lib64/libm.so.6", "elfType" : 3, "buildId" : "4DB1EDF3A02BB05820F9DAB5DF06A324FA09FF54" }, { "b" : "7FD56B907000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3, "buildId" : "3D06B234BB28280F8B45C2A3B76DBFD9986FC7F5" }, { "b" : "7FD56B6EB000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "505287E8736961F603241188C0319B217005E7CF" }, { "b" : "7FD56B32A000", "path" : "/lib64/libc.so.6", "elfType" : 3, "buildId" : "749D3F9CD5D026324C52F8BF2E8037B6A18AFEB7" }, { "b" : "7FD56CB86000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "92EA16F0331C16FC99B67B6643A50E4C7E21FAAC" }, { "b" : "7FD56B0DE000", "path" : "/lib64/libgssapi_krb5.so.2", "elfType" : 3, "buildId" : "1F0E95A9CD4EBECD8A7B9C4CD74DE76E0243B943" }, { "b" : "7FD56ADFB000", "path" : "/lib64/libkrb5.so.3", "elfType" : 3, "buildId" : "4F7FE190136CAD7D07F1FCBCEB51D129C3E1A4AC" }, { "b" : "7FD56ABF7000", "path" : "/lib64/libcom_err.so.2", "elfType" : 3, "buildId" : "B25574847B066A26CD593C8101DF6779898FF2C2" }, { "b" : "7FD56A9C5000", "path" : "/lib64/libk5crypto.so.3", "elfType" : 3, "buildId" : "F1049865813B1DF435FF3D4E7AE2A651303B18D4" }, { "b" : "7FD56A7AF000", "path" : "/lib64/libz.so.1", "elfType" : 3, "buildId" : "8934632E74819BCC23A16BD5659F1FFBB5243D93" }, { "b" : "7FD56A5A0000", "path" : "/lib64/libkrb5support.so.0", "elfType" : 3, "buildId" : "DC59ACD1904AD75DF59A88681AB3B2A6B268CC7E" }, { "b" : "7FD56A39C000", "path" : "/lib64/libkeyutils.so.1", "elfType" : 3, "buildId" : "8CA73C16CFEB9A8B5660015B9223B09F87041CAD" }, { "b" : "7FD56A182000", "path" : "/lib64/libresolv.so.2", "elfType" : 3, "buildId" : "783A909BC6E9945180505C80B3A01D2D518C7B5F" }, { "b" : "7FD569F5D000", "path" : "/lib64/libselinux.so.1", "elfType" : 3, "buildId" : "5062031216B995004A297D555D834C0109F7598C" }, { "b" : "7FD569CFC000", "path" : "/lib64/libpcre.so.1", "elfType" : 3, "buildId" : "48073BD2BFFD1255A1AAB572CA1C3DC53AF5CD2A" }, { "b" : "7FD569AD7000", "path" : "/lib64/liblzma.so.5", "elfType" : 3, "buildId" : "59474E81F81B9FEA8C224678D1E157A8D6012A38" } ] }}
      [MongoDFixture:job0]  mongod(_ZN5mongo15printStackTraceERSo+0x32) [0x12cd032]
      [MongoDFixture:job0]  mongod(+0xECC199) [0x12cc199]
      [MongoDFixture:job0]  mongod(+0xECC9A2) [0x12cc9a2]
      [MongoDFixture:job0]  libpthread.so.0(+0xF130) [0x7fd56b6fa130]
      [MongoDFixture:job0]  libc.so.6(gsignal+0x37) [0x7fd56b35f5d7]
      [MongoDFixture:job0]  libc.so.6(abort+0x148) [0x7fd56b360cc8]
      [MongoDFixture:job0]  mongod(_ZN5mongo15invariantFailedEPKcS1_j+0xCB) [0x12577eb]
      [MongoDFixture:job0]  mongod(_ZN5mongo19CappedRecordStoreV119cappedTruncateAfterEPNS_16OperationContextEPKcNS_7DiskLocEb+0x749) [0x102a799]
      [MongoDFixture:job0]  mongod(_ZN5mongo19CappedRecordStoreV124temp_cappedTruncateAfterEPNS_16OperationContextENS_8RecordIdEb+0x5F) [0x102a7ff]
      [MongoDFixture:job0]  mongod(_ZN5mongo10Collection24temp_cappedTruncateAfterEPNS_16OperationContextENS_8RecordIdEb+0xAC) [0xaba5cc]
      [MongoDFixture:job0]  mongod(_ZN5mongo8CapTrunc3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderE+0x3ED) [0xb5669d]
      [MongoDFixture:job0]  mongod(_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE+0x2BC) [0xb981ac]
      [MongoDFixture:job0]  mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE+0x3CD) [0xb98f6d]
      [MongoDFixture:job0]  mongod(_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE+0x1F1) [0xaf7ab1]
      [MongoDFixture:job0]  mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xB3F) [0xca3b6f]
      [MongoDFixture:job0]  mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0xEC) [0x989b0c]
      [MongoDFixture:job0]  mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x265) [0x127a165]
      [MongoDFixture:job0]  libpthread.so.0(+0x7DF5) [0x7fd56b6f2df5]
      [MongoDFixture:job0]  libc.so.6(clone+0x6D) [0x7fd56b4201ad]
      [MongoDFixture:job0] -----  END BACKTRACE  -----
      

            Assignee:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: