-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
kind/bugFeature doesn't work as expected.Feature doesn't work as expected.status/triageCollecting information required to triage the issue.Collecting information required to triage the issue.
Description
Description
We are having a crash on HTTPBodyStreamDelegate
The stack trace seems odd which may be happening because of the inline optimizations or some race condition.
- OpenAPIURLSession.BufferedStream._StateMachine._State.Initial.init(backPressureStrategy: OpenAPIURLSession.BufferedStream._InternalBackPressureStrategy, iteratorInitialized: Swift.Bool, onTermination: (@sendable () -> ())?) -> OpenAPIURLSession.BufferedStream._StateMachine._State.Initial
- OpenAPIURLSession.BufferedStream._StateMachine._State.SourceFinished.failure.setter : Swift.Error?
- OpenAPIURLSession.BufferedStream.Source.write<A where A == A1.Element, A1: Swift.Sequence>(contentsOf: A1) async throws -> ()
- OpenAPIURLSession.BufferedStream.Source.WriteResult.CallbackToken.id.getter : Swift.UInt
- OpenAPIURLSession.LockStorage.unlock() -> ()
Reproduction
We don't know yet the exact steps to reproduce the issue
Package version(s)
https://github.com/apple/swift-openapi-urlsession
version 1.0.2
Expected behavior
not crash
Environment
iOS 18.5
Additional information
No response
Metadata
Metadata
Assignees
Labels
kind/bugFeature doesn't work as expected.Feature doesn't work as expected.status/triageCollecting information required to triage the issue.Collecting information required to triage the issue.