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

Fatal Crash on remote query

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.11
    • Component/s: MMAPv1
    • None
    • ALL
    • Hide

      execute command:

      db.getCollection('declinecalls').find({}).sort({_id:-1})

      Show
      execute command: db.getCollection('declinecalls').find({}).sort({_id:-1})

      Using robomongo to query collection, with a sort by id in reverse, it will cause a fatal error.

      2017-02-10T11:54:51.246-0500 I -        [conn26] Fatal Assertion 17441
      2017-02-10T11:54:51.247-0500 I -        [conn26] 
      
      ***aborting after fassert() failure
      
      
      2017-02-10T11:54:51.289-0500 F -        [conn26] Got signal: 6 (Aborted).
      
       0x1319112 0x1318039 0x1318842 0x7fe568e18cb0 0x7fe568a800d5 0x7fe568a8383b 0x129b382 0x103a546 0x103a56b 0x104972d 0x1049a48 0xbe56e9 0xba247e 0xdf86d5 0xdf8d99 0xaf2e6d 0xb77c73 0xb78af9 0xacbec0 0xc92755 0x95273c 0x12c36f5 0x7fe568e10e9a 0x7fe568b3e31d
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"F19112","s":"_ZN5mongo15printStackTraceERSo"},{"b":"400000","o":"F18039"},{"b":"400000","o":"F18842"},{"b":"7FE568E09000","o":"FCB0"},{"b":"7FE568A4A000","o":"360D5","s":"gsignal"},{"b":"7FE568A4A000","o":"3983B","s":"abort"},{"b":"400000","o":"E9B382","s":"_ZN5mongo13fassertFailedEi"},{"b":"400000","o":"C3A546"},{"b":"400000","o":"C3A56B","s":"_ZNK5mongo17RecordStoreV1Base13getNextRecordEPNS_16OperationContextERKNS_7DiskLocE"},{"b":"400000","o":"C4972D","s":"_ZN5mongo27SimpleRecordStoreV1Iterator7advanceEv"},{"b":"400000","o":"C49A48","s":"_ZN5mongo27SimpleRecordStoreV1Iterator9seekExactERKNS_8RecordIdE"},{"b":"400000","o":"7E56E9","s":"_ZN5mongo16WorkingSetCommon5fetchEPNS_16OperationContextEPNS_10WorkingSetEmNS_11unowned_ptrINS_20SeekableRecordCursorEEE"},{"b":"400000","o":"7A247E","s":"_ZN5mongo10FetchStage4workEPm"},{"b":"400000","o":"9F86D5","s":"_ZN5mongo12PlanExecutor11getNextImplEPNS_11SnapshottedINS_7BSONObjEEEPNS_8RecordIdE"},{"b":"400000","o":"9F8D99","s":"_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_8RecordIdE"},{"b":"400000","o":"6F2E6D","s":"_ZN5mongo7FindCmd3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderE"},{"b":"400000","o":"777C73","s":"_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE"},{"b":"400000","o":"778AF9","s":"_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE"},{"b":"400000","o":"6CBEC0","s":"_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE"},{"b":"400000","o":"892755","s":"_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE"},{"b":"400000","o":"55273C","s":"_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE"},{"b":"400000","o":"EC36F5","s":"_ZN5mongo17PortMessageServer17handleIncomingMsgEPv"},{"b":"7FE568E09000","o":"7E9A"},{"b":"7FE568A4A000","o":"F431D","s":"clone"}],"processInfo":{ "mongodbVersion" : "3.2.11", "gitVersion" : "009580ad490190ba33d1c6253ebd8d91808923e4", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "3.2.0-24-virtual", "version" : "#39-Ubuntu SMP Mon May 21 18:44:18 UTC 2012", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "8FBA4611CBFFF01D235D7C313E04FBE89947B7E4" }, { "b" : "7FFFF3899000", "elfType" : 3, "buildId" : "F1C8317538207037EA5A1E96C9FD0D940D4445AA" }, { "b" : "7FE569D1F000", "path" : "/lib/x86_64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "73FB5D3902679C4018AD92457B73F92C2F6B9C30" }, { "b" : "7FE569944000", "path" : "/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "958CBDCD514DFBE79DBDC086E10100F3B6B56A49" }, { "b" : "7FE56973C000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "352C5B373A50E6C4AB881A5DB6F5766FDF81EEE0" }, { "b" : "7FE569538000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "D181AF551DBBC43E9D55913D532635FDE18E7C4E" }, { "b" : "7FE56923C000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "817AA99B3DD02501F8BC04A3E9A9358A08F20D7D" }, { "b" : "7FE569026000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "ECF322A96E26633C5D10F18215170DD4395AF82C" }, { "b" : "7FE568E09000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "C340AF9DEE97C17C730F7D03693286C5194A46B8" }, { "b" : "7FE568A4A000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "E7863FF2EA3F4B5C6FF90689ADE4D6B5F3A78020" }, { "b" : "7FE569F7D000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "E25AD1A11CCF57E734116B8EC9C69F643DCA9F18" }, { "b" : "7FE568833000", "path" : "/lib/x86_64-linux-gnu/libz.so.1", "elfType" : 3, "buildId" : "F695ECFCF3918D5D34989398A14B7ECDD9F46CD0" } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x32) [0x1319112]
       mongod(+0xF18039) [0x1318039]
       mongod(+0xF18842) [0x1318842]
       libpthread.so.0(+0xFCB0) [0x7fe568e18cb0]
       libc.so.6(gsignal+0x35) [0x7fe568a800d5]
       libc.so.6(abort+0x17B) [0x7fe568a8383b]
       mongod(_ZN5mongo13fassertFailedEi+0x82) [0x129b382]
       mongod(+0xC3A546) [0x103a546]
       mongod(_ZNK5mongo17RecordStoreV1Base13getNextRecordEPNS_16OperationContextERKNS_7DiskLocE+0x1B) [0x103a56b]
       mongod(_ZN5mongo27SimpleRecordStoreV1Iterator7advanceEv+0x3D) [0x104972d]
       mongod(_ZN5mongo27SimpleRecordStoreV1Iterator9seekExactERKNS_8RecordIdE+0x78) [0x1049a48]
       mongod(_ZN5mongo16WorkingSetCommon5fetchEPNS_16OperationContextEPNS_10WorkingSetEmNS_11unowned_ptrINS_20SeekableRecordCursorEEE+0x99) [0xbe56e9]
       mongod(_ZN5mongo10FetchStage4workEPm+0x2FE) [0xba247e]
       mongod(_ZN5mongo12PlanExecutor11getNextImplEPNS_11SnapshottedINS_7BSONObjEEEPNS_8RecordIdE+0x275) [0xdf86d5]
       mongod(_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_8RecordIdE+0x39) [0xdf8d99]
       mongod(_ZN5mongo7FindCmd3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderE+0x92D) [0xaf2e6d]
       mongod(_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE+0x473) [0xb77c73]
       mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE+0x3F9) [0xb78af9]
       mongod(_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE+0x1F0) [0xacbec0]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xB45) [0xc92755]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0xEC) [0x95273c]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x325) [0x12c36f5]
       libpthread.so.0(+0x7E9A) [0x7fe568e10e9a]
       libc.so.6(clone+0x6D) [0x7fe568b3e31d]
      -----  END BACKTRACE  -----
      

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            br8kpoint Michael Fair
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: