Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-15248] Compiler Crash when code includes withThrowingTaskGroup #57570

Closed
swift-ci opened this issue Sep 27, 2021 · 6 comments
Closed

[SR-15248] Compiler Crash when code includes withThrowingTaskGroup #57570

swift-ci opened this issue Sep 27, 2021 · 6 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-15248
Radar rdar://problem/83556240
Original Reporter rnantes (JIRA User)
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

Docker image swiftlang/swift:nightly-main-focal (2021-09-26)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 4cad78d7055cac15d14a67c47106dadc

Issue Description:

Compiling using the nightly-main-focal docker image fails. My code uses the withThrowingTaskGroup concurrency Task API. Please see the GitHub Repo and the GitHub Actions Run for a basic example. I do not get this compiler crash when building with Xcode 13 Beta 5 on macOS 12 Beta 7

@ktoso
Copy link
Member

ktoso commented Sep 27, 2021

@swift-ci create

@ktoso
Copy link
Member

ktoso commented Sep 27, 2021

Thanks, we'll have a look – so it seems this only fails on Linux right?

@swift-ci
Copy link
Collaborator Author

Comment by Reid Nantes (JIRA)

Yes, compilation only fails on linux.

@ktoso
Copy link
Member

ktoso commented Sep 27, 2021

Thanks, I confirmed it on the focal docker image as well as swift-DEVELOPMENT-SNAPSHOT-2021-09-18-a.xctoolchain on mac too.

@ktoso
Copy link
Member

ktoso commented Sep 27, 2021

Fix by Doug here: #39469

@DougGregor
Copy link
Member

Handled by #39469 thank you!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

3 participants