[SERVER-42486] Use vendored libunwind for tcmalloc's stack trace collection Created: 29/Jul/19  Updated: 29/Oct/23  Resolved: 14/Aug/19

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-08-12, Dev Tools 2019-08-26
Participants:
Linked BF Score: 50

 Description   

The default tcmalloc stack trace collector used by the debug allocator requires frame pointers, but there is not guarantee that system libraries have them. Instead, we should configure tcmalloc to use libunwind's backtracer.



 Comments   
Comment by Githook User [ 14/Aug/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'andrew.morrow@10gen.com'}

Message: SERVER-42486 Use profiler and libunwind in the right places, together
Branch: master
https://github.com/mongodb/mongo/commit/866e3969c40539a0cf9c2f9033093ae19665f4c6

Comment by Githook User [ 13/Aug/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'andrew.morrow@10gen.com'}

Message: SERVER-42486 When libunwind is enabled, use it for gperftools debug backtrace collection
Branch: master
https://github.com/mongodb/mongo/commit/f3238c1a1bb18d3cd819c026ec90758892ae3133

Generated at Thu Feb 08 05:00:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.