MistKit icon indicating copy to clipboard operation
MistKit copied to clipboard

Crash in MKQueryResult

Open leogdion opened this issue 3 years ago • 1 comments

2021-02-28T16:33:24.293763+00:00 app[web.1]: 0x55980876ee5e, reabstraction thunk helper <A><A1 where A: MistKit.MKHttpClient, A1: MistKit.MKQueryRecord> from @escaping @callee_guaranteed (@in_guaranteed Swift.Result<Swift.Array<A1>, Swift.Error>) -> () to @escaping @callee_guaranteed (@guaranteed Swift.Result<Swift.Array<A1>, Swift.Error>) -> () at /tmp/build_5fffa03a/<compiler-generated>:0
2021-02-28T16:33:24.293779+00:00 app[web.1]: 0x55980876ee5e, partial apply forwarder for reabstraction thunk helper <A><A1 where A: MistKit.MKHttpClient, A1: MistKit.MKQueryRecord> from @escaping @callee_guaranteed (@in_guaranteed Swift.Result<Swift.Array<A1>, Swift.Error>) -> () to @escaping @callee_guaranteed (@guaranteed Swift.Result<Swift.Array<A1>, Swift.Error>) -> () at /tmp/build_5fffa03a/<compiler-generated>:0

leogdion avatar Feb 28 '21 16:02 leogdion

2021-04-15T15:09:09.024396+00:00 app[web.1]: Fatal error: Duplicate values for key: '8F90B9AE-FDC0-436C-BD42-66C67F92B46C': file /home/build-user/swift/stdlib/public/core/NativeDictionary.swift, line 747 2021-04-15T15:09:14.512647+00:00 app[web.1]: 0x7f185ae163bf 2021-04-15T15:09:14.546064+00:00 app[web.1]: 0x7f185afa3dc2 2021-04-15T15:09:14.546141+00:00 app[web.1]: 0x55e73f43a7d0 2021-04-15T15:09:14.546178+00:00 app[web.1]: 0x55e73f431065 2021-04-15T15:09:14.546251+00:00 app[web.1]: 0x55e73f430faf 2021-04-15T15:09:14.546288+00:00 app[web.1]: 0x55e73f43ae2c 2021-04-15T15:09:14.546373+00:00 app[web.1]: 0x55e73f43f98a 2021-04-15T15:09:14.546410+00:00 app[web.1]: 0x55e73f432c8d 2021-04-15T15:09:14.547782+00:00 app[web.1]: 0x55e73f43f9c7, partial apply forwarder for generic specialization <Swift.Array<(Foundation.UUID, HeartwitchServer.CloudKitDevice)>, Swift.Dictionary<Foundation.UUID, HeartwitchServer.CloudKitDevice>> of closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.flatMap<A>(file: Swift.StaticString, line: Swift.UInt, _: (A) -> NIO.EventLoopFuture<A1>) -> NIO.EventLoopFuture<A1> at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.566298+00:00 app[web.1]: 0x55e73f60e391, NIO.CallbackList._run() -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:89 2021-04-15T15:09:14.655537+00:00 app[web.1]: 0x55e73f60f8da, NIO.EventLoopPromise.resolve(value: Swift.Result<A, Swift.Error>) -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:231 2021-04-15T15:09:14.672701+00:00 app[web.1]: 0x55e73f585c2e, reabstraction thunk helper <A><A1 where A: MistKit.MKHttpClient, A1: MistKit.MKQueryRecord> from @escaping @callee_guaranteed (@in_guaranteed Swift.Result<Swift.Array<A1>, Swift.Error>) -> () to @escaping @callee_guaranteed (@guaranteed Swift.Result<Swift.Array<A1>, Swift.Error>) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.675264+00:00 app[web.1]: 0x55e73f585c2e, partial apply forwarder for reabstraction thunk helper <A><A1 where A: MistKit.MKHttpClient, A1: MistKit.MKQueryRecord> from @escaping @callee_guaranteed (@in_guaranteed Swift.Result<Swift.Array<A1>, Swift.Error>) -> () to @escaping @callee_guaranteed (@guaranteed Swift.Result<Swift.Array<A1>, Swift.Error>) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.675607+00:00 app[web.1]: 0x55e73f56a3ff, closure #1 (Swift.Result<MistKit.FetchRecordQueryResponse, Swift.Error>) -> () in MistKit.MKDatabase.query<A where A1: MistKit.MKQueryRecord>(MistKit.FetchRecordQueryRequest<MistKit.MKQuery<A1>>, (Swift.Result<Swift.Array<A1>, Swift.Error>) -> ()) -> () at /tmp/build_2e6ebc30/.build/checkouts/MistKit/Sources/MistKit/Requests/RecordsModify/ModifiedRecordQueryResult.swift:13 2021-04-15T15:09:14.679398+00:00 app[web.1]: 0x55e73f56a3ff, partial apply forwarder for closure #1 (Swift.Result<MistKit.FetchRecordQueryResponse, Swift.Error>) -> () in MistKit.MKDatabase.query<A where A1: MistKit.MKQueryRecord>(MistKit.FetchRecordQueryRequest<MistKit.MKQuery<A1>>, (Swift.Result<Swift.Array<A1>, Swift.Error>) -> ()) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.679814+00:00 app[web.1]: 0x55e73f56a4ca, reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<MistKit.FetchRecordQueryResponse, Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<MistKit.FetchRecordQueryResponse, Swift.Error>) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.679878+00:00 app[web.1]: 0x55e73f56a4ca, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<MistKit.FetchRecordQueryResponse, Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<MistKit.FetchRecordQueryResponse, Swift.Error>) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.680261+00:00 app[web.1]: 0x55e73f550ce9, MistKit.ResultSink.database<A, B, C where A: MistKit.MKRequest, B == A.Response, C: MistKit.MKHttpClient>(: MistKit.MKDatabase<C>, request: A, completedWith: Swift.Result<MistKit.MKHttpResponse, Swift.Error>, shouldFailAuth: Swift.Bool, _: (Swift.Result<B, Swift.Error>) -> ()) -> () at /tmp/build_2e6ebc30/.build/checkouts/MistKit/Sources/MistKit/Controllers/ResultSink.swift:89 2021-04-15T15:09:14.684458+00:00 app[web.1]: 0x55e73f54e607, closure #1 (Swift.Result<MistKit.MKHttpResponse, Swift.Error>) -> () in MistKit.MKDatabase.perform<A, B where A1: MistKit.MKRequest, B1 == A1.Response>(request: A1, returnFailedAuthentication: Swift.Bool, _: (Swift.Result<B1, Swift.Error>) -> ()) -> () at /tmp/build_2e6ebc30/.build/checkouts/MistKit/Sources/MistKit/Controllers/MKDatabase.swift:42 2021-04-15T15:09:14.684751+00:00 app[web.1]: 0x55e73f54e607, partial apply forwarder for closure #1 (Swift.Result<MistKit.MKHttpResponse, Swift.Error>) -> () in MistKit.MKDatabase.perform<A, B where A1: MistKit.MKRequest, B1 == A1.Response>(request: A1, returnFailedAuthentication: Swift.Bool, _: (Swift.Result<B1, Swift.Error>) -> ()) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.685121+00:00 app[web.1]: 0x55e73f5829bb, generic specialization <MistKit.MKHttpResponse> of closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.696313+00:00 app[web.1]: 0x55e73f5829bb, partial apply forwarder for generic specialization <MistKit.MKHttpResponse> of closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.699922+00:00 app[web.1]: 0x55e73f620383, reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.700987+00:00 app[web.1]: 0x55e73f620383, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.701132+00:00 app[web.1]: 0x55e73f6255b8 2021-04-15T15:09:14.702441+00:00 app[web.1]: 0x55e73f60de54, reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.702547+00:00 app[web.1]: 0x55e73f60de54, NIO.CallbackList._run() -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:108 2021-04-15T15:09:14.702820+00:00 app[web.1]: 0x55e73f6204f9, closure #1 () -> () in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:234 2021-04-15T15:09:14.702915+00:00 app[web.1]: 0x55e73f6204f9, partial apply forwarder for closure #1 () -> () in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.708136+00:00 app[web.1]: 0x55e73f6516f0, reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> (@out ()) at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.735451+00:00 app[web.1]: 0x55e73f6516f0, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> (@out ()) at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.738428+00:00 app[web.1]: 0x55e73f64de11, reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out ()) to @escaping @callee_guaranteed () -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift:0 2021-04-15T15:09:14.738666+00:00 app[web.1]: 0x55e73f64de11, closure #4 () -> () in NIO.SelectableEventLoop.run() throws -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift:462 2021-04-15T15:09:14.738861+00:00 app[web.1]: 0x55e73f64de11, reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.739047+00:00 app[web.1]: 0x55e73f64de11, generic specialization <()> of NIO.withAutoReleasePool<A>(() throws -> A) throws -> A at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift:26 2021-04-15T15:09:14.739448+00:00 app[web.1]: 0x55e73f64de11, NIO.SelectableEventLoop.run() throws -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift:461 2021-04-15T15:09:14.744764+00:00 app[web.1]: 0x55e73f606702, static NIO.MultiThreadedEventLoopGroup.(runTheLoop in _D5D78C61B22284700B9BD1ACFBC25157)(thread: NIO.NIOThread, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIO.Selector<NIO.NIORegistration>, initializer: (NIO.NIOThread) -> (), _: (NIO.SelectableEventLoop) -> ()) -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:872 2021-04-15T15:09:14.763144+00:00 app[web.1]: 0x55e73f606702, closure #1 (NIO.NIOThread) -> () in static NIO.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _D5D78C61B22284700B9BD1ACFBC25157)(name: Swift.String, selectorFactory: () throws -> NIO.Selector<NIO.NIORegistration>, initializer: (NIO.NIOThread) -> ()) -> NIO.SelectableEventLoop at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:892 2021-04-15T15:09:14.764494+00:00 app[web.1]: 0x55e73f60b6f9, partial apply forwarder for closure #1 (NIO.NIOThread) -> () in static NIO.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _D5D78C61B22284700B9BD1ACFBC25157)(name: Swift.String, selectorFactory: () throws -> NIO.Selector<NIO.NIORegistration>, initializer: (NIO.NIOThread) -> ()) -> NIO.SelectableEventLoop at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.773229+00:00 app[web.1]: 0x55e73f63c21e, reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.NIOThread) -> (@out ()) at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.781170+00:00 app[web.1]: 0x55e73f60b710, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.NIOThread) -> (@out ()) at /tmp/build_2e6ebc30/:0 2021-04-15T15:09:14.784704+00:00 app[web.1]: 0x55e73f668e35, closure #1 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in static NIO.ThreadOpsPosix.run(handle: inout Swift.Optional<Swift.UInt>, args: NIO.Box<(body: (NIO.NIOThread) -> (), name: Swift.Optional<Swift.String>)>, detachThread: Swift.Bool) -> () at /tmp/build_2e6ebc30/.build/checkouts/swift-nio/Sources/NIO/ThreadPosix.swift:105 2021-04-15T15:09:14.784851+00:00 app[web.1]: 0x7f185ae0a608 2021-04-15T15:09:14.785235+00:00 app[web.1]: 0x7f1859fcb292 2021-04-15T15:09:14.785834+00:00 app[web.1]: 0xffffffffffffffff

leogdion avatar Apr 15 '21 15:04 leogdion