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

Hangs while building with Windows using SwiftPM #322

Open
cmcgee1024 opened this issue Mar 20, 2025 · 0 comments
Open

Hangs while building with Windows using SwiftPM #322

cmcgee1024 opened this issue Mar 20, 2025 · 0 comments

Comments

@cmcgee1024
Copy link
Member

cmcgee1024 commented Mar 20, 2025

When building using SwiftPM and the swiftbuild build system there are frequent hangs.

From the swift-package manager repo, run this command on Windows x86_64:

swift run swift-build --build-system=swiftbuild Fixtures/ValidLayouts/SingleModule/ExecutableNew

See that attached text file with the sampled stack traces. Many of the interesting ones appear to be in swift-build spec registration (SpecRegistry.registerSpec) and file path handling. Note that these samples are taken across multiple invocations, since the target process is tending to crash frequently when stopped in lldb.

Process 23424 stopped.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant