[SR-14204] Compiler crash when building for Release (Concurrency Development Snapshot) #56582
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
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
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.
The text was updated successfully, but these errors were encountered: