[SERVER-17105] Server fails to start under Valgrind: 'Failed to set tcmalloc.max_total_thread_cache_bytes' Created: 28/Jan/15 Updated: 17/Nov/15 Resolved: 12/Nov/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 3.0.0-rc7 |
| Fix Version/s: | 3.2.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kamran K. | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | 28qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Platform C (11/20/15) | ||||||||
| Participants: | |||||||||
| Description |
|
This looks like fallout from
Version: ac9ee2fb80f2af |
| Comments |
| Comment by Githook User [ 12/Nov/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 12/Nov/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 12/Nov/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 08/Oct/15 ] |
|
This should, and previously did, work. I think what is needed here is a runtime check for "running under valgrind" that elides any calls to the tcmalloc management and configuration APIs. In particular, the RUNNING_ON_VALGRIND function documented here: http://valgrind.org/docs/manual/manual-core-adv.html. |
| Comment by Andy Schwerin [ 08/Oct/15 ] |
|
acm, do we support valgrind with any allocator other than the system allocator? |