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

Valgrind complains about CollectionInfoCache::notifyOfWriteOp

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.4
    • None
    • None
    • None

    Description

      This was reported when I run jstests/sharding/drop_sharded_db.js (the valgrind was running on the mongod server with port 30001):

      sh7534| 2013-10-17T14:42:25.727-0400 [conn4] CMD: drop buy.data0
      sh7534| ==7534== Thread 15:
      sh7534| ==7534== Conditional jump or move depends on uninitialised value(s)
      sh7534| ==7534==    at 0x12AE61B: mongo::CollectionInfoCache::notifyOfWriteOp() (collection_info_cache.cpp:77)
      sh7534| ==7534==    by 0x12AD56E: mongo::Collection::deleteDocument(mongo::DiskLoc const&, bool, bool, mongo::BSONObj*) (collection.cpp:100)
      sh7534| ==7534==    by 0x10BC74C: mongo::deleteObjects(mongo::StringData const&, mongo::BSONObj, bool, bool, bool) (delete.cpp:155)
      sh7534| ==7534==    by 0xF44410: mongo::Database::_dropNS(mongo::StringData const&) (database.cpp:612)
      sh7534| ==7534==    by 0x1021261: mongo::IndexDetails::kill_idx() (index.cpp:117)
      sh7534| ==7534==    by 0x10B9515: mongo::NamespaceDetails::_removeIndex(int) (namespace_details.cpp:777)
      sh7534| ==7534==    by 0x10B9452: mongo::NamespaceDetails::removeIndex(int) (namespace_details.cpp:763)
      sh7534| ==7534==    by 0x106335F: mongo::dropIndexes(mongo::NamespaceDetails*, mongo::StringData const&, mongo::StringData const&, std::string&, mongo::BSONObjBuilder&, bool) (index_update.cpp:360)
      sh7534| ==7534==    by 0xF41B21: mongo::Database::dropCollection(mongo::StringData const&) (database.cpp:304)
      sh7534| ==7534==    by 0xF502C9: mongo::CmdDrop::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:540)
      sh7534| ==7534==    by 0xF4AE51: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1850)
      sh7534| ==7534==    by 0xF4BF23: mongo::Command::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:2017)
      sh7534| ==7534== 
       

      git version: 4850a6ae10601226642c6594f3b93e052d62bdf6

      Attachments

        Activity

          People

            matt.dannenberg Matt Dannenberg
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: