-
Notifications
You must be signed in to change notification settings - Fork 267
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
deadlock in XCTest (Swift 5.10 & Swift 6.0.x) #504
Comments
Apple folks, rdar://139710145 |
One line repro
output
|
I'm reproing this in Docker for Mac, native architecture, both Intel and Apple Silicon. Higher chance of repro:
This reproduces from Swift 5.6 on, Swift 5.5 and older are okay. |
kernel versions:
and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In both Swift 5.10 & Swift 6.0 on Linux, there's a trivial deadlock in XCTest itself.
Repro
swift package init
Tests/*Tests/*Tests.swift
while swift test; do date; done
Expected
Runs the tests forever
Actual
Versions
Extra info
The main thread is blocked
ppoll
waiting.The text was updated successfully, but these errors were encountered: