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

Crash in ClientCursor::kill() during collection drop

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: Concurrency
    • ALL
    • 0
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      ==17225== Thread 11:
      ==17225== Invalid read of size 8
      ==17225==    at 0x1245636: boost::scoped_ptr<mongo::PlanExecutor>::get() const (scoped_ptr.hpp:103)
      ==17225==    by 0x1269F8B: mongo::ClientCursor::kill() (clientcursor.cpp:147)
      ==17225==    by 0x1244375: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:299)
      ==17225==    by 0x12441AC: mongo::CollectionCursorCache::~CollectionCursorCache() (collection_cursor_cache.cpp:276)
      ==17225==    by 0x123D38D: mongo::Collection::~Collection() (collection.cpp:96)
      ==17225==    by 0x123D413: mongo::Collection::~Collection() (collection.cpp:99)
      ==17225==    by 0x12528A5: mongo::Database::RemoveCollectionChange::commit() (database.cpp:102)
      ==17225==    by 0x16FD2AC: mongo::DurRecoveryUnit::publishChanges() (dur_recovery_unit.cpp:121)
      ==17225==    by 0x16FD10B: mongo::DurRecoveryUnit::commitUnitOfWork() (dur_recovery_unit.cpp:89)
      ==17225==    by 0x11E6BDF: mongo::WriteUnitOfWork::commit() (operation_context.h:173)
      ==17225==    by 0x130F67A: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:489)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225==  Address 0xba3e6d8 is 120 bytes inside a block of size 128 free'd
      ==17225==    at 0x4C2C41C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==17225==    by 0x12443FF: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:310)
      ==17225==    by 0x1250A42: mongo::Database::_clearCollectionCache_inlock(mongo::OperationContext*, mongo::StringData const&) (database.cpp:407)
      ==17225==    by 0x1250892: mongo::Database::_clearCollectionCache(mongo::OperationContext*, mongo::StringData const&) (database.cpp:395)
      ==17225==    by 0x1250559: mongo::Database::dropCollection(mongo::OperationContext*, mongo::StringData const&) (database.cpp:369)
      ==17225==    by 0x130F5BC: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:480)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225== 
      ==17225== Invalid read of size 8
      ==17225==    at 0x1261896: boost::scoped_ptr<mongo::PlanExecutor>::operator->() const (scoped_ptr.hpp:97)
      ==17225==    by 0x1269FA5: mongo::ClientCursor::kill() (clientcursor.cpp:148)
      ==17225==    by 0x1244375: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:299)
      ==17225==    by 0x12441AC: mongo::CollectionCursorCache::~CollectionCursorCache() (collection_cursor_cache.cpp:276)
      ==17225==    by 0x123D38D: mongo::Collection::~Collection() (collection.cpp:96)
      ==17225==    by 0x123D413: mongo::Collection::~Collection() (collection.cpp:99)
      ==17225==    by 0x12528A5: mongo::Database::RemoveCollectionChange::commit() (database.cpp:102)
      ==17225==    by 0x16FD2AC: mongo::DurRecoveryUnit::publishChanges() (dur_recovery_unit.cpp:121)
      ==17225==    by 0x16FD10B: mongo::DurRecoveryUnit::commitUnitOfWork() (dur_recovery_unit.cpp:89)
      ==17225==    by 0x11E6BDF: mongo::WriteUnitOfWork::commit() (operation_context.h:173)
      ==17225==    by 0x130F67A: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:489)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225==  Address 0xba3e6d8 is 120 bytes inside a block of size 128 free'd
      ==17225==    at 0x4C2C41C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==17225==    by 0x12443FF: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:310)
      ==17225==    by 0x1250A42: mongo::Database::_clearCollectionCache_inlock(mongo::OperationContext*, mongo::StringData const&) (database.cpp:407)
      ==17225==    by 0x1250892: mongo::Database::_clearCollectionCache(mongo::OperationContext*, mongo::StringData const&) (database.cpp:395)
      ==17225==    by 0x1250559: mongo::Database::dropCollection(mongo::OperationContext*, mongo::StringData const&) (database.cpp:369)
      ==17225==    by 0x130F5BC: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:480)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225== 
      ==17225== Invalid read of size 8
      ==17225==    at 0x12618C1: boost::scoped_ptr<mongo::PlanExecutor>::operator->() const (scoped_ptr.hpp:98)
      ==17225==    by 0x1269FA5: mongo::ClientCursor::kill() (clientcursor.cpp:148)
      ==17225==    by 0x1244375: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:299)
      ==17225==    by 0x12441AC: mongo::CollectionCursorCache::~CollectionCursorCache() (collection_cursor_cache.cpp:276)
      ==17225==    by 0x123D38D: mongo::Collection::~Collection() (collection.cpp:96)
      ==17225==    by 0x123D413: mongo::Collection::~Collection() (collection.cpp:99)
      ==17225==    by 0x12528A5: mongo::Database::RemoveCollectionChange::commit() (database.cpp:102)
      ==17225==    by 0x16FD2AC: mongo::DurRecoveryUnit::publishChanges() (dur_recovery_unit.cpp:121)
      ==17225==    by 0x16FD10B: mongo::DurRecoveryUnit::commitUnitOfWork() (dur_recovery_unit.cpp:89)
      ==17225==    by 0x11E6BDF: mongo::WriteUnitOfWork::commit() (operation_context.h:173)
      ==17225==    by 0x130F67A: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:489)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225==  Address 0xba3e6d8 is 120 bytes inside a block of size 128 free'd
      ==17225==    at 0x4C2C41C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==17225==    by 0x12443FF: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:310)
      ==17225==    by 0x1250A42: mongo::Database::_clearCollectionCache_inlock(mongo::OperationContext*, mongo::StringData const&) (database.cpp:407)
      ==17225==    by 0x1250892: mongo::Database::_clearCollectionCache(mongo::OperationContext*, mongo::StringData const&) (database.cpp:395)
      ==17225==    by 0x1250559: mongo::Database::dropCollection(mongo::OperationContext*, mongo::StringData const&) (database.cpp:369)
      ==17225==    by 0x130F5BC: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:480)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225== 
      ==17225== Invalid write of size 1
      ==17225==    at 0x1549B3B: mongo::PlanExecutor::kill() (plan_executor.cpp:350)
      ==17225==    by 0x1269FAD: mongo::ClientCursor::kill() (clientcursor.cpp:148)
      ==17225==    by 0x1244375: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:299)
      ==17225==    by 0x12441AC: mongo::CollectionCursorCache::~CollectionCursorCache() (collection_cursor_cache.cpp:276)
      ==17225==    by 0x123D38D: mongo::Collection::~Collection() (collection.cpp:96)
      ==17225==    by 0x123D413: mongo::Collection::~Collection() (collection.cpp:99)
      ==17225==    by 0x12528A5: mongo::Database::RemoveCollectionChange::commit() (database.cpp:102)
      ==17225==    by 0x16FD2AC: mongo::DurRecoveryUnit::publishChanges() (dur_recovery_unit.cpp:121)
      ==17225==    by 0x16FD10B: mongo::DurRecoveryUnit::commitUnitOfWork() (dur_recovery_unit.cpp:89)
      ==17225==    by 0x11E6BDF: mongo::WriteUnitOfWork::commit() (operation_context.h:173)
      ==17225==    by 0x130F67A: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:489)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225==  Address 0xba3e610 is 64 bytes inside a block of size 80 free'd
      ==17225==    at 0x4C2C41C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==17225==    by 0x1261FFB: void boost::checked_delete<mongo::PlanExecutor>(mongo::PlanExecutor*) (checked_delete.hpp:39)
      ==17225==    by 0x1261882: boost::scoped_ptr<mongo::PlanExecutor>::~scoped_ptr() (scoped_ptr.hpp:80)
      ==17225==    by 0x1269EC3: mongo::ClientCursor::~ClientCursor() (clientcursor.cpp:120)
      ==17225==    by 0x12443F7: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:310)
      ==17225==    by 0x1250A42: mongo::Database::_clearCollectionCache_inlock(mongo::OperationContext*, mongo::StringData const&) (database.cpp:407)
      ==17225==    by 0x1250892: mongo::Database::_clearCollectionCache(mongo::OperationContext*, mongo::StringData const&) (database.cpp:395)
      ==17225==    by 0x1250559: mongo::Database::dropCollection(mongo::OperationContext*, mongo::StringData const&) (database.cpp:369)
      ==17225==    by 0x130F5BC: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:480)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225== 
      ==17225== Invalid write of size 8
      ==17225==    at 0x1549B43: mongo::PlanExecutor::kill() (plan_executor.cpp:351)
      ==17225==    by 0x1269FAD: mongo::ClientCursor::kill() (clientcursor.cpp:148)
      ==17225==    by 0x1244375: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:299)
      ==17225==    by 0x12441AC: mongo::CollectionCursorCache::~CollectionCursorCache() (collection_cursor_cache.cpp:276)
      ==17225==    by 0x123D38D: mongo::Collection::~Collection() (collection.cpp:96)
      ==17225==    by 0x123D413: mongo::Collection::~Collection() (collection.cpp:99)
      ==17225==    by 0x12528A5: mongo::Database::RemoveCollectionChange::commit() (database.cpp:102)
      ==17225==    by 0x16FD2AC: mongo::DurRecoveryUnit::publishChanges() (dur_recovery_unit.cpp:121)
      ==17225==    by 0x16FD10B: mongo::DurRecoveryUnit::commitUnitOfWork() (dur_recovery_unit.cpp:89)
      ==17225==    by 0x11E6BDF: mongo::WriteUnitOfWork::commit() (operation_context.h:173)
      ==17225==    by 0x130F67A: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:489)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225==  Address 0xba3e5d8 is 8 bytes inside a block of size 80 free'd
      ==17225==    at 0x4C2C41C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==17225==    by 0x1261FFB: void boost::checked_delete<mongo::PlanExecutor>(mongo::PlanExecutor*) (checked_delete.hpp:39)
      ==17225==    by 0x1261882: boost::scoped_ptr<mongo::PlanExecutor>::~scoped_ptr() (scoped_ptr.hpp:80)
      ==17225==    by 0x1269EC3: mongo::ClientCursor::~ClientCursor() (clientcursor.cpp:120)
      ==17225==    by 0x12443F7: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:310)
      ==17225==    by 0x1250A42: mongo::Database::_clearCollectionCache_inlock(mongo::OperationContext*, mongo::StringData const&) (database.cpp:407)
      ==17225==    by 0x1250892: mongo::Database::_clearCollectionCache(mongo::OperationContext*, mongo::StringData const&) (database.cpp:395)
      ==17225==    by 0x1250559: mongo::Database::dropCollection(mongo::OperationContext*, mongo::StringData const&) (database.cpp:369)
      ==17225==    by 0x130F5BC: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:480)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225== 
      ==17225== Invalid read of size 8
      ==17225==    at 0x154A11A: std::auto_ptr<mongo::PlanStage>::operator->() const (auto_ptr.h:197)
      ==17225==    by 0x1549B5A: mongo::PlanExecutor::kill() (plan_executor.cpp:361)
      ==17225==    by 0x1269FAD: mongo::ClientCursor::kill() (clientcursor.cpp:148)
      ==17225==    by 0x1244375: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:299)
      ==17225==    by 0x12441AC: mongo::CollectionCursorCache::~CollectionCursorCache() (collection_cursor_cache.cpp:276)
      ==17225==    by 0x123D38D: mongo::Collection::~Collection() (collection.cpp:96)
      ==17225==    by 0x123D413: mongo::Collection::~Collection() (collection.cpp:99)
      ==17225==    by 0x12528A5: mongo::Database::RemoveCollectionChange::commit() (database.cpp:102)
      ==17225==    by 0x16FD2AC: mongo::DurRecoveryUnit::publishChanges() (dur_recovery_unit.cpp:121)
      ==17225==    by 0x16FD10B: mongo::DurRecoveryUnit::commitUnitOfWork() (dur_recovery_unit.cpp:89)
      ==17225==    by 0x11E6BDF: mongo::WriteUnitOfWork::commit() (operation_context.h:173)
      ==17225==    by 0x130F67A: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:489)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225==  Address 0xba3e5f8 is 40 bytes inside a block of size 80 free'd
      ==17225==    at 0x4C2C41C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==17225==    by 0x1261FFB: void boost::checked_delete<mongo::PlanExecutor>(mongo::PlanExecutor*) (checked_delete.hpp:39)
      ==17225==    by 0x1261882: boost::scoped_ptr<mongo::PlanExecutor>::~scoped_ptr() (scoped_ptr.hpp:80)
      ==17225==    by 0x1269EC3: mongo::ClientCursor::~ClientCursor() (clientcursor.cpp:120)
      ==17225==    by 0x12443F7: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:310)
      ==17225==    by 0x1250A42: mongo::Database::_clearCollectionCache_inlock(mongo::OperationContext*, mongo::StringData const&) (database.cpp:407)
      ==17225==    by 0x1250892: mongo::Database::_clearCollectionCache(mongo::OperationContext*, mongo::StringData const&) (database.cpp:395)
      ==17225==    by 0x1250559: mongo::Database::dropCollection(mongo::OperationContext*, mongo::StringData const&) (database.cpp:369)
      ==17225==    by 0x130F5BC: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:480)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225== 
      ==17225== Invalid read of size 8
      ==17225==    at 0x1549B5B: mongo::PlanExecutor::kill() (plan_executor.cpp:361)
      ==17225==    by 0x1269FAD: mongo::ClientCursor::kill() (clientcursor.cpp:148)
      ==17225==    by 0x1244375: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:299)
      ==17225==    by 0x12441AC: mongo::CollectionCursorCache::~CollectionCursorCache() (collection_cursor_cache.cpp:276)
      ==17225==    by 0x123D38D: mongo::Collection::~Collection() (collection.cpp:96)
      ==17225==    by 0x123D413: mongo::Collection::~Collection() (collection.cpp:99)
      ==17225==    by 0x12528A5: mongo::Database::RemoveCollectionChange::commit() (database.cpp:102)
      ==17225==    by 0x16FD2AC: mongo::DurRecoveryUnit::publishChanges() (dur_recovery_unit.cpp:121)
      ==17225==    by 0x16FD10B: mongo::DurRecoveryUnit::commitUnitOfWork() (dur_recovery_unit.cpp:89)
      ==17225==    by 0x11E6BDF: mongo::WriteUnitOfWork::commit() (operation_context.h:173)
      ==17225==    by 0x130F67A: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:489)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225==  Address 0xba3e540 is 0 bytes inside a block of size 72 free'd
      ==17225==    at 0x4C2C41C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==17225==    by 0x136AB75: mongo::PipelineProxyStage::~PipelineProxyStage() (pipeline_proxy.h:45)
      ==17225==    by 0x154A052: std::auto_ptr<mongo::PlanStage>::~auto_ptr() (in /home/s/code/mongo/mongo/mongod)
      ==17225==    by 0x15492FF: mongo::PlanExecutor::~PlanExecutor() (plan_executor.cpp:189)
      ==17225==    by 0x1261FF3: void boost::checked_delete<mongo::PlanExecutor>(mongo::PlanExecutor*) (checked_delete.hpp:39)
      ==17225==    by 0x1261882: boost::scoped_ptr<mongo::PlanExecutor>::~scoped_ptr() (scoped_ptr.hpp:80)
      ==17225==    by 0x1269EC3: mongo::ClientCursor::~ClientCursor() (clientcursor.cpp:120)
      ==17225==    by 0x12443F7: mongo::CollectionCursorCache::invalidateAll(bool) (collection_cursor_cache.cpp:310)
      ==17225==    by 0x1250A42: mongo::Database::_clearCollectionCache_inlock(mongo::OperationContext*, mongo::StringData const&) (database.cpp:407)
      ==17225==    by 0x1250892: mongo::Database::_clearCollectionCache(mongo::OperationContext*, mongo::StringData const&) (database.cpp:395)
      ==17225==    by 0x1250559: mongo::Database::dropCollection(mongo::OperationContext*, mongo::StringData const&) (database.cpp:369)
      ==17225==    by 0x130F5BC: mongo::CmdDrop::run(mongo::OperationContext*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:480)
      ==17225==    by 0x130B4BE: mongo::_execCommand(mongo::OperationContext*, mongo::Command*, std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1157)
      ==17225==    by 0x130C473: mongo::Command::execCommand(mongo::OperationContext*, mongo::Command*, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1371)
      ==17225==    by 0x130CD80: mongo::_runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:1447)
      ==17225==    by 0x15272D9: mongo::runCommands(mongo::OperationContext*, char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (new_find.cpp:125)
      ==17225==    by 0x1528C96: mongo::newRunQuery(mongo::OperationContext*, mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&, bool) (new_find.cpp:529)
      ==17225==    by 0x1415A62: mongo::receivedQuery(mongo::OperationContext*, mongo::Client&, mongo::DbResponse&, mongo::Message&, bool) (instance.cpp:219)
      ==17225==    by 0x1416B85: mongo::assembleResponse(mongo::OperationContext*, mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&, bool) (instance.cpp:392)
      ==17225==    by 0x112366F: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:184)
      ==17225==    by 0x18B1522: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:234)
      ==17225==    by 0x4E3F181: start_thread (pthread_create.c:312)
      ==17225==    by 0x5D7BFBC: clone (clone.S:111)
      ==17225== 
      pure virtual method called
      2014-10-31T12:43:36.957-0400 F -        [conn1] terminate() called.
      
       0x18e98dc 0x18e914a 0x54bf836 0x54bf863 0x54c033f 0x1549b6a 0x1269fae 0x1244376 0x12441ad 0x123d38e 0x123d414 0x12528a6 0x16fd2ad 0x16fd10c 0x11e6be0 0x130f67b 0x130b4bf 0x130c474 0x130cd81 0x15272da 0x1528c97 0x1415a63 0x1416b86 0x1123670 0x18b1523 0x4e3f182 0x5d7bfbd
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"14E98DC"},{"b":"400000","o":"14E914A"},{"b":"5461000","o":"5E836"},{"b":"5461000","o":"5E863"},{"b":"5461000","o":"5F33F"},{"b":"400000","o":"1149B6A"},{"b":"400000","o":"E69FAE"},{"b":"400000","o":"E44376"},{"b":"400000","o":"E441AD"},{"b":"400000","o":"E3D38E"},{"b":"400000","o":"E3D414"},{"b":"400000","o":"E528A6"},{"b":"400000","o":"12FD2AD"},{"b":"400000","o":"12FD10C"},{"b":"400000","o":"DE6BE0"},{"b":"400000","o":"F0F67B"},{"b":"400000","o":"F0B4BF"},{"b":"400000","o":"F0C474"},{"b":"400000","o":"F0CD81"},{"b":"400000","o":"11272DA"},{"b":"400000","o":"1128C97"},{"b":"400000","o":"1015A63"},{"b":"400000","o":"1016B86"},{"b":"400000","o":"D23670"},{"b":"400000","o":"14B1523"},{"b":"4E37000","o":"8182"},{"b":"5C81000","o":"FAFBD"}],"processInfo":{ "mongodbVersion" : "2.7.9-pre-", "gitVersion" : "51249a458e99d43871efd95624c9c880bc17f27b", "uname" : { "sysname" : "Linux", "release" : "3.13.0-24-generic", "version" : "#47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "BB2D2FA5E9C2CFC72CDB052BA424817C59318EFA" }, { "b" : "4A25000", "path" : "/usr/lib/valgrind/vgpreload_core-amd64-linux.so", "elfType" : 3, "buildId" : "39258A592B45456E029EA7458EDB059E25DAD54D" }, { "b" : "4C27000", "path" : "/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so", "elfType" : 3, "buildId" : "DA51DCDE9F27F24FDD755CB7089E7A2CAC6518E9" }, { "b" : "4E37000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "FE662C4D7B14EE804E0C1902FB55218A106BC5CB" }, { "b" : "5055000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "92FCF41EFE012D6186E31A59AD05BDBB487769AB" }, { "b" : "525D000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "C1AE4CB7195D337A77A3C689051DABAA3980CA0C" }, { "b" : "5461000", "path" : "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", "elfType" : 3, "buildId" : "19EFDDAB11B3BF5C71570078C59F91CF6592CE9E" }, { "b" : "5765000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "574C6350381DA194C00FF555E0C1784618C05569" }, { "b" : "5A6B000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "8D0AA71411580EE6C08809695C3984769F25725B" }, { "b" : "5C81000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "B515361E474796AF29DE9992B76A97CFFB39B2A7" }, { "b" : "4000000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "9F00581AB3C73E3AEA35995A0C50D24D59A01D47" } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x27) [0x18e98dc]
       mongod(+0x14E914A) [0x18e914a]
       libstdc++.so.6(+0x5E836) [0x54bf836]
       libstdc++.so.6(+0x5E863) [0x54bf863]
       libstdc++.so.6(+0x5F33F) [0x54c033f]
       mongod(_ZN5mongo12PlanExecutor4killEv+0x40) [0x1549b6a]
       mongod(_ZN5mongo12ClientCursor4killEv+0x3E) [0x1269fae]
       mongod(_ZN5mongo21CollectionCursorCache13invalidateAllEb+0x154) [0x1244376]
       mongod(_ZN5mongo21CollectionCursorCacheD2Ev+0x1D) [0x12441ad]
       mongod(_ZN5mongo10CollectionD1Ev+0x82) [0x123d38e]
       mongod(_ZN5mongo10CollectionD0Ev+0x18) [0x123d414]
       mongod(_ZN5mongo8Database22RemoveCollectionChange6commitEv+0x38) [0x12528a6]
       mongod(_ZN5mongo15DurRecoveryUnit14publishChangesEv+0xCD) [0x16fd2ad]
       mongod(_ZN5mongo15DurRecoveryUnit16commitUnitOfWorkEv+0xC0) [0x16fd10c]
       mongod(_ZN5mongo15WriteUnitOfWork6commitEv+0x60) [0x11e6be0]
       mongod(_ZN5mongo7CmdDrop3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x47B) [0x130f67b]
       mongod(_ZN5mongo12_execCommandEPNS_16OperationContextEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x96) [0x130b4bf]
       mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_iPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xBD6) [0x130c474]
       mongod(_ZN5mongo12_runCommandsEPNS_16OperationContextEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x4BC) [0x130cd81]
       mongod(+0x11272DA) [0x15272da]
       mongod(_ZN5mongo11newRunQueryEPNS_16OperationContextERNS_7MessageERNS_12QueryMessageERNS_5CurOpES3_b+0x39E) [0x1528c97]
       mongod(+0x1015A63) [0x1415a63]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortEb+0x481) [0x1416b86]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x118) [0x1123670]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x4D6) [0x18b1523]
       libpthread.so.0(+0x8182) [0x4e3f182]
       libc.so.6(clone+0x6D) [0x5d7bfbd]
      -----  END BACKTRACE  -----
      

      Version: 51249a458e99d438

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            kamran.khan Kamran K. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: