lldb hangs in a mutex in dispatch_async
Originator: | gnachman | ||
Number: | rdar://FB9856118 | Date Originated: | 1/22/2022 |
Status: | Resolved: | ||
Product: | Xcode 13.1 | Product Version: | |
Classification: | Incorrect/Unexpected Behavior | Reproducible: |
This has affected every version of Xcode I have used for about the last ten years. I experience it several times a week on both macOS and iOS projects. It has happened to me and my co-workers on different projects at different companies, as well as on my personal side project. 1. Debug a program that uses dispatch_async from multiple queues at the same time 2. Single step a bit and hit continue 3. Do this for a few minutes and it will reproduce Expected: Debugger doesn’t hang Actual: Debugger hangs. Looks like deadlock.
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!