==================
WARNING: ThreadSanitizer: data race (pid=6902)
Read of size 8 at 0x55f456d02608 by thread T6
:
#0 RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x19a69aa)
#1 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance RediStack.RedisCommandHandler : NIOCore._ChannelInboundHandler in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a6ff5)
#2 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#3 NIOCore.ChannelHandlerContext.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11e1a39)
#4 RediStack.RedisByteDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState ??:? (redisPackageTests.xctest+0x19a47a8)
#5 protocol witness for NIOCore.ByteToMessageDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in conformance RediStack.RedisByteDecoder : NIOCore.ByteToMessageDecoder in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a4c9b)
#6 closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120d3f9)
#7 partial apply forwarder for closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x1217c80)
#8 NIOCore.ByteToMessageHandler.(withNextBuffer in _3B15959193A57E0C1E789632BC533F5E)(allowEmptyBuffer: Swift.Bool, _: (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120b34e)
#9 NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120c6d0)
#10 NIOCore.ByteToMessageHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x120f159)
#11 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance NIOCore.ByteToMessageHandler : NIOCore._ChannelInboundHandler in NIOCore crtstuff.c:? (redisPackageTests.xctest+0x12101a5)
#12 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#13 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d934c)
#14 NIOCore.ChannelPipeline.(fireChannelRead0 in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d35c6)
#15 NIOCore.ChannelPipeline.SynchronousOperations.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11dd335)
#16 NIOPosix.BaseStreamSocketChannel.readFromSocket() throws -> NIOPosix.BaseSocketChannel.ReadResult ??:? (redisPackageTests.xctest+0x16ae49c)
#17 NIOPosix.BaseSocketChannel.(readable0 in _7F4F544BB68CD2CFABA0C7990D6EB2C6)() -> NIOPosix.BaseSocketChannel.(ReadStreamState in _7F4F544BB68CD2CFABA0C7990D6EB2C6) BaseSocketChannel.swift.o:? (redisPackageTests.xctest+0x16a106d)
#18 NIOPosix.BaseSocketChannel.readable() -> () ??:? (redisPackageTests.xctest+0x16a2a51)
#19 protocol witness for NIOPosix.SelectableChannel.readable() -> () in conformance NIOPosix.BaseSocketChannel : NIOPosix.SelectableChannel in NIOPosix crtstuff.c:? (redisPackageTests.xctest+0x16a48e5)
#20 NIOPosix.SelectableEventLoop.handleEvent(_: NIOPosix.SelectorEventSet, channel: A) -> () ??:? (redisPackageTests.xctest+0x178248c)
#21 closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x17848d2)
#22 partial apply forwarder for closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178cc9f)
#23 NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x1793658)
#24 NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x179f458)
#25 closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x1784300)
#26 partial apply forwarder for closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178ae8f)
#27 NIOPosix.withAutoReleasePool(() throws -> A) throws -> A ??:? (redisPackageTests.xctest+0x177a6ee)
#28 NIOPosix.SelectableEventLoop.run() throws -> () ??:? (redisPackageTests.xctest+0x1782a56)
#29 static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, parentGroup: NIOPosix.MultiThreadedEventLoopGroup?, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1711d42)
#30 closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171293d)
#31 partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171b5f0)
#32 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) crtstuff.c:? (redisPackageTests.xctest+0x17e21c3)
#33 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) Thread.swift.o:? (redisPackageTests.xctest+0x17e225d)
#34 closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e692b)
#35 @objc closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e6afd)
Previous write of size 8 at 0x55f456d02608 by thread T5
:
#0 one-time initialization function for commandSuccessCount RedisMetrics.swift.o:? (redisPackageTests.xctest+0x1a618aa)
#1 swift::threading_impl::once_slow(swift::threading_impl::once_t&, void (*)(void*), void*) crtstuff.c:? (libswiftCore.so+0x47073b)
#2 RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x19a6995)
#3 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance RediStack.RedisCommandHandler : NIOCore._ChannelInboundHandler in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a6ff5)
#4 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#5 NIOCore.ChannelHandlerContext.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11e1a39)
#6 RediStack.RedisByteDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState ??:? (redisPackageTests.xctest+0x19a47a8)
#7 protocol witness for NIOCore.ByteToMessageDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in conformance RediStack.RedisByteDecoder : NIOCore.ByteToMessageDecoder in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a4c9b)
#8 closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120d3f9)
#9 partial apply forwarder for closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x1217c80)
#10 NIOCore.ByteToMessageHandler.(withNextBuffer in _3B15959193A57E0C1E789632BC533F5E)(allowEmptyBuffer: Swift.Bool, _: (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120b34e)
#11 NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120c6d0)
#12 NIOCore.ByteToMessageHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x120f159)
#13 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance NIOCore.ByteToMessageHandler : NIOCore._ChannelInboundHandler in NIOCore crtstuff.c:? (redisPackageTests.xctest+0x12101a5)
#14 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#15 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d934c)
#16 NIOCore.ChannelPipeline.(fireChannelRead0 in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d35c6)
#17 NIOCore.ChannelPipeline.SynchronousOperations.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11dd335)
#18 NIOPosix.BaseStreamSocketChannel.readFromSocket() throws -> NIOPosix.BaseSocketChannel.ReadResult ??:? (redisPackageTests.xctest+0x16ae49c)
#19 NIOPosix.BaseSocketChannel.(readable0 in _7F4F544BB68CD2CFABA0C7990D6EB2C6)() -> NIOPosix.BaseSocketChannel.(ReadStreamState in _7F4F544BB68CD2CFABA0C7990D6EB2C6) BaseSocketChannel.swift.o:? (redisPackageTests.xctest+0x16a106d)
#20 NIOPosix.BaseSocketChannel.readable() -> () ??:? (redisPackageTests.xctest+0x16a2a51)
#21 protocol witness for NIOPosix.SelectableChannel.readable() -> () in conformance NIOPosix.BaseSocketChannel : NIOPosix.SelectableChannel in NIOPosix crtstuff.c:? (redisPackageTests.xctest+0x16a48e5)
#22 NIOPosix.SelectableEventLoop.handleEvent(_: NIOPosix.SelectorEventSet, channel: A) -> () ??:? (redisPackageTests.xctest+0x178248c)
#23 closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x17848d2)
#24 partial apply forwarder for closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178cc9f)
#25 NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x1793658)
#26 NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x179f458)
#27 closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x1784300)
#28 partial apply forwarder for closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178ae8f)
#29 NIOPosix.withAutoReleasePool(() throws -> A) throws -> A ??:? (redisPackageTests.xctest+0x177a6ee)
#30 NIOPosix.SelectableEventLoop.run() throws -> () ??:? (redisPackageTests.xctest+0x1782a56)
#31 static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, parentGroup: NIOPosix.MultiThreadedEventLoopGroup?, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1711d42)
#32 closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171293d)
#33 partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171b5f0)
#34 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) crtstuff.c:? (redisPackageTests.xctest+0x17e21c3)
#35 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) Thread.swift.o:? (redisPackageTests.xctest+0x17e225d)
#36 closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e692b)
#37 @objc closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e6afd)
Location is global '' at 0x000000000000 (redisPackageTests.xctest+0x4c51608)
Thread T6
'NIO-ELT-0-#1'
(tid=6911, running) created by main thread
at:
#0 pthread_create ??:? (redisPackageTests.xctest+0x19e67d)
#1 NIOPosix.(sysPthread_create in _6797A6D2F83F5C79960383D8A4AB102F)(handle: Swift.UnsafeMutablePointer, destructor: @convention(c) (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer?, args: Swift.UnsafeMutableRawPointer?) -> Swift.Int32 ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e53e2)
#2 static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ??:? (redisPackageTests.xctest+0x17e5cf2)
#3 static NIOPosix.NIOThread.spawnAndRun(name: Swift.String?, detachThread: Swift.Bool, body: (NIOPosix.NIOThread) -> ()) -> () ??:? (redisPackageTests.xctest+0x17e2083)
#4 static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x17125d2)
#5 closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1713da6)
#6 partial apply forwarder for closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1718cb3)
#7 (extension in Swift):Swift.Collection.map((A.Element) throws -> A1) throws -> [A1] ??:? (libswiftCore.so+0x147d93)
#8 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713259)
#9 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int, selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713023)
#10 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1712dcc)
#11 Vapor.Application.init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7e84)
#12 Vapor.Application.__allocating_init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7b29)
#13 RedisTests.MultipleRedisTests.testApplicationRedis() throws -> () ??:? (redisPackageTests.xctest+0x1a98b89)
#14 implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de2641)
#15 partial apply forwarder for implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4cd7)
#16 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) crtstuff.c:? (redisPackageTests.xctest+0x12ceb67)
#17 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".46" RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4c6f)
#18 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) XCTestCase.swift.o:? (libXCTest.so+0x36ddb) (BuildId: 72bd3f9e7ca879d48719b3c174fcadd23d814278)
#19 static redisPackageTests.Runner.$main() -> () ??:? (redisPackageTests.xctest+0x1de4f55)
#20 main ??:? (redisPackageTests.xctest+0x1de4fa5)
Thread T5
'NIO-ELT-0-#0'
(tid=6910, running) created by main thread
at:
#0 pthread_create ??:? (redisPackageTests.xctest+0x19e67d)
#1 NIOPosix.(sysPthread_create in _6797A6D2F83F5C79960383D8A4AB102F)(handle: Swift.UnsafeMutablePointer, destructor: @convention(c) (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer?, args: Swift.UnsafeMutableRawPointer?) -> Swift.Int32 ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e53e2)
#2 static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ??:? (redisPackageTests.xctest+0x17e5cf2)
#3 static NIOPosix.NIOThread.spawnAndRun(name: Swift.String?, detachThread: Swift.Bool, body: (NIOPosix.NIOThread) -> ()) -> () ??:? (redisPackageTests.xctest+0x17e2083)
#4 static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x17125d2)
#5 closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1713da6)
#6 partial apply forwarder for closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1718cb3)
#7 (extension in Swift):Swift.Collection.map((A.Element) throws -> A1) throws -> [A1] ??:? (libswiftCore.so+0x147d93)
#8 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713259)
#9 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int, selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713023)
#10 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1712dcc)
#11 Vapor.Application.init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7e84)
#12 Vapor.Application.__allocating_init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7b29)
#13 RedisTests.MultipleRedisTests.testApplicationRedis() throws -> () ??:? (redisPackageTests.xctest+0x1a98b89)
#14 implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de2641)
#15 partial apply forwarder for implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4cd7)
#16 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) crtstuff.c:? (redisPackageTests.xctest+0x12ceb67)
#17 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".46" RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4c6f)
#18 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) XCTestCase.swift.o:? (libXCTest.so+0x36ddb) (BuildId: 72bd3f9e7ca879d48719b3c174fcadd23d814278)
#19 static redisPackageTests.Runner.$main() -> () ??:? (redisPackageTests.xctest+0x1de4f55)
#20 main ??:? (redisPackageTests.xctest+0x1de4fa5)
SUMMARY: ThreadSanitizer: data race ??:? in RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> ()
==================
==================
WARNING: ThreadSanitizer: data race (pid=6902)
Read of size 8 at 0x7b1000008390 by thread T6:
#0 CoreMetrics.Counter.increment(by: A) -> () ??:? (redisPackageTests.xctest+0xeafb57)
#1 CoreMetrics.Counter.increment() -> () ??:? (redisPackageTests.xctest+0xeafdab)
#2 RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x19a69c8)
#3 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance RediStack.RedisCommandHandler : NIOCore._ChannelInboundHandler in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a6ff5)
#4 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#5 NIOCore.ChannelHandlerContext.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11e1a39)
#6 RediStack.RedisByteDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState ??:? (redisPackageTests.xctest+0x19a47a8)
#7 protocol witness for NIOCore.ByteToMessageDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in conformance RediStack.RedisByteDecoder : NIOCore.ByteToMessageDecoder in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a4c9b)
#8 closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120d3f9)
#9 partial apply forwarder for closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x1217c80)
#10 NIOCore.ByteToMessageHandler.(withNextBuffer in _3B15959193A57E0C1E789632BC533F5E)(allowEmptyBuffer: Swift.Bool, _: (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120b34e)
#11 NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120c6d0)
#12 NIOCore.ByteToMessageHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x120f159)
#13 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance NIOCore.ByteToMessageHandler : NIOCore._ChannelInboundHandler in NIOCore crtstuff.c:? (redisPackageTests.xctest+0x12101a5)
#14 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#15 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d934c)
#16 NIOCore.ChannelPipeline.(fireChannelRead0 in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d35c6)
#17 NIOCore.ChannelPipeline.SynchronousOperations.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11dd335)
#18 NIOPosix.BaseStreamSocketChannel.readFromSocket() throws -> NIOPosix.BaseSocketChannel.ReadResult ??:? (redisPackageTests.xctest+0x16ae49c)
#19 NIOPosix.BaseSocketChannel.(readable0 in _7F4F544BB68CD2CFABA0C7990D6EB2C6)() -> NIOPosix.BaseSocketChannel.(ReadStreamState in _7F4F544BB68CD2CFABA0C7990D6EB2C6) BaseSocketChannel.swift.o:? (redisPackageTests.xctest+0x16a106d)
#20 NIOPosix.BaseSocketChannel.readable() -> () ??:? (redisPackageTests.xctest+0x16a2a51)
#21 protocol witness for NIOPosix.SelectableChannel.readable() -> () in conformance NIOPosix.BaseSocketChannel : NIOPosix.SelectableChannel in NIOPosix crtstuff.c:? (redisPackageTests.xctest+0x16a48e5)
#22 NIOPosix.SelectableEventLoop.handleEvent(_: NIOPosix.SelectorEventSet, channel: A) -> () ??:? (redisPackageTests.xctest+0x178248c)
#23 closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x17848d2)
#24 partial apply forwarder for closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178cc9f)
#25 NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x1793658)
#26 NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x179f458)
#27 closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x1784300)
#28 partial apply forwarder for closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178ae8f)
#29 NIOPosix.withAutoReleasePool(() throws -> A) throws -> A ??:? (redisPackageTests.xctest+0x177a6ee)
#30 NIOPosix.SelectableEventLoop.run() throws -> () ??:? (redisPackageTests.xctest+0x1782a56)
#31 static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, parentGroup: NIOPosix.MultiThreadedEventLoopGroup?, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1711d42)
#32 closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171293d)
#33 partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171b5f0)
#34 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) crtstuff.c:? (redisPackageTests.xctest+0x17e21c3)
#35 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) Thread.swift.o:? (redisPackageTests.xctest+0x17e225d)
#36 closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e692b)
#37 @objc closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e6afd)
Previous write of size 8 at 0x7b1000008390 by thread T5
:
#0 CoreMetrics.Counter.init(label: Swift.String, dimensions: [(Swift.String, Swift.String)], handler: CoreMetrics.CounterHandler) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0xeafa4a)
#1 CoreMetrics.Counter.__allocating_init(label: Swift.String, dimensions: [(Swift.String, Swift.String)], handler: CoreMetrics.CounterHandler) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0xeaf8f9)
#2 CoreMetrics.Counter.__allocating_init(label: Swift.String, dimensions: [(Swift.String, Swift.String)]) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0xeb02e6)
#3 (extension in RediStack):CoreMetrics.Counter.init(label: RediStack.RedisMetrics.Label) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0x1a61692)
#4 one-time initialization function for commandSuccessCount RedisMetrics.swift.o:? (redisPackageTests.xctest+0x1a61898)
#5 swift::threading_impl::once_slow(swift::threading_impl::once_t&, void (*)(void*), void*) crtstuff.c:? (libswiftCore.so+0x47073b)
#6 RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x19a6995)
#7 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance RediStack.RedisCommandHandler : NIOCore._ChannelInboundHandler in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a6ff5)
#8 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#9 NIOCore.ChannelHandlerContext.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11e1a39)
#10 RediStack.RedisByteDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState ??:? (redisPackageTests.xctest+0x19a47a8)
#11 protocol witness for NIOCore.ByteToMessageDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in conformance RediStack.RedisByteDecoder : NIOCore.ByteToMessageDecoder in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a4c9b)
#12 closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120d3f9)
#13 partial apply forwarder for closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x1217c80)
#14 NIOCore.ByteToMessageHandler.(withNextBuffer in _3B15959193A57E0C1E789632BC533F5E)(allowEmptyBuffer: Swift.Bool, _: (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120b34e)
#15 NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120c6d0)
#16 NIOCore.ByteToMessageHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x120f159)
#17 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance NIOCore.ByteToMessageHandler : NIOCore._ChannelInboundHandler in NIOCore crtstuff.c:? (redisPackageTests.xctest+0x12101a5)
#18 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#19 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d934c)
#20 NIOCore.ChannelPipeline.(fireChannelRead0 in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d35c6)
#21 NIOCore.ChannelPipeline.SynchronousOperations.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11dd335)
#22 NIOPosix.BaseStreamSocketChannel.readFromSocket() throws -> NIOPosix.BaseSocketChannel.ReadResult ??:? (redisPackageTests.xctest+0x16ae49c)
#23 NIOPosix.BaseSocketChannel.(readable0 in _7F4F544BB68CD2CFABA0C7990D6EB2C6)() -> NIOPosix.BaseSocketChannel.(ReadStreamState in _7F4F544BB68CD2CFABA0C7990D6EB2C6) BaseSocketChannel.swift.o:? (redisPackageTests.xctest+0x16a106d)
#24 NIOPosix.BaseSocketChannel.readable() -> () ??:? (redisPackageTests.xctest+0x16a2a51)
#25 protocol witness for NIOPosix.SelectableChannel.readable() -> () in conformance NIOPosix.BaseSocketChannel : NIOPosix.SelectableChannel in NIOPosix crtstuff.c:? (redisPackageTests.xctest+0x16a48e5)
#26 NIOPosix.SelectableEventLoop.handleEvent(_: NIOPosix.SelectorEventSet, channel: A) -> () ??:? (redisPackageTests.xctest+0x178248c)
#27 closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x17848d2)
#28 partial apply forwarder for closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178cc9f)
#29 NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x1793658)
#30 NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x179f458)
#31 closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x1784300)
#32 partial apply forwarder for closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178ae8f)
#33 NIOPosix.withAutoReleasePool(() throws -> A) throws -> A ??:? (redisPackageTests.xctest+0x177a6ee)
#34 NIOPosix.SelectableEventLoop.run() throws -> () ??:? (redisPackageTests.xctest+0x1782a56)
#35 static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, parentGroup: NIOPosix.MultiThreadedEventLoopGroup?, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1711d42)
#36 closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171293d)
#37 partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171b5f0)
#38 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) crtstuff.c:? (redisPackageTests.xctest+0x17e21c3)
#39 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) Thread.swift.o:? (redisPackageTests.xctest+0x17e225d)
#40 closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e692b)
#41 @objc closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e6afd)
Location is heap block of size 56 at 0x7b1000008380 allocated by thread T5:
#0 malloc ??:? (redisPackageTests.xctest+0x19cec1)
#1 swift_slowAlloc ??:? (libswiftCore.so+0x3ebe11)
#2 CoreMetrics.Counter.__allocating_init(label: Swift.String, dimensions: [(Swift.String, Swift.String)]) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0xeb02e6)
#3 (extension in RediStack):CoreMetrics.Counter.init(label: RediStack.RedisMetrics.Label) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0x1a61692)
#4 one-time initialization function for commandSuccessCount RedisMetrics.swift.o:? (redisPackageTests.xctest+0x1a61898)
#5 swift::threading_impl::once_slow(swift::threading_impl::once_t&, void (*)(void*), void*) crtstuff.c:? (libswiftCore.so+0x47073b)
#6 RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x19a6995)
#7 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance RediStack.RedisCommandHandler : NIOCore._ChannelInboundHandler in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a6ff5)
#8 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#9 NIOCore.ChannelHandlerContext.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11e1a39)
#10 RediStack.RedisByteDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState ??:? (redisPackageTests.xctest+0x19a47a8)
#11 protocol witness for NIOCore.ByteToMessageDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in conformance RediStack.RedisByteDecoder : NIOCore.ByteToMessageDecoder in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a4c9b)
#12 closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120d3f9)
#13 partial apply forwarder for closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x1217c80)
#14 NIOCore.ByteToMessageHandler.(withNextBuffer in _3B15959193A57E0C1E789632BC533F5E)(allowEmptyBuffer: Swift.Bool, _: (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120b34e)
#15 NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120c6d0)
#16 NIOCore.ByteToMessageHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x120f159)
#17 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance NIOCore.ByteToMessageHandler : NIOCore._ChannelInboundHandler in NIOCore crtstuff.c:? (redisPackageTests.xctest+0x12101a5)
#18 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#19 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d934c)
#20 NIOCore.ChannelPipeline.(fireChannelRead0 in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d35c6)
#21 NIOCore.ChannelPipeline.SynchronousOperations.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11dd335)
#22 NIOPosix.BaseStreamSocketChannel.readFromSocket() throws -> NIOPosix.BaseSocketChannel.ReadResult ??:? (redisPackageTests.xctest+0x16ae49c)
#23 NIOPosix.BaseSocketChannel.(readable0 in _7F4F544BB68CD2CFABA0C7990D6EB2C6)() -> NIOPosix.BaseSocketChannel.(ReadStreamState in _7F4F544BB68CD2CFABA0C7990D6EB2C6) BaseSocketChannel.swift.o:? (redisPackageTests.xctest+0x16a106d)
#24 NIOPosix.BaseSocketChannel.readable() -> () ??:? (redisPackageTests.xctest+0x16a2a51)
#25 protocol witness for NIOPosix.SelectableChannel.readable() -> () in conformance NIOPosix.BaseSocketChannel : NIOPosix.SelectableChannel in NIOPosix crtstuff.c:? (redisPackageTests.xctest+0x16a48e5)
#26 NIOPosix.SelectableEventLoop.handleEvent(_: NIOPosix.SelectorEventSet, channel: A) -> () ??:? (redisPackageTests.xctest+0x178248c)
#27 closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x17848d2)
#28 partial apply forwarder for closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178cc9f)
#29 NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x1793658)
#30 NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x179f458)
#31 closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x1784300)
#32 partial apply forwarder for closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178ae8f)
#33 NIOPosix.withAutoReleasePool(() throws -> A) throws -> A ??:? (redisPackageTests.xctest+0x177a6ee)
#34 NIOPosix.SelectableEventLoop.run() throws -> () ??:? (redisPackageTests.xctest+0x1782a56)
#35 static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, parentGroup: NIOPosix.MultiThreadedEventLoopGroup?, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1711d42)
#36 closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171293d)
#37 partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171b5f0)
#38 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) crtstuff.c:? (redisPackageTests.xctest+0x17e21c3)
#39 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) Thread.swift.o:? (redisPackageTests.xctest+0x17e225d)
#40 closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e692b)
#41 @objc closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e6afd)
Thread T6
'NIO-ELT-0-#1'
(tid=6911, running) created by main thread
at:
#0 pthread_create ??:? (redisPackageTests.xctest+0x19e67d)
#1 NIOPosix.(sysPthread_create in _6797A6D2F83F5C79960383D8A4AB102F)(handle: Swift.UnsafeMutablePointer, destructor: @convention(c) (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer?, args: Swift.UnsafeMutableRawPointer?) -> Swift.Int32 ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e53e2)
#2 static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ??:? (redisPackageTests.xctest+0x17e5cf2)
#3 static NIOPosix.NIOThread.spawnAndRun(name: Swift.String?, detachThread: Swift.Bool, body: (NIOPosix.NIOThread) -> ()) -> () ??:? (redisPackageTests.xctest+0x17e2083)
#4 static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x17125d2)
#5 closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1713da6)
#6 partial apply forwarder for closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1718cb3)
#7 (extension in Swift):Swift.Collection.map((A.Element) throws -> A1) throws -> [A1] ??:? (libswiftCore.so+0x147d93)
#8 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713259)
#9 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int, selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713023)
#10 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1712dcc)
#11 Vapor.Application.init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7e84)
#12 Vapor.Application.__allocating_init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7b29)
#13 RedisTests.MultipleRedisTests.testApplicationRedis() throws -> () ??:? (redisPackageTests.xctest+0x1a98b89)
#14 implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de2641)
#15 partial apply forwarder for implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4cd7)
#16 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) crtstuff.c:? (redisPackageTests.xctest+0x12ceb67)
#17 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".46" RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4c6f)
#18 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) XCTestCase.swift.o:? (libXCTest.so+0x36ddb) (BuildId: 72bd3f9e7ca879d48719b3c174fcadd23d814278)
#19 static redisPackageTests.Runner.$main() -> () ??:? (redisPackageTests.xctest+0x1de4f55)
#20 main ??:? (redisPackageTests.xctest+0x1de4fa5)
Thread T5
'NIO-ELT-0-#0'
(tid=6910, running) created by main thread
at:
#0 pthread_create ??:? (redisPackageTests.xctest+0x19e67d)
#1 NIOPosix.(sysPthread_create in _6797A6D2F83F5C79960383D8A4AB102F)(handle: Swift.UnsafeMutablePointer, destructor: @convention(c) (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer?, args: Swift.UnsafeMutableRawPointer?) -> Swift.Int32 ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e53e2)
#2 static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ??:? (redisPackageTests.xctest+0x17e5cf2)
#3 static NIOPosix.NIOThread.spawnAndRun(name: Swift.String?, detachThread: Swift.Bool, body: (NIOPosix.NIOThread) -> ()) -> () ??:? (redisPackageTests.xctest+0x17e2083)
#4 static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x17125d2)
#5 closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1713da6)
#6 partial apply forwarder for closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1718cb3)
#7 (extension in Swift):Swift.Collection.map((A.Element) throws -> A1) throws -> [A1] ??:? (libswiftCore.so+0x147d93)
#8 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713259)
#9 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int, selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713023)
#10 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1712dcc)
#11 Vapor.Application.init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7e84)
#12 Vapor.Application.__allocating_init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7b29)
#13 RedisTests.MultipleRedisTests.testApplicationRedis() throws -> () ??:? (redisPackageTests.xctest+0x1a98b89)
#14 implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de2641)
#15 partial apply forwarder for implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4cd7)
#16 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) crtstuff.c:? (redisPackageTests.xctest+0x12ceb67)
#17 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".46" RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4c6f)
#18 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) XCTestCase.swift.o:? (libXCTest.so+0x36ddb) (BuildId: 72bd3f9e7ca879d48719b3c174fcadd23d814278)
#19 static redisPackageTests.Runner.$main() -> () ??:? (redisPackageTests.xctest+0x1de4f55)
#20 main ??:? (redisPackageTests.xctest+0x1de4fa5)
SUMMARY: ThreadSanitizer: data race ??:? in CoreMetrics.Counter.increment(by: A) -> ()
==================
==================
WARNING: ThreadSanitizer: data race (pid=6902)
Read of size 8 at 0x7b1000008398 by thread T6:
#0 CoreMetrics.Counter.increment(by: A) -> () ??:? (redisPackageTests.xctest+0xeafb6b)
#1 CoreMetrics.Counter.increment() -> () ??:? (redisPackageTests.xctest+0xeafdab)
#2 RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x19a69c8)
#3 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance RediStack.RedisCommandHandler : NIOCore._ChannelInboundHandler in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a6ff5)
#4 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#5 NIOCore.ChannelHandlerContext.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11e1a39)
#6 RediStack.RedisByteDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState ??:? (redisPackageTests.xctest+0x19a47a8)
#7 protocol witness for NIOCore.ByteToMessageDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in conformance RediStack.RedisByteDecoder : NIOCore.ByteToMessageDecoder in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a4c9b)
#8 closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120d3f9)
#9 partial apply forwarder for closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x1217c80)
#10 NIOCore.ByteToMessageHandler.(withNextBuffer in _3B15959193A57E0C1E789632BC533F5E)(allowEmptyBuffer: Swift.Bool, _: (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120b34e)
#11 NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120c6d0)
#12 NIOCore.ByteToMessageHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x120f159)
#13 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance NIOCore.ByteToMessageHandler : NIOCore._ChannelInboundHandler in NIOCore crtstuff.c:? (redisPackageTests.xctest+0x12101a5)
#14 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#15 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d934c)
#16 NIOCore.ChannelPipeline.(fireChannelRead0 in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d35c6)
#17 NIOCore.ChannelPipeline.SynchronousOperations.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11dd335)
#18 NIOPosix.BaseStreamSocketChannel.readFromSocket() throws -> NIOPosix.BaseSocketChannel.ReadResult ??:? (redisPackageTests.xctest+0x16ae49c)
#19 NIOPosix.BaseSocketChannel.(readable0 in _7F4F544BB68CD2CFABA0C7990D6EB2C6)() -> NIOPosix.BaseSocketChannel.(ReadStreamState in _7F4F544BB68CD2CFABA0C7990D6EB2C6) BaseSocketChannel.swift.o:? (redisPackageTests.xctest+0x16a106d)
#20 NIOPosix.BaseSocketChannel.readable() -> () ??:? (redisPackageTests.xctest+0x16a2a51)
#21 protocol witness for NIOPosix.SelectableChannel.readable() -> () in conformance NIOPosix.BaseSocketChannel : NIOPosix.SelectableChannel in NIOPosix crtstuff.c:? (redisPackageTests.xctest+0x16a48e5)
#22 NIOPosix.SelectableEventLoop.handleEvent(_: NIOPosix.SelectorEventSet, channel: A) -> () ??:? (redisPackageTests.xctest+0x178248c)
#23 closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x17848d2)
#24 partial apply forwarder for closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178cc9f)
#25 NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x1793658)
#26 NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x179f458)
#27 closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x1784300)
#28 partial apply forwarder for closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178ae8f)
#29 NIOPosix.withAutoReleasePool(() throws -> A) throws -> A ??:? (redisPackageTests.xctest+0x177a6ee)
#30 NIOPosix.SelectableEventLoop.run() throws -> () ??:? (redisPackageTests.xctest+0x1782a56)
#31 static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, parentGroup: NIOPosix.MultiThreadedEventLoopGroup?, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1711d42)
#32 closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171293d)
#33 partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171b5f0)
#34 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) crtstuff.c:? (redisPackageTests.xctest+0x17e21c3)
#35 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) Thread.swift.o:? (redisPackageTests.xctest+0x17e225d)
#36 closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e692b)
#37 @objc closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e6afd)
Previous write of size 8 at 0x7b1000008398 by thread T5:
#0 CoreMetrics.Counter.init(label: Swift.String, dimensions: [(Swift.String, Swift.String)], handler: CoreMetrics.CounterHandler) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0xeafa5e)
#1 CoreMetrics.Counter.__allocating_init(label: Swift.String, dimensions: [(Swift.String, Swift.String)], handler: CoreMetrics.CounterHandler) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0xeaf8f9)
#2 CoreMetrics.Counter.__allocating_init(label: Swift.String, dimensions: [(Swift.String, Swift.String)]) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0xeb02e6)
#3 (extension in RediStack):CoreMetrics.Counter.init(label: RediStack.RedisMetrics.Label) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0x1a61692)
#4 one-time initialization function for commandSuccessCount RedisMetrics.swift.o:? (redisPackageTests.xctest+0x1a61898)
#5 swift::threading_impl::once_slow(swift::threading_impl::once_t&, void (*)(void*), void*) crtstuff.c:? (libswiftCore.so+0x47073b)
#6 RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x19a6995)
#7 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance RediStack.RedisCommandHandler : NIOCore._ChannelInboundHandler in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a6ff5)
#8 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#9 NIOCore.ChannelHandlerContext.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11e1a39)
#10 RediStack.RedisByteDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState ??:? (redisPackageTests.xctest+0x19a47a8)
#11 protocol witness for NIOCore.ByteToMessageDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in conformance RediStack.RedisByteDecoder : NIOCore.ByteToMessageDecoder in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a4c9b)
#12 closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120d3f9)
#13 partial apply forwarder for closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x1217c80)
#14 NIOCore.ByteToMessageHandler.(withNextBuffer in _3B15959193A57E0C1E789632BC533F5E)(allowEmptyBuffer: Swift.Bool, _: (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120b34e)
#15 NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120c6d0)
#16 NIOCore.ByteToMessageHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x120f159)
#17 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance NIOCore.ByteToMessageHandler : NIOCore._ChannelInboundHandler in NIOCore crtstuff.c:? (redisPackageTests.xctest+0x12101a5)
#18 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#19 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d934c)
#20 NIOCore.ChannelPipeline.(fireChannelRead0 in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d35c6)
#21 NIOCore.ChannelPipeline.SynchronousOperations.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11dd335)
#22 NIOPosix.BaseStreamSocketChannel.readFromSocket() throws -> NIOPosix.BaseSocketChannel.ReadResult ??:? (redisPackageTests.xctest+0x16ae49c)
#23 NIOPosix.BaseSocketChannel.(readable0 in _7F4F544BB68CD2CFABA0C7990D6EB2C6)() -> NIOPosix.BaseSocketChannel.(ReadStreamState in _7F4F544BB68CD2CFABA0C7990D6EB2C6) BaseSocketChannel.swift.o:? (redisPackageTests.xctest+0x16a106d)
#24 NIOPosix.BaseSocketChannel.readable() -> () ??:? (redisPackageTests.xctest+0x16a2a51)
#25 protocol witness for NIOPosix.SelectableChannel.readable() -> () in conformance NIOPosix.BaseSocketChannel : NIOPosix.SelectableChannel in NIOPosix crtstuff.c:? (redisPackageTests.xctest+0x16a48e5)
#26 NIOPosix.SelectableEventLoop.handleEvent(_: NIOPosix.SelectorEventSet, channel: A) -> () ??:? (redisPackageTests.xctest+0x178248c)
#27 closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x17848d2)
#28 partial apply forwarder for closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178cc9f)
#29 NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x1793658)
#30 NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x179f458)
#31 closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x1784300)
#32 partial apply forwarder for closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178ae8f)
#33 NIOPosix.withAutoReleasePool(() throws -> A) throws -> A ??:? (redisPackageTests.xctest+0x177a6ee)
#34 NIOPosix.SelectableEventLoop.run() throws -> () ??:? (redisPackageTests.xctest+0x1782a56)
#35 static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, parentGroup: NIOPosix.MultiThreadedEventLoopGroup?, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1711d42)
#36 closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171293d)
#37 partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171b5f0)
#38 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) crtstuff.c:? (redisPackageTests.xctest+0x17e21c3)
#39 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) Thread.swift.o:? (redisPackageTests.xctest+0x17e225d)
#40 closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e692b)
#41 @objc closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e6afd)
Location is heap block of size 56 at 0x7b1000008380 allocated by thread T5:
#0 malloc ??:? (redisPackageTests.xctest+0x19cec1)
#1 swift_slowAlloc ??:? (libswiftCore.so+0x3ebe11)
#2 CoreMetrics.Counter.__allocating_init(label: Swift.String, dimensions: [(Swift.String, Swift.String)]) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0xeb02e6)
#3 (extension in RediStack):CoreMetrics.Counter.init(label: RediStack.RedisMetrics.Label) -> CoreMetrics.Counter ??:? (redisPackageTests.xctest+0x1a61692)
#4 one-time initialization function for commandSuccessCount RedisMetrics.swift.o:? (redisPackageTests.xctest+0x1a61898)
#5 swift::threading_impl::once_slow(swift::threading_impl::once_t&, void (*)(void*), void*) crtstuff.c:? (libswiftCore.so+0x47073b)
#6 RediStack.RedisCommandHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x19a6995)
#7 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance RediStack.RedisCommandHandler : NIOCore._ChannelInboundHandler in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a6ff5)
#8 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#9 NIOCore.ChannelHandlerContext.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11e1a39)
#10 RediStack.RedisByteDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState ??:? (redisPackageTests.xctest+0x19a47a8)
#11 protocol witness for NIOCore.ByteToMessageDecoder.decode(context: NIOCore.ChannelHandlerContext, buffer: inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in conformance RediStack.RedisByteDecoder : NIOCore.ByteToMessageDecoder in RediStack crtstuff.c:? (redisPackageTests.xctest+0x19a4c9b)
#12 closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120d3f9)
#13 partial apply forwarder for closure #1 (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState in NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x1217c80)
#14 NIOCore.ByteToMessageHandler.(withNextBuffer in _3B15959193A57E0C1E789632BC533F5E)(allowEmptyBuffer: Swift.Bool, _: (inout A, inout NIOCore.ByteBuffer) throws -> NIOCore.DecodingState) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120b34e)
#15 NIOCore.ByteToMessageHandler.(decodeLoop in _3B15959193A57E0C1E789632BC533F5E)(context: NIOCore.ChannelHandlerContext, decodeMode: NIOCore.ByteToMessageHandler.(DecodeMode in _3B15959193A57E0C1E789632BC533F5E)) throws -> NIOCore.(B2MDBuffer in _3B15959193A57E0C1E789632BC533F5E).BufferProcessingResult Codec.swift.o:? (redisPackageTests.xctest+0x120c6d0)
#16 NIOCore.ByteToMessageHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x120f159)
#17 protocol witness for NIOCore._ChannelInboundHandler.channelRead(context: NIOCore.ChannelHandlerContext, data: NIOCore.NIOAny) -> () in conformance NIOCore.ByteToMessageHandler : NIOCore._ChannelInboundHandler in NIOCore crtstuff.c:? (redisPackageTests.xctest+0x12101a5)
#18 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d92c1)
#19 NIOCore.ChannelHandlerContext.(invokeChannelRead in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d934c)
#20 NIOCore.ChannelPipeline.(fireChannelRead0 in _F5AC316541457BD146E3694279514AA3)(NIOCore.NIOAny) -> () ChannelPipeline.swift.o:? (redisPackageTests.xctest+0x11d35c6)
#21 NIOCore.ChannelPipeline.SynchronousOperations.fireChannelRead(NIOCore.NIOAny) -> () ??:? (redisPackageTests.xctest+0x11dd335)
#22 NIOPosix.BaseStreamSocketChannel.readFromSocket() throws -> NIOPosix.BaseSocketChannel.ReadResult ??:? (redisPackageTests.xctest+0x16ae49c)
#23 NIOPosix.BaseSocketChannel.(readable0 in _7F4F544BB68CD2CFABA0C7990D6EB2C6)() -> NIOPosix.BaseSocketChannel.(ReadStreamState in _7F4F544BB68CD2CFABA0C7990D6EB2C6) BaseSocketChannel.swift.o:? (redisPackageTests.xctest+0x16a106d)
#24 NIOPosix.BaseSocketChannel.readable() -> () ??:? (redisPackageTests.xctest+0x16a2a51)
#25 protocol witness for NIOPosix.SelectableChannel.readable() -> () in conformance NIOPosix.BaseSocketChannel : NIOPosix.SelectableChannel in NIOPosix crtstuff.c:? (redisPackageTests.xctest+0x16a48e5)
#26 NIOPosix.SelectableEventLoop.handleEvent(_: NIOPosix.SelectorEventSet, channel: A) -> () ??:? (redisPackageTests.xctest+0x178248c)
#27 closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x17848d2)
#28 partial apply forwarder for closure #2 (NIOPosix.SelectorEvent) -> () in closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178cc9f)
#29 NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x1793658)
#30 NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent) throws -> ()) throws -> () ??:? (redisPackageTests.xctest+0x179f458)
#31 closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x1784300)
#32 partial apply forwarder for closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () SelectableEventLoop.swift.o:? (redisPackageTests.xctest+0x178ae8f)
#33 NIOPosix.withAutoReleasePool(() throws -> A) throws -> A ??:? (redisPackageTests.xctest+0x177a6ee)
#34 NIOPosix.SelectableEventLoop.run() throws -> () ??:? (redisPackageTests.xctest+0x1782a56)
#35 static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, parentGroup: NIOPosix.MultiThreadedEventLoopGroup?, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1711d42)
#36 closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171293d)
#37 partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreaded
EventLoopGroup.swift.o:? (redisPackageTests.xctest+0x171b5f0)
#38 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) crtstuff.c:? (redisPackageTests.xctest+0x17e21c3)
#39 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) Thread.swift.o:? (redisPackageTests.xctest+0x17e225d)
#40 closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e692b)
#41 @objc closure #1 (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer? in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e6afd)
Thread T6 'NIO-ELT-0-#1' (tid=6911, running) created by main thread at:
#0 pthread_create ??:? (redisPackageTests.xctest+0x19e67d)
#1 NIOPosix.(sysPthread_create in _6797A6D2F83F5C79960383D8A4AB102F)(handle: Swift.UnsafeMutablePointer, destructor: @convention(c) (Swift.UnsafeMutableRawPointer?) -> Swift.UnsafeMutableRawPointer?, args: Swift.UnsafeMutableRawPointer?) -> Swift.Int32 ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e53e2)
#2 static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ??:? (redisPackageTests.xctest+0x17e5cf2)
#3 static NIOPosix.NIOThread.spawnAndRun(name: Swift.String?, detachThread: Swift.Bool, body: (NIOPosix.NIOThread) -> ()) -> () ??:? (redisPackageTests.xctest+0x17e2083)
#4 static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x17125d2)
#5 closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1713da6)
#6 partial apply forwarder for closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1718cb3)
#7 (extension in Swift):Swift.Collection.map((A.Element) throws -> A1) throws -> [A1] ??:? (libswiftCore.so+0x147d93)
#8 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713259)
#9 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int, selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713023)
#10 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1712dcc)
#11 Vapor.Application.init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7e84)
#12 Vapor.Application.__allocating_init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7b29)
#13 RedisTests.MultipleRedisTests.testApplicationRedis() throws -> () ??:? (redisPackageTests.xctest+0x1a98b89)
#14 implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de2641)
#15 partial apply forwarder for implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4cd7)
#16 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) crtstuff.c:? (redisPackageTests.xctest+0x12ceb67)
#17 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".46" RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4c6f)
#18 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) XCTestCase.swift.o:? (libXCTest.so+0x36ddb) (BuildId: 72bd3f9e7ca879d48719b3c174fcadd23d814278)
#19 static redisPackageTests.Runner.$main() -> () ??:? (redisPackageTests.xctest+0x1de4f55)
#20 main ??:? (redisPackageTests.xctest+0x1de4fa5)
Thread T5 'NIO-ELT-0-#0' (tid=6910, running) created by main thread at:
#0 pthread_create ??:? (redisPackageTests.xctest+0x19e67d)
#1 $s8NIOPosix17sysPthread_create33_6797A6D2F83F5C79960383D8A4AB102FLL6handle10destruct
or4argss5Int32VSpySuSgG_SvSgAKXCAKtF ThreadPosix.swift.o:? (redisPackageTests.xctest+0x17e53e2)
#2 static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.UInt?, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.String?)>, detachThread: Swift.Bool) -> () ??:? (redisPackageTests.xctest+0x17e5cf2)
#3 static NIOPosix.NIOThread.spawnAndRun(name: Swift.String?, detachThread: Swift.Bool, body: (NIOPosix.NIOThread) -> ()) -> () ??:? (redisPackageTests.xctest+0x17e2083)
#4 static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, parentGroup: NIOPosix.MultiThreadedEventLoopGroup, selectorFactory: () throws -> NIOPosix.Selector, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x17125d2)
#5 closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1713da6)
#6 partial apply forwarder for closure #1 ((NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop in NIOPosix.MultiThreadedEventLoopGroup.init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup MultiThreadedEventLoopGroup.swift.o:? (redisPackageTests.xctest+0x1718cb3)
#7 (extension in Swift):Swift.Collection.map((A.Element) throws -> A1) throws -> [A1] ??:? (libswiftCore.so+0x147d93)
#8 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(threadInitializers: [(NIOPosix.NIOThread) -> ()], selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713259)
#9 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int, selectorFactory: () throws -> NIOPosix.Selector) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1713023)
#10 NIOPosix.MultiThreadedEventLoopGroup.__allocating_init(numberOfThreads: Swift.Int) -> NIOPosix.MultiThreadedEventLoopGroup ??:? (redisPackageTests.xctest+0x1712dcc)
#11 Vapor.Application.init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7e84)
#12 Vapor.Application.__allocating_init(Vapor.Environment, Vapor.Application.EventLoopGroupProvider) -> Vapor.Application ??:? (redisPackageTests.xctest+0x1ac7b29)
#13 RedisTests.MultipleRedisTests.testApplicationRedis() throws -> () ??:? (redisPackageTests.xctest+0x1a98b89)
#14 implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de2641)
#15 partial apply forwarder for implicit closure #2 () throws -> () in implicit closure #1 (RedisTests.MultipleRedisTests) -> () throws -> () in variable initialization expression of static (extension in redisPackageDiscoveredTests):RedisTests.MultipleRedisTests.(__allTests__MultipleRedisTests in _9586814FF2BB5E73BCD5EAA11A931341) : [(Swift.String, (RedisTests.MultipleRedisTests) -> () throws -> ())] RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4cd7)
#16 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) crtstuff.c:? (redisPackageTests.xctest+0x12ceb67)
#17 reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".46" RedisTests.swift.o:? (redisPackageTests.xctest+0x1de4c6f)
#18 partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) XCTestCase.swift.o:? (libXCTest.so+0x36ddb) (BuildId: 72bd3f9e7ca879d48719b3c174fcadd23d814278)
#19 static redisPackageTests.Runner.$main() -> () ??:? (redisPackageTests.xctest+0x1de4f55)
#20 main ??:? (redisPackageTests.xctest+0x1de4fa5)
SUMMARY: ThreadSanitizer: data race ??:? in CoreMetrics.Counter.increment(by: A) -> ()
==================