[SERVER-17994] AdminAccess object leaks after shutdown in the 3.0 branch Created: 07/Apr/15  Updated: 10/Apr/15  Resolved: 10/Apr/15

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.0.2
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Spencer Jackson Assignee: Kaloian Manassiev
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-17761 RestAdminAccess/NoAdminAccess objects... Closed
Operating System: ALL
Participants:

 Description   

https://mci.10gen.com/task/mongodb_mongo_v3.0_ubuntu1404_debug_asan_da4471fd0c7634420862fab93706f84c1b03379a_15_04_02_15_57_06_dbtest_ubuntu1404_debug_asan

Looks like this has been happening very consistently for a while.

=================================================================
==21115==ERROR: LeakSanitizer: detected memory leaks
 
Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x9353e9 in operator new(unsigned long) (/data/mci/shell/src/mongod+0x9353e9)
    #1 0x94d2fb in mongo::_initAndListen(int) /data/mci/shell/src/src/mongo/db/db.cpp:456
    #2 0x94b04b in mongo::initAndListen(int) /data/mci/shell/src/src/mongo/db/db.cpp:649
    #3 0x961f9c in mongoDbMain(int, char**, char**) /data/mci/shell/src/src/mongo/db/db.cpp:895
    #4 0x961f9c in main /data/mci/shell/src/src/mongo/db/db.cpp:698
    #5 0x7fa3f38cdec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)
 
-----------------------------------------------------
Suppressions used:
  count      bytes template
     28      34816 mongo::Client::Client
-----------------------------------------------------
 
SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).

It looks like this has something to do with the init of the http interface.

Various suites appear to be effected. jsCore_wt and jsCore_wt_compatibility have some suspiciously short logs prior to failing. I suspect it's the same issue.


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