[SERVER-11609] access violation in AuthzManagerExternalStateMongod::getUserDescription Created: 06/Nov/13  Updated: 11/Jul/16  Resolved: 07/Nov/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.4

Type: Bug Priority: Major - P3
Reporter: Michael O'Brien Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: build-failure
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-11615 auth / commands_builtin_roles.js fail... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

This is most likely because _findUser returns an unowned BSONObj.

Discovered via MCI failure:
task:
https://mci.10gen.com/ui/task/mongodb_mongo_master_windows_64_debug_049f439ea3c8153d3f46663462c70bdf8f1fb602_13_11_06_16_41_05_auth_windows_64

logs:
http://buildlogs.mongodb.org/mci_0.9_windows_64_debug/builds/6180/test/auth_0/commands_user_defined_roles.js



 Comments   
Comment by auto [ 06/Nov/13 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-11609 Do not returned unowned BSONObj when looking up user document
Branch: master
https://github.com/mongodb/mongo/commit/1ca5a7f1107f709d62de4f14e04ebb2b63ac2de5

Comment by Michael O'Brien [ 06/Nov/13 ]

I just checked on the instance this ran on to see if i could get the .dmp, unfortunately its now busy running another task so that data is wiped clean
Might be worth looking into creating the ability to capture any dump files after a task run, so we have them saved for reference.

Comment by Eric Milkie [ 06/Nov/13 ]

Looks like it wrote a .dmp file, which we could use to help debug this issue if we still have the Windows instance available.

Generated at Thu Feb 08 03:26:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.