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-14204] Compiler crash when building for Release (Concurrency Development Snapshot) #56582

Closed
Snowy1803 opened this issue Feb 12, 2021 · 3 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself concurrency Feature: umbrella label for concurrency language features

Comments

@Snowy1803
Copy link
Member

Previous ID SR-14204
Radar rdar://problem/74292234
Original Reporter @Snowy1803
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

Mac mini M1

macOS 11.2 (20D64)

Xcode 12.5 beta (12E5220o)

Swift Development Snapshot 2021-02-09-a

Swift Concurrency enabled

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Concurrency
Assignee @adrian-prantl
Priority Medium

md5: 5932d5e8c093b09aebb33c8057b0f27f

Issue Description:

Project: https://github.com/Snowy1803/Snowymage-Swift

Target: SNIConverter (Swift Argument Parser command line tool)

Other targets are fine. Building for debug is fine. The compiler crashes when building for release. I am using Swift Concurrency: It is probably caused by that, as it happens in a `runAsyncAndBlock` closure.

The error is:

Assertion failed: (IGM.DebugInfo->verifyCoroutineArgument(Addr) && "arg expected to be load from inside %swift.context"), function visitDebugValueAddrInst, file /Users/buildnode/jenkins/workspace/oss-swift-package-macos/swift/lib/IRGen/IRGenSIL.cpp, line 4368.

The full logs are attached.

@typesanitizer
Copy link

@swift-ci create

@adrian-prantl
Copy link
Member

We made a lot of improvements in the compiler recently and I can't reproduce this any more using the 03-07 toolchain. Let me know if you can confirm.

@Snowy1803
Copy link
Member Author

Can confirm (:

@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 concurrency Feature: umbrella label for concurrency language features
Projects
None yet
Development

No branches or pull requests

3 participants