[SERVER-21934] Add extra information to OSX stack traces to facilitate addr2line translation Created: 17/Dec/15  Updated: 25/Jan/17  Resolved: 29/Dec/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.0.9, 3.2.3, 3.3.0

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Sharding E (01/08/16)
Participants:

 Description   

The JSON format stack dumps for OS X are missing a piece of information that is useful for doing symbol, file and line resolution of stacks. That is the "load address" of the mach-o images in the file. This value must be added to the offset value in the stack traces in order to get an address suitable for passing to atos or llvm_symbolizer.



 Comments   
Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-21934 Add extra information to OSX stack dumps to support ASLR.

(cherry picked from commit 706d2e0a94c57d5c4a01a4787d78d413f134441e)
Branch: v3.2
https://github.com/mongodb/mongo/commit/421c9d5abd96f3917c591440ab7f9a9e56b486e4

Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-21934 Add extra information to OSX stack dumps to support ASLR.

(cherry picked from commit 706d2e0a94c57d5c4a01a4787d78d413f134441e)
Branch: v3.0
https://github.com/mongodb/mongo/commit/ee1daeddef9e19b6879add2e0082bb0300447f02

Comment by Githook User [ 29/Dec/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-21934 Add extra information to OSX stack dumps to support ASLR.
Branch: master
https://github.com/mongodb/mongo/commit/706d2e0a94c57d5c4a01a4787d78d413f134441e

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