[SR-16006] EXC_BAD_ACCESS with async let on iOS 15.4 and macOS 12.3 #58267
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
concurrency
Feature: umbrella label for concurrency language features
Additional Detail from JIRA
md5: a180b45c64f8fa62f2f64bec092d2247
Issue Description:
I have recently encountered issues with the usage of `async let` on iOS 15.4 (sim and physical devices) and macOS 12.3 (M1 mac mini) - tested with both xcode 13.3 and 13.2.1
The issue is reproducible with the following rudimentary sample with xcode's default project settings:
Some notes on what I have noticed during testing:
The number of `TestModel`'s properties has to be exactly 14 to reproduce the crash.
If the code optimization (`-Os/-O`) is used, then the crash doesn't occur anymore.
If `= TestModel()` is encapsulated in a closure `= {TestModel()}` then the crash also doesn't occur anymore.
The full stacktrace of the `EXC_BAD_ACCESS`
The text was updated successfully, but these errors were encountered: