Xcode 10 repeatedly crashing due to UI access on main thread

Originator:matej
Number:rdar://45005773 Date Originated:04-Oct-2018 02:24 PM
Status:Open Resolved:
Product:Developer Tools Product Version:10
Classification:Crash/Hang/Data Loss Reproducible:Sometimes
 
Summary:
Xcode 10 regularly crashes during use with the following exception: CoreAnimation: CA_ASSERT_MAIN_THREAD_TRANSACTIONS is set and an implicit transaction wasn't created on a main thread. The crash occurs on Dispatch queue: com.apple.NSXPCConnection.user.com.apple.dt.Xcode.sourcecontrol.Git. 

Steps to Reproduce:
Unknown. Might be related to the Xcode commit UI. 

Expected Results:
Xcode should not access AppKit on a background thread. 

Actual Results:
Xcode accesses AppKit on a background thread. 

Version:
10

Notes:
See attached crash report. Might only occur on touch-bar macs. Did also not occur before upgrading to macOS Mojave.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!