Created
December 6, 2018 23:03
-
-
Save tkrajacic/211647bd7cdf68392a20641b657af6b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* thread #19, queue = 'nio.nioTransportServices.connectionchannel', stop reason = breakpoint 2.1 | |
* frame #0: 0x000000010000727a NIOTest`TPLinkResponseDecoder.channelRead(ctx=0x00006000026241e0, data=NIO.NIOAny @ 0x00007000084e7bd0, self=0x000060000024f5c0) at TPLinkResponseDecoder.swift:25 | |
frame #1: 0x00000001000080d9 NIOTest`protocol witness for _ChannelInboundHandler.channelRead(ctx:data:) in conformance TPLinkResponseDecoder<A> at <compiler-generated>:0 | |
frame #2: 0x0000000100469e72 NIO`ChannelHandlerContext.invokeChannelRead(data=NIO.NIOAny @ 0x00007000084e7bd0, self=0x00006000026241e0) at ChannelPipeline.swift:1285 | |
frame #3: 0x000000010046e2a1 NIO`ChannelHandlerContext.fireChannelRead(data=NIO.NIOAny @ 0x00007000084e7bd0, self=0x0000600002624180) at ChannelPipeline.swift:1098 | |
frame #4: 0x0000000100013d4b NIOTest`TPLinkEncryptionHandler.channelRead(ctx=0x0000600002624180, data=NIO.NIOAny @ 0x00007000084e7fe0, self=0x0000600000005490) at TPLinkEncryptionHandler.swift:20 | |
frame #5: 0x0000000100013e59 NIOTest`protocol witness for _ChannelInboundHandler.channelRead(ctx:data:) in conformance TPLinkEncryptionHandler at <compiler-generated>:0 | |
frame #6: 0x0000000100469e72 NIO`ChannelHandlerContext.invokeChannelRead(data=NIO.NIOAny @ 0x00007000084e7fe0, self=0x0000600002624180) at ChannelPipeline.swift:1285 | |
frame #7: 0x0000000100469f0a NIO`ChannelHandlerContext.invokeChannelRead(data=NIO.NIOAny @ 0x00007000084e7fe0, self=0x0000600002624120) at ChannelPipeline.swift:1287 | |
frame #8: 0x000000010046e2a1 NIO`ChannelHandlerContext.fireChannelRead(data=NIO.NIOAny @ 0x00007000084e7fe0, self=0x0000600002624000) at ChannelPipeline.swift:1098 | |
frame #9: 0x00000001000159ad NIOTest`LengthFieldBasedFrameDecoder.decode(ctx=0x0000600002624000, buffer=NIO.ByteBuffer @ 0x00007000084e86c8, self=0x0000600001783e40) at LengthFieldBasedFrameDecoder.swift:112 | |
frame #10: 0x0000000100016c14 NIOTest`protocol witness for ByteToMessageDecoder.decode(ctx:buffer:) in conformance LengthFieldBasedFrameDecoder at <compiler-generated>:0 | |
frame #11: 0x000000010047d19e NIO`ByteToMessageDecoder.decodeLast(ctx=0x0000600002624000, buffer=NIO.ByteBuffer @ 0x00007000084e86c8, self=0x0000600001783e40 -> 0x0000000100023a80 type metadata for NIOTest.LengthFieldBasedFrameDecoder) at Codec.swift:191 | |
frame #12: 0x0000000100016c8b NIOTest`protocol witness for ByteToMessageDecoder.decodeLast(ctx:buffer:) in conformance LengthFieldBasedFrameDecoder at <compiler-generated>:0 | |
frame #13: 0x000000010047e109 NIO`partial apply at <compiler-generated>:0 | |
frame #14: 0x000000010047b0aa NIO`ByteToMessageDecoder.decodeLoop(ctx=0x0000600002624000, decodeFunc=0x000000010047e0d0 NIO`partial apply forwarder at <compiler-generated>, self=0x0000600001783e40 -> 0x0000000100023a80 type metadata for NIOTest.LengthFieldBasedFrameDecoder) at Codec.swift:116 | |
frame #15: 0x000000010047caeb NIO`closure #1 in ByteToMessageDecoder.channelInactive(self=0x0000600001783e40 -> 0x0000000100023a80 type metadata for NIOTest.LengthFieldBasedFrameDecoder, ctx=0x0000600002624000) at Codec.swift:165 | |
frame #16: 0x000000010047cbf5 NIO`partial apply for closure #1 in ByteToMessageDecoder.channelInactive(ctx:) at <compiler-generated>:0 | |
frame #17: 0x0000000100414646 NIO`thunk for @callee_guaranteed () -> (@error @owned Error) at <compiler-generated>:0 | |
frame #18: 0x000000010047cc3b NIO`thunk for @callee_guaranteed () -> (@error @owned Error)partial apply at <compiler-generated>:0 | |
frame #19: 0x000000010047a7aa NIO`ChannelHandlerContext.withThrowingToFireErrorAndClose<A>(body=0x000000010047cc20 NIO`reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".10" at <compiler-generated>, self=0x0000600002624000) at Codec.swift:95 | |
frame #20: 0x000000010047ca08 NIO`ByteToMessageDecoder.channelInactive(ctx=0x0000600002624000, self=0x0000600001783e40 -> 0x0000000100023a80 type metadata for NIOTest.LengthFieldBasedFrameDecoder) at Codec.swift:164 | |
frame #21: 0x0000000100016e60 NIOTest`protocol witness for _ChannelInboundHandler.channelInactive(ctx:) in conformance LengthFieldBasedFrameDecoder at <compiler-generated>:0 | |
frame #22: 0x00000001004699df NIO`ChannelHandlerContext.invokeChannelInactive(self=0x0000600002624000) at ChannelPipeline.swift:1275 | |
frame #23: 0x000000010046416e NIO`ChannelPipeline.fireChannelInactive0(self=0x00006000021393b0) at ChannelPipeline.swift:796 | |
frame #24: 0x00000001004640a4 NIO`ChannelPipeline.fireChannelInactive(self=0x00006000021393b0) at ChannelPipeline.swift:546 | |
frame #25: 0x0000000100838198 NIOTransportServices`StateManagedChannel.close0(error=ioOnClosedChannel, mode=all, promise=nil, self=0x0000000100845890) at StateManagedChannel.swift:203 | |
frame #26: 0x0000000100818126 NIOTransportServices`protocol witness for ChannelCore.close0(error:mode:promise:) in conformance NIOTSConnectionChannel at <compiler-generated>:0 | |
frame #27: 0x000000010046c574 NIO`HeadChannelHandler.close(ctx=0x00006000026161c0, mode=all, promise=nil, self=0x0000600000004da0) at ChannelPipeline.swift:920 | |
frame #28: 0x000000010046c8af NIO`protocol witness for _ChannelOutboundHandler.close(ctx:mode:promise:) in conformance HeadChannelHandler at <compiler-generated>:0 | |
frame #29: 0x0000000100466f46 NIO`ChannelHandlerContext.invokeClose(mode=all, promise=nil, self=0x00006000026161c0) at ChannelPipeline.swift:1412 | |
frame #30: 0x0000000100466ffb NIO`ChannelHandlerContext.invokeClose(mode=all, promise=nil, self=0x0000600002624000) at ChannelPipeline.swift:1414 | |
frame #31: 0x000000010046efc9 NIO`ChannelHandlerContext.close(mode=all, promise=nil, self=0x0000600002624120) at ChannelPipeline.swift:1222 | |
frame #32: 0x0000000100453e9d NIO`_ChannelOutboundHandler.close(ctx=0x0000600002624120, mode=all, promise=nil, self=0x000060000024f6e0 -> 0x0000000100023b90 type metadata for NIOTest.LengthFieldPrepender) at ChannelHandler.swift:261 | |
frame #33: 0x000000010001b3d6 NIOTest`protocol witness for _ChannelOutboundHandler.close(ctx:mode:promise:) in conformance LengthFieldPrepender at <compiler-generated>:0 | |
frame #34: 0x0000000100466f46 NIO`ChannelHandlerContext.invokeClose(mode=all, promise=nil, self=0x0000600002624120) at ChannelPipeline.swift:1412 | |
frame #35: 0x000000010046efc9 NIO`ChannelHandlerContext.close(mode=all, promise=nil, self=0x0000600002624180) at ChannelPipeline.swift:1222 | |
frame #36: 0x0000000100453e9d NIO`_ChannelOutboundHandler.close(ctx=0x0000600002624180, mode=all, promise=nil, self=0x0000600000005490 -> 0x00000001000239d8 type metadata for NIOTest.TPLinkEncryptionHandler) at ChannelHandler.swift:261 | |
frame #37: 0x0000000100014306 NIOTest`protocol witness for _ChannelOutboundHandler.close(ctx:mode:promise:) in conformance TPLinkEncryptionHandler at <compiler-generated>:0 | |
frame #38: 0x0000000100466f46 NIO`ChannelHandlerContext.invokeClose(mode=all, promise=nil, self=0x0000600002624180) at ChannelPipeline.swift:1412 | |
frame #39: 0x000000010046efc9 NIO`ChannelHandlerContext.close(mode=all, promise=nil, self=0x00006000026241e0) at ChannelPipeline.swift:1222 | |
frame #40: 0x0000000100007d8a NIOTest`$defer #1 <A>(responseData=NIO.ByteBuffer @ 0x00007000084ea000, ctx=0x00006000026241e0) in TPLinkResponseDecoder.channelRead(ctx:data:) at TPLinkResponseDecoder.swift:30 | |
frame #41: 0x00000001000077e1 NIOTest`TPLinkResponseDecoder.channelRead(ctx=0x00006000026241e0, data=NIO.NIOAny @ 0x00007000084ea270, self=0x000060000024f5c0) at TPLinkResponseDecoder.swift:26 | |
frame #42: 0x00000001000080d9 NIOTest`protocol witness for _ChannelInboundHandler.channelRead(ctx:data:) in conformance TPLinkResponseDecoder<A> at <compiler-generated>:0 | |
frame #43: 0x0000000100469e72 NIO`ChannelHandlerContext.invokeChannelRead(data=NIO.NIOAny @ 0x00007000084ea270, self=0x00006000026241e0) at ChannelPipeline.swift:1285 | |
frame #44: 0x000000010046e2a1 NIO`ChannelHandlerContext.fireChannelRead(data=NIO.NIOAny @ 0x00007000084ea270, self=0x0000600002624180) at ChannelPipeline.swift:1098 | |
frame #45: 0x0000000100013d4b NIOTest`TPLinkEncryptionHandler.channelRead(ctx=0x0000600002624180, data=NIO.NIOAny @ 0x00007000084ea680, self=0x0000600000005490) at TPLinkEncryptionHandler.swift:20 | |
frame #46: 0x0000000100013e59 NIOTest`protocol witness for _ChannelInboundHandler.channelRead(ctx:data:) in conformance TPLinkEncryptionHandler at <compiler-generated>:0 | |
frame #47: 0x0000000100469e72 NIO`ChannelHandlerContext.invokeChannelRead(data=NIO.NIOAny @ 0x00007000084ea680, self=0x0000600002624180) at ChannelPipeline.swift:1285 | |
frame #48: 0x0000000100469f0a NIO`ChannelHandlerContext.invokeChannelRead(data=NIO.NIOAny @ 0x00007000084ea680, self=0x0000600002624120) at ChannelPipeline.swift:1287 | |
frame #49: 0x000000010046e2a1 NIO`ChannelHandlerContext.fireChannelRead(data=NIO.NIOAny @ 0x00007000084ea680, self=0x0000600002624000) at ChannelPipeline.swift:1098 | |
frame #50: 0x00000001000159ad NIOTest`LengthFieldBasedFrameDecoder.decode(ctx=0x0000600002624000, buffer=NIO.ByteBuffer @ 0x00007000084eacb8, self=0x0000600001783e40) at LengthFieldBasedFrameDecoder.swift:112 | |
frame #51: 0x0000000100016c14 NIOTest`protocol witness for ByteToMessageDecoder.decode(ctx:buffer:) in conformance LengthFieldBasedFrameDecoder at <compiler-generated>:0 | |
frame #52: 0x000000010047e199 NIO`partial apply at <compiler-generated>:0 | |
frame #53: 0x000000010047b0aa NIO`ByteToMessageDecoder.decodeLoop(ctx=0x0000600002624000, decodeFunc=0x000000010047e160 NIO`partial apply forwarder with unmangled suffix ".17" at <compiler-generated>, self=0x0000600001783e40 -> 0x0000000100023a80 type metadata for NIOTest.LengthFieldBasedFrameDecoder) at Codec.swift:116 | |
frame #54: 0x000000010047c5eb NIO`closure #1 in ByteToMessageDecoder.channelRead(self=0x0000600001783e40 -> 0x0000000100023a80 type metadata for NIOTest.LengthFieldBasedFrameDecoder, ctx=0x0000600002624000) at Codec.swift:146 | |
frame #55: 0x000000010047c6f5 NIO`partial apply for closure #1 in ByteToMessageDecoder.channelRead(ctx:data:) at <compiler-generated>:0 | |
frame #56: 0x0000000100414646 NIO`thunk for @callee_guaranteed () -> (@error @owned Error) at <compiler-generated>:0 | |
frame #57: 0x000000010047c7bb NIO`partial apply for thunk for @callee_guaranteed () -> (@error @owned Error) at <compiler-generated>:0 | |
frame #58: 0x000000010047a7aa NIO`ChannelHandlerContext.withThrowingToFireErrorAndClose<A>(body=0x000000010047c7a0 NIO`partial apply forwarder for reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) at <compiler-generated>, self=0x0000600002624000) at Codec.swift:95 | |
frame #59: 0x000000010047c04f NIO`ByteToMessageDecoder.channelRead(ctx=0x0000600002624000, data=NIO.NIOAny @ 0x00007000084eb560, self=0x0000600001783e40 -> 0x0000000100023a80 type metadata for NIOTest.LengthFieldBasedFrameDecoder) at Codec.swift:145 | |
frame #60: 0x0000000100016e80 NIOTest`protocol witness for _ChannelInboundHandler.channelRead(ctx:data:) in conformance LengthFieldBasedFrameDecoder at <compiler-generated>:0 | |
frame #61: 0x0000000100469e72 NIO`ChannelHandlerContext.invokeChannelRead(data=NIO.NIOAny @ 0x00007000084eb560, self=0x0000600002624000) at ChannelPipeline.swift:1285 | |
frame #62: 0x0000000100464502 NIO`ChannelPipeline.fireChannelRead0(data=NIO.NIOAny @ 0x00007000084eb560, self=0x00006000021393b0) at ChannelPipeline.swift:808 | |
frame #63: 0x00000001004643bb NIO`ChannelPipeline.fireChannelRead(data=NIO.NIOAny @ 0x00007000084eb560, self=0x00006000021393b0) at ChannelPipeline.swift:566 | |
frame #64: 0x0000000100816593 NIOTransportServices`NIOTSConnectionChannel.dataReceivedHandler(content=0 bytes, context=0x0000600002139900, isComplete=false, error=nil, self=0x0000600003906080) at NIOTSConnectionChannel.swift:663 | |
frame #65: 0x0000000100819301 NIOTransportServices`partial apply for NIOTSConnectionChannel.dataReceivedHandler(content:context:isComplete:error:) at <compiler-generated>:0 | |
frame #66: 0x000000010137a7a0 libswiftNetwork.dylib`partial apply forwarder for closure #1 (Swift.Optional<__C.OS_dispatch_data>, Swift.Optional<__C.OS_nw_content_context>, Swift.Bool, Swift.Optional<__C.OS_nw_error>) -> () in Network.NWConnection.receiveMessage(completion: (Swift.Optional<Foundation.Data>, Swift.Optional<Network.NWConnection.ContentContext>, Swift.Bool, Swift.Optional<Network.NWError>) -> ()) -> () + 304 | |
frame #67: 0x0000000101385c49 libswiftNetwork.dylib`partial apply forwarder for closure #1 (Swift.Optional<__C.OS_dispatch_data>, Swift.Optional<__C.OS_nw_content_context>, Swift.Bool, Swift.Optional<__C.OS_nw_error>) -> () in Network.NWConnection.receive(minimumIncompleteLength: Swift.Int, maximumLength: Swift.Int, completion: (Swift.Optional<Foundation.Data>, Swift.Optional<Network.NWConnection.ContentContext>, Swift.Bool, Swift.Optional<Network.NWError>) -> ()) -> () + 9 | |
frame #68: 0x000000010136aba8 libswiftNetwork.dylib`reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Optional<__C.OS_dispatch_data>, @guaranteed Swift.Optional<__C.OS_nw_content_context>, @unowned Swift.Bool, @guaranteed Swift.Optional<__C.OS_nw_error>) -> () to @escaping @callee_unowned @convention(block) (@unowned Swift.Optional<__C.OS_dispatch_data>, @unowned Swift.Optional<__C.OS_nw_content_context>, @unowned Swift.Bool, @unowned Swift.Optional<__C.OS_nw_error>) -> () + 88 | |
frame #69: 0x000000010146d9eb libdispatch.dylib`_dispatch_block_async_invoke2 + 83 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment