-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[SR-16079] swiftpm-xctest-helper crashes when swapping sanitizers #4339
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
Labels
Comments
@swift-ci create |
I thought I would verify this is still an issue. The issue has changed. It now crashes with the following message
|
Are you still seeing this issue, Adam? |
No this appears to have resolved itself |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
swift-driver version: 1.45.2 Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
Target: x86_64-apple-macosx12.0
Additional Detail from JIRA
md5: 81090cc4329894afe64d435f0c2d4b6d
Issue Description:
It is possible to hang `swift test` by building your package using the address sanitizer and then requesting to list tests while skipping build and using the thread sanitizer. It appears `swift test` is waiting on results from `swiftpm-xctest-helper`. When you kill the `swift test` process it does not kill the `swiftpm-xctest-helper` process which continues to use 100% of one processor and will run indefinitely.
Repro steps:
Expected:
`swift test` call will either successfully return an error or provide the list of tests
Actual:
`swift test` never returns and leaves an orphaned process `swiftpm-xctest-helper` when killed.
This only occurs on macOS
The text was updated successfully, but these errors were encountered: