waitForStatusRecordUnlockIfNotSelfLocked deadlocks on macOS 14.0 #67110
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
waitForStatusRecordUnlockIfNotSelfLocked deadlocks on macOS 14.0 beta 2. There must have been some changes to libswiftConcurrency in Sonoma, since it does (obviously) not occur on 13.4.1 (22F82).
I have tested this with my own code as well as with Apples AsyncChannel implementation
Steps to reproduce
The exact condition is unknown, but sometimes
CheckedContinuation.resume(...)
does not return and keeps spinning, thus locking up the application. As for theAsyncChannel
package, it deadlocks hereExpected behavior
CheckedContinuation.resume(...)
should return immediately, as guaranteed.Environment
Swift compiler version info
swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
Target: arm64-apple-macosx14.0
Xcode version info
Version 15.0 beta (15A5160n)
Deployment target:
14.0 Beta (23A5276g)
Here is a stacktracke I recorded
The text was updated successfully, but these errors were encountered: