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

Valgrind memcheck errors with new geo tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.2
    • Component/s: Geo
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      run geo_s2near.js under valgrind

      Show
      run geo_s2near.js under valgrind

      Description

      ==495== Thread 12:
      ==495== Conditional jump or move depends on uninitialised value(s)
      ==495==    at 0x956B79: mongo::run2DSphereGeoNear(mongo::IndexDetails const&, mongo::BSONObj&, std::string&, mongo::BSONObjBuilder&) (bsonobjbuilder.h:235)
      ==495==    by 0x94B848: mongo::Geo2dFindNearCmd::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (geonear.cpp:70)
      ==495==    by 0x8F2EE3: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1862)
      ==495==    by 0x8F432C: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:2012)
      ==495==    by 0x8F4AD9: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2090)
      ==495==    by 0x9CCBD4: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder<mongo::TrivialAllocator>&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43)
      ==495==    by 0x9CF980: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:945)
      ==495==    by 0x97E3CA: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:260)
      ==495==    by 0x7DA8CB: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:196)
      ==495==    by 0xB8889B: mongo::PortMessageServer::handleIncomingMsg(void*) (message_server_port.cpp:205)
      ==495==    by 0x375A807D13: start_thread (pthread_create.c:309)
      ==495==    by 0x375A4F167C: clone (clone.S:115)

        Attachments

          Activity

            People

            Assignee:
            hari.khalsa@10gen.com hari.khalsa@10gen.com
            Reporter:
            milkie Eric Milkie
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: