[SERVER-14332] Incorrect parameter to db.serverStatus crashes mongo shell Created: 21/Jun/14 Updated: 10/Dec/14 Resolved: 23/Jun/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 2.6.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ashley D'Souza | Assignee: | Ramon Fernandez Marina |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | Windows | ||||||||
| Participants: | |||||||||
| Description |
|
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 Debug / Close program buttons I am running Mongo 2.6.4 on Windows 7 Problem is reproducible. |
| Comments |
| Comment by Ramon Fernandez Marina [ 23/Jun/14 ] | |
|
Duplicate of | |
| Comment by Ashley D'Souza [ 22/Jun/14 ] | |
|
"mongo --version" shows 2.6.1, as does db.serverStatus() (Not sure how I got 2.6.4. Apologies for that!) Here's the output of db.serverBuildInfo() in case you need it: > db.serverBuildInfo() | |
| Comment by Ramon Fernandez Marina [ 21/Jun/14 ] | |
|
Note also that the way to get the information you need is to run
| |
| Comment by Ramon Fernandez Marina [ 21/Jun/14 ] | |
|
Can you please check your version again? 2.6.4 has not been released yet. You can find the version you're using by running the following in the shell:
|