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

collMod and invalid parameter triggers fassert on dropCollection on mmapv1

    • Fully Compatible
    • ALL
    • QuInt D (12/14/15)

      Running collMod with an invalid parameter seems to trigger an fassert on collection.drop() on standalone mongod with mmapv1

      Also triggers on 3.0.7 if the second parameter is valid.

      2015-11-18T21:28:23.675-0500 I COMMAND  [conn1] CMD: drop test.test
      2015-11-18T21:28:23.675-0500 I -        [conn1] Fatal Assertion 17442
      2015-11-18T21:28:23.675-0500 I -        [conn1] 
      
      ***aborting after fassert() failure
      
      
      2015-11-18T21:28:23.693-0500 F -        [conn1] Got signal: 6 (Abort trap: 6).
      
       libsystem_c.dylib(abort+0x81) [0x7fff8dd6237b]
       mongod(_ZN5mongo13fassertFailedEi+0xEA) [0x103a30b5a]
       mongod(_ZN5mongo7fassertEib+0x2D) [0x1026b6d6d]
       mongod(_ZNK5mongo17RecordStoreV1Base21getPrevRecordInExtentEPNS_16OperationContextERKNS_7DiskLocE+0x92) [0x103507a22]
       mongod(_ZN5mongo17RecordStoreV1Base12deleteRecordEPNS_16OperationContextERKNS_8RecordIdE+0xB4) [0x1035096a4]
       mongod(_ZN5mongo26MMAPV1DatabaseCatalogEntry39_removeNamespaceFromNamespaceCollectionEPNS_16OperationContextENS_10StringDataE+0x40A) [0x1034e5a2a]
       mongod(_ZN5mongo26MMAPV1DatabaseCatalogEntry14dropCollectionEPNS_16OperationContextENS_10StringDataE+0x27C) [0x1034e548c]
       mongod(_ZN5mongo8Database14dropCollectionEPNS_16OperationContextENS_10StringDataE+0xC51) [0x10285ef01]
       mongod(_ZN5mongo14dropCollectionEPNS_16OperationContextERKNS_15NamespaceStringERNS_14BSONObjBuilderE+0x6B0) [0x10286d210]
       mongod(_ZN5mongo7CmdDrop3runEPNS_16OperationContextERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERNS_7BSONObjEiRS9_RNS_14BSONObjBuilderE+0x28B) [0x102a1d67b]
       mongod(_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE+0xC57) [0x102a18a97]
       mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE+0x146A) [0x102a178aa]
       mongod(_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE+0x8A7) [0x1028b2cc7]
       mongod(_ZN5mongo12_GLOBAL__N_111receivedRpcEPNS_16OperationContextERNS_6ClientERNS_10DbResponseERNS_7MessageE+0x280) [0x102cafa00]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x9BC) [0x102cac86c]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x18D) [0x10254779d]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x77D) [0x103a7ab4d]
       mongod(_ZNSt3__114__thread_proxyINS_5tupleIJNS_6__bindIPFPvS3_EJPN5mongo12_GLOBAL__N_124MessagingPortWithHandlerEEEEEEEEES3_S3_+0x1FA) [0x103a794ba]
       libsystem_pthread.dylib(_pthread_body+0x83) [0x7fff92fb49b1]
       libsystem_pthread.dylib(_pthread_body+0x0) [0x7fff92fb492e]
       libsystem_pthread.dylib(thread_start+0xD) [0x7fff92fb2385]
      -----  END BACKTRACE  -----
      

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: