[SERVER-9061] Mongostat 2.4 segfaults when called with multiple hosts and auth Created: 21/Mar/13 Updated: 11/Jul/16 Resolved: 21/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Tools |
| Affects Version/s: | 2.4.0 |
| Fix Version/s: | 2.4.2, 2.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Emil (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All |
||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Steps To Reproduce: | ./mongostat --host localhost:27017,localhost:27018 -u a -p a |
||||
| Participants: | |||||
| Description |
|
Mongostat will seg fault when called with multiple hosts and authorization parameters. It does not seem to matter if the user/pass exists or if all of the hosts are up, in my testing it segfaulted regardless. |
| Comments |
| Comment by auto [ 21/Mar/13 ] |
|
Author: {u'date': u'2013-03-21T20:27:37Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by auto [ 21/Mar/13 ] |
|
Author: {u'date': u'2013-03-21T20:27:37Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by Andrew Emil (Inactive) [ 21/Mar/13 ] |
|
See "Steps to Reproduce" for parameters and error output. I don't get anything to show up in the mongod logs when doing this, turning on verbose logging and I will post the output EDIT: Nothing interesting in the logs even with verbose logging turned on (both for mongod and for mongostat) |
| Comment by Spencer Brody (Inactive) [ 21/Mar/13 ] |
|
Yes please! Can you attach output from a failed run including the parameters used and the error log from when it crashed? |
| Comment by Andrew Emil (Inactive) [ 21/Mar/13 ] |
|
I know this is sparse, please let me know if you want more info and I will create a more complete write-up. |