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

swift repl crashes immediately on Windows ARM64 #79981

Open
jakepetroules opened this issue Mar 13, 2025 · 0 comments
Open

swift repl crashes immediately on Windows ARM64 #79981

jakepetroules opened this issue Mar 13, 2025 · 0 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 triage needed This issue needs more specific labels Windows Platform: Windows

Comments

@jakepetroules
Copy link
Contributor

Description

Running the repl will crash immediately on Windows ARM64 with the x86_64 toolchain.

The exit code is -1073741701 (0xC000007B aka STATUS_INVALID_IMAGE_FORMAT), which is emitted when the program tries to load a dll with the wrong architecture.

This does not occur with Windows x86_64. I haven't tested what happens with the arm64 toolchain.

Reproduction

swift repl

Stack dump

N/A

Expected behavior

Expected the repl to work correctly, as on Windows x86_64 and on other platforms.

Environment

Swift version 6.1-dev (LLVM a04e1218b22ff47, Swift fc66ec8)
Target: x86_64-unknown-windows-msvc

Additional information

No response

@jakepetroules jakepetroules added 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 Windows Platform: Windows labels Mar 13, 2025
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 triage needed This issue needs more specific labels Windows Platform: Windows
Projects
None yet
Development

No branches or pull requests

1 participant