[SERVER-75836] Fix mongo shared library directory detection in resmoke symbolizer Created: 07/Apr/23  Updated: 23/Jan/24

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

Type: Bug Priority: Minor - P4
Reporter: Jeffrey Zambory Assignee: Daniel Moody
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Build
Operating System: ALL
Sprint: Build and Correctness OnDeck
Participants:

 Description   

There's a TODO in the symbolizer in Resmoke to more robustly find the mongo shared library.

https://github.com/mongodb/mongo/blob/9595ffb2b2a270c2038f01737131d0d015464633/buildscripts/mongosymb.py#L68-L74

This currently is causing some pain as the symbolizer is difficult to set up and use by engineers. This TODO should be handled at some point to make the symbolizer easier to use.



 Comments   
Comment by Alex Neben [ 08/Apr/23 ]

Current workaround is something like "/opt/mongodbtoolchain/v4/bin/python3 ./buildscripts/mongosymb.py --debug-file-resolver=path --symbolizer-path=/opt/mongodbtoolchain/v4/bin/llvm-symbolizer /data/mci/0a2928ffd932d6d8c76149b44970f525/src/dist-test/bin/mongod <backtrace.json"

Generated at Thu Feb 08 06:31:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.