[SERVER-13957] In OS X stack traces, supply the somap data available on Linux. Created: 15/May/14  Updated: 11/Jul/16  Resolved: 04/Jun/14

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

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

Issue Links:
Related
is related to SERVER-13944 Provide richer unwind information in ... Closed
Participants:

 Description   

SERVER-13944 enriched the stack tracer to provide information about the load addresses of executables and shared modules in MongoDB programs on Linux. This ticket is to provide the equivalent functionality on OS X so that a stack pretty printer/analyzer can uniquely identify the MongoDB binaries that generated stack traces, and find their debug symbols.

Relevant headers for this task are <mach-o/dyld.h>, <mach-o/loader.h> and <mach-o/ldsyms.h>.



 Comments   
Comment by Githook User [ 04/Jun/14 ]

Author:

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

Message: SERVER-13957 Fix solaris build error related to uname().

On Solaris, in addition to a type "struct utsname", there is a global variable
"utsname". This makes the C++ declaration "utsname myUtsName" illegal, so
we must instead write "struct utsname myUtsName".
Branch: master
https://github.com/mongodb/mongo/commit/b0e11bb814f6554dfc791ba5a05e007f4d1efec9

Comment by Githook User [ 04/Jun/14 ]

Author:

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

Message: SERVER-13957 Print load location and build uuid information in OS X stack traces.
Branch: master
https://github.com/mongodb/mongo/commit/f43fd35390995c4aa6ef53477e95998c891eb6d2

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