[SERVER-41548] When generating debug info with dsymutil, run with only one thread Created: 05/Jun/19  Updated: 29/Oct/23  Resolved: 05/Jun/19

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.2.0-rc1, 4.3.1

Type: Bug 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:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Dev Tools 2019-06-17
Participants:

 Description   

There appears to be a defect in XCode 10's dsymutil utility such that it can crash when generating debug info in multi-threaded mode (the default):

https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_macos_embedded_sdk_install_dev_c939010fe98ba0a8affe7d0d30d4e8d57e68242b_19_06_05_00_44_58/1?type=T#L2817

Adding -num-threads=1 works around this issue.



 Comments   
Comment by Githook User [ 07/Jun/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-41548 Restrict dsymutil to single threaded mode

(cherry picked from commit 661588a68066dcef3f7f3fea0af37ecebb23594a)
Branch: v4.2
https://github.com/mongodb/mongo/commit/75cf3adf68c739482f8991a559f8e989be5cdc04

Comment by Andrew Morrow (Inactive) [ 07/Jun/19 ]

Backported to 4.2 in https://github.com/mongodb/mongo/commit/75cf3adf68c739482f8991a559f8e989be5cdc04

Comment by Githook User [ 05/Jun/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-41548 Restrict dsymutil to single threaded mode
Branch: master
https://github.com/mongodb/mongo/commit/661588a68066dcef3f7f3fea0af37ecebb23594a

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