You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update: just tested with a locally-compiled swift toolchain. three other stack corruption bugs appear to have been fixed, but this issue is still present.
I just checked this with the Xcode 13.1 release candidate (13A1030d) and it still segfaults on x86_64.
swiftc --version Swift``swift-driver version: 1.26.9 Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)``Target: x86_64-apple-macosx12.0
This is fixed in #39829 That bug requires changes to the runtime, so it's unclear whether we're going to be able to fix it in shipping Apple operating systems, but it should be fixed going forward on non-Apple systems and (eventually) in future Apple OSes.
Environment
Additional Detail from JIRA
md5: 56125578b3d43aefa3d6c01cf17fe4f4
Issue Description:
Returning SIMD types from
withTaskGroup
segfaults on x86_64 and the release version of Swift 5.5 on macOS and Linux.The following code segfaults on x86_64 with the release version of Swift 5.5:
SIMD2<Int32> does not segfault. This smells like an alignment issue to me.
This crashes on x86_64 for:
Xcode 13 Beta 5 (13A5212g)
Xcode 13 Release (13A233)
Xcode 13.1 Release (13A1030d)
Swift-5.5-RELEASE on Linux
I don't get the crash on Apple Silicon (A10). I do get the crash in the simulator (x86_64).
Thanks to @Kelvin13 for simplifying the example and for testing this on Linux.
This is also filed in Apple's Feedback Assistant as: FB9531735
The text was updated successfully, but these errors were encountered: