[SERVER-43420] Back out of ASSERT in stacktrace_test.cpp Created: 23/Sep/19  Updated: 29/Oct/23  Resolved: 23/Sep/19

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

Type: Bug Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-44195 Complete TODO listed in SERVER-43420 Closed
Related
related to SERVER-43551 stacktrace: investigate somap missing... Closed
related to SERVER-44195 Complete TODO listed in SERVER-43420 Closed
related to SERVER-44231 Complete TODO listed in SERVER-43420 Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Tools 2019-09-23
Participants:
Linked BF Score: 0

 Description   

https://jira.mongodb.org/browse/BF-14768

On RHEL6 buildvariants, the __libc_start_main at the bottom of a main thread's backtrace doesn't resolve to a section of memory known to the processInfo.somap in the stacktrace. Libc.so.* has a section but it has a different address.

Maybe there is more than one section for that .so and the somap needs to be expanded.
But in the meantime we can take out the assert. The section being missing from the somap is apparently to be expected for the stacktrace code as implemented.

// TODO: (BF-14768) fails on RHEL6 when looking up `__libc_start_main`.              
// ASSERT_TRUE(soEntryIter != soMap.end()) << "not in soMap: 0x{:X}"_format(btBase); 



 Comments   
Comment by Githook User [ 23/Sep/19 ]

Author:

{'username': 'BillyDonahue', 'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue'}

Message: SERVER-43420 Back out of ASSERT in stacktrace_test.cpp
Branch: master
https://github.com/mongodb/mongo/commit/a2918acb07b6726da3bfe27adfa44e63b839f774

Comment by Billy Donahue [ 23/Sep/19 ]

https://mongodbcr.appspot.com/489490052/

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