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

Incorrect parameter to db.serverStatus crashes mongo shell

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.1
    • Component/s: Internal Code
    • None
    • Windows
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      While trying out the various ways to see locks, I specified a wrong parameter to db.ServerStatus causing mongo to terminate.

      Command: db.ServerStatus("locks") brings up a small window titled "mongo.exe", with the message:

      mongo.exe has stopped working
      A problem caused the program to stop working correctly.
      Windows will close the program and notify you if a solution is available.

      Debug / Close program buttons

      I am running Mongo 2.6.4 on Windows 7

      Problem is reproducible.

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            ald960 Ashley D'Souza
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: