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-14468] Async Await: Unexpected Crash partial apply forwarder for reabstraction thunk helper from @escaping #56824

Closed
swift-ci opened this issue Apr 10, 2021 · 3 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. crash Bug: A crash, i.e., an abnormal termination of software run-time crash Bug → crash: Swift code crashed during execution

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-14468
Radar rdar://problem/76546632
Original Reporter codecat15 (JIRA User)
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

Operating system: Mac OS Big Sur 11.2.3

Xcode version: 12.4 (12D4e)

Toolchain: Swift 5.4 Development Snapshot 2021-03-25

Additional Detail from JIRA
Votes 1
Component/s
Labels Bug, RunTimeCrash
Assignee None
Priority Medium

md5: edc43969d33f493fb7f0b135e0e3fd5a

Issue Description:

I was exploring the new async/await feature by downloading the March 25th, 2021 development snapshot from the Swift.Org site.

I entered the concurrency flag as mentioned in the Swift async-await proposal, I tried calling two APIs serially using async-await but then when I ran the project I got a crash.

Steps to replicate the crash:

  1. Open the attached project zip file

  2. Run the application

  3. The app will crash here

@rjmccall
Copy link
Member

Also discussed in a little more detail here: https://forums.swift.org/t/accepted-with-modification-se-0296-async-await/43318/32

aschwaighofer@apple.com (JIRA User) or @nate-chandler, mind taking a look?

@typesanitizer
Copy link

@swift-ci create

@DougGregor
Copy link
Member

This is building properly with newer toolchains

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 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. crash Bug: A crash, i.e., an abnormal termination of software run-time crash Bug → crash: Swift code crashed during execution
Projects
None yet
Development

No branches or pull requests

5 participants