Swift 6.0.x crash on win/arm64 Release build #77220
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
triage needed
This issue needs more specific labels
Description
A compiler crash (assertion failure) occurs with
swift build --configuration release
on Windows ARM64. This is reproducible with Swift 6.0 and 6.0.1. With both Swift versions, the same code compiles without issue indebug
configuration, orrelease
onx64
.Summary of observed results:
arm64
release
arm64
debug
x64
release
arm64
release
arm64
debug
x64
release
Reproduction
Clone the repo and check out the relevant commit:
Run
swift build
and observe thedebug
build succeds:Run
swift build --configuration release
and observe assertion failure and build crash:Stack dump
Expected behavior
The assertion failure observed with
arm64
/release
is unexpected. The build should work the same asarm64
/debug
locally, andx64
/release
on GitHub CI -- producing a compile error, or completing successfully.Environment
Additional information
ref. royalapplications/royalvnc#11 (comment)
The text was updated successfully, but these errors were encountered: