Closed
Description
Crash in 1.6.2 on Linux
Received signal 4. Backtrace:
0x5651d96b8412, Backtrace.(printBacktrace in _B82A8C0ED7C904841114FDF244F9E58E)(signal: Swift.Int32) -> () at /workspace/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:66
0x7ff9da9aa97f
0x5651d967abb8, Swift runtime failure: Double value cannot be converted to Int64 because the result would be greater than Int64.max at /workspace/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+Backoff.swift:0
0x5651d967abb8, function signature specialization <Arg[1] = Dead> of static AsyncHTTPClient.HTTPConnectionPool.calculateBackoff(failedAttempt: Swift.Int) -> NIOCore.TimeAmount at /workspace/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+Backoff.swift:49
0x5651d9665a11, static AsyncHTTPClient.HTTPConnectionPool.calculateBackoff(failedAttempt: Swift.Int) -> NIOCore.TimeAmount at /workspace/<compiler-generated>:0
0x5651d9665a11, AsyncHTTPClient.HTTPConnectionPool.HTTP1StateMachine.failedToCreateNewConnection(_: Swift.Error, connectionID: Swift.Int) -> AsyncHTTPClient.HTTPConnectionPool.StateMachine.Action at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+HTTP1StateMachine.swift:157
0x5651d9665a11, AsyncHTTPClient.HTTPConnectionPool.StateMachine.failedToCreateNewConnection(_: Swift.Error, connectionID: Swift.Int) -> AsyncHTTPClient.HTTPConnectionPool.StateMachine.Action at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+StateMachine.swift:104
0x5651d9665a11, closure #1 (inout AsyncHTTPClient.HTTPConnectionPool.StateMachine) -> AsyncHTTPClient.HTTPConnectionPool.StateMachine.Action in AsyncHTTPClient.HTTPConnectionPool.failedToCreateHTTPConnection(_: Swift.Int, error: Swift.Error) -> () at /workspace/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool.swift:447
0x5651d9665a11, closure #1 () -> AsyncHTTPClient.HTTPConnectionPool.(Actions in _77984E52C350E955F8640F5ED48B34F0).Unlocked in AsyncHTTPClient.HTTPConnectionPool.(modifyStateAndRunActions in _77984E52C350E955F8640F5ED48B34F0)((inout AsyncHTTPClient.HTTPConnectionPool.StateMachine) -> AsyncHTTPClient.HTTPConnectionPool.StateMachine.Action) -> () at /workspace/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool.swift:197
0x5651d9665a11, reabstraction thunk helper from @callee_guaranteed () -> (@owned AsyncHTTPClient.HTTPConnectionPool.(Actions in _77984E52C350E955F8640F5ED48B34F0).Unlocked, @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out AsyncHTTPClient.HTTPConnectionPool.(Actions in _77984E52C350E955F8640F5ED48B34F0).Unlocked, @error @owned Swift.Error) at /workspace/<compiler-generated>:0
0x5651d9665a11, generic specialization <AsyncHTTPClient.HTTPConnectionPool.(Actions in _77984E52C350E955F8640F5ED48B34F0).Unlocked> of NIOConcurrencyHelpers.Lock.withLock<A>(() throws -> A) throws -> A at /workspace/<compiler-generated>:0
0x5651d9665a11, AsyncHTTPClient.HTTPConnectionPool.(modifyStateAndRunActions in _77984E52C350E955F8640F5ED48B34F0)((inout AsyncHTTPClient.HTTPConnectionPool.StateMachine) -> AsyncHTTPClient.HTTPConnectionPool.StateMachine.Action) -> () at /workspace/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool.swift:196
0x5651d9665a11, AsyncHTTPClient.HTTPConnectionPool.failedToCreateHTTPConnection(_: Swift.Int, error: Swift.Error) -> () at /workspace/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool.swift:446
0x5651d9665a11, protocol witness for AsyncHTTPClient.HTTPConnectionRequester.failedToCreateHTTPConnection(_: Swift.Int, error: Swift.Error) -> () in conformance AsyncHTTPClient.HTTPConnectionPool : AsyncHTTPClient.HTTPConnectionRequester in AsyncHTTPClient at /workspace/<compiler-generated>:441
0x5651d9665a11, generic specialization <AsyncHTTPClient.HTTPConnectionPool, AsyncHTTPClient.HTTPConnectionPool> of function signature specialization <Arg[2] = Existential To Protocol Constrained Generic, Arg[6] = Existential To Protocol Constrained Generic> of generic specialization <AsyncHTTPClient.HTTPConnectionPool> of closure #1 (Swift.Result<AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.NegotiatedProtocol, Swift.Error>) -> () in AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.makeConnection<A where A: AsyncHTTPClient.HTTPConnectionRequester>(for: A, connectionID: Swift.Int, http1ConnectionDelegate: AsyncHTTPClient.HTTP1ConnectionDelegate, http2ConnectionDelegate: AsyncHTTPClient.HTTP2ConnectionDelegate, deadline: NIOCore.NIODeadline, eventLoop: NIOCore.EventLoop, logger: Logging.Logger) -> () at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool+Factory.swift:102
0x5651d966f5a1, generic specialization <AsyncHTTPClient.HTTPConnectionPool> of closure #1 (Swift.Result<AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.NegotiatedProtocol, Swift.Error>) -> () in AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.makeConnection<A where A: AsyncHTTPClient.HTTPConnectionRequester>(for: A, connectionID: Swift.Int, http1ConnectionDelegate: AsyncHTTPClient.HTTP1ConnectionDelegate, http2ConnectionDelegate: AsyncHTTPClient.HTTP2ConnectionDelegate, deadline: NIOCore.NIODeadline, eventLoop: NIOCore.EventLoop, logger: Logging.Logger) -> () at /workspace/<compiler-generated>:0
0x5651d966f5a1, generic not re-abstracted specialization <AsyncHTTPClient.HTTPConnectionPool> of closure #1 (Swift.Result<AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.NegotiatedProtocol, Swift.Error>) -> () in AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.makeConnection<A where A: AsyncHTTPClient.HTTPConnectionRequester>(for: A, connectionID: Swift.Int, http1ConnectionDelegate: AsyncHTTPClient.HTTP1ConnectionDelegate, http2ConnectionDelegate: AsyncHTTPClient.HTTP2ConnectionDelegate, deadline: NIOCore.NIODeadline, eventLoop: NIOCore.EventLoop, logger: Logging.Logger) -> () at /workspace/<compiler-generated>:0
0x5651d966f5a1, partial apply forwarder for generic not re-abstracted specialization <AsyncHTTPClient.HTTPConnectionPool> of closure #1 (Swift.Result<AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.NegotiatedProtocol, Swift.Error>) -> () in AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.makeConnection<A where A: AsyncHTTPClient.HTTPConnectionRequester>(for: A, connectionID: Swift.Int, http1ConnectionDelegate: AsyncHTTPClient.HTTP1ConnectionDelegate, http2ConnectionDelegate: AsyncHTTPClient.HTTP2ConnectionDelegate, deadline: NIOCore.NIODeadline, eventLoop: NIOCore.EventLoop, logger: Logging.Logger) -> () at /workspace/<compiler-generated>:0
0x5651d966f5c9, reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.NegotiatedProtocol, Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.NegotiatedProtocol, Swift.Error>) -> () at /workspace/<compiler-generated>:0
0x5651d966f5c9, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.NegotiatedProtocol, Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<AsyncHTTPClient.HTTPConnectionPool.ConnectionFactory.NegotiatedProtocol, Swift.Error>) -> () at /workspace/<compiler-generated>:0
0x5651d9646377
0x5651d9b3d361, NIOCore.CallbackList._run() -> () at /workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:89
0x5651d963225c, generic specialization <NIOCore.Channel> of NIOCore.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () at /workspace/<compiler-generated>:0
0x5651d9c65a1c, NIOPosix.HappyEyeballsConnector.(processInput in _DBF766BF34E81F15B4C3454BEC800C8E)(NIOPosix.HappyEyeballsConnector.(ConnectorInput in _DBF766BF34E81F15B4C3454BEC800C8E)) -> () at /workspace/.build/checkouts/swift-nio/Sources/NIOPosix/HappyEyeballs.swift:0
0x5651d9688696, reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) at /workspace/<compiler-generated>:0
0x5651d9c6a60d, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) at /workspace/<compiler-generated>:0
0x5651d9c6af85
0x5651d9c8280b, closure #1 () -> () in NIOPosix.SelectableEventLoop.scheduleTask<A>(deadline: NIOCore.NIODeadline, _: () throws -> A) -> NIOCore.Scheduled<A> at /workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:258
0x5651d9c86ecb, reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> (@out ()) at /workspace/<compiler-generated>:0
0x5651d9c86ecb, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> (@out ()) at /workspace/<compiler-generated>:0
0x5651d9c81d80, reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out ()) to @escaping @callee_guaranteed () -> () at /workspace/<compiler-generated>:0
0x5651d9c81d80, closure #4 () -> () in NIOPosix.SelectableEventLoop.run() throws -> () at /workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:509
0x5651d9c81d80, reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) at /workspace/<compiler-generated>:0
0x5651d9c81d80, generic specialization <()> of NIOPosix.withAutoReleasePool<A>(() throws -> A) throws -> A at /workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:28
0x5651d9c81d80, NIOPosix.SelectableEventLoop.run() throws -> () at /workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:508
0x5651d9c6cf87, static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector<NIOPosix.NIORegistration>, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () at /workspace/.build/checkouts/swift-nio/Sources/NIOPosix/MultiThreadedEventLoopGroup.swift:87
0x5651d9c6cf87, closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, selectorFactory: () throws -> NIOPosix.Selector<NIOPosix.NIORegistration>, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop at /workspace/.build/checkouts/swift-nio/Sources/NIOPosix/MultiThreadedEventLoopGroup.swift:107
0x5651d9c6f735, partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, selectorFactory: () throws -> NIOPosix.Selector<NIOPosix.NIORegistration>, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop at /workspace/<compiler-generated>:0
0x5651d9c6fa29, reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) at /workspace/<compiler-generated>:0
0x5651d9c6f74d, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) at /workspace/<compiler-generated>:0
0x5651d9c9c13a, closure #1 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.Optional<Swift.UInt>, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.Optional<Swift.String>)>, detachThread: Swift.Bool) -> () at /workspace/.build/checkouts/swift-nio/Sources/NIOPosix/ThreadPosix.swift:105
0x7ff9da99f6da
0x7ff9d882471e
0xffffffffffffffff