3meters / patchr-ios

Next incarnation of Patchr for iOS
1 stars 0 forks source link

Crash view channel after accepting channel guest invite #95

Closed Jaymassena closed 7 years ago

Jaymassena commented 7 years ago

CrashReporter Key: 54f9c4ac90fc43e57dae1676fb64f008cf730b1a Hardware Model: iPhone7,2 Process: Patchr Identifier: com.3meters.patchr.ios Version: 2.0.0 OS Version: iOS 10.2.1

EXC_BREAKPOINT:

0 Patchr function signature specialization <Arg[0] = Owned To Guaranteed, Arg[1] = Owned To Guaranteed, Arg[2] = Owned To Guaranteed, Arg[3] = Owned To Guaranteed and Exploded, Arg[4] = Owned To Guaranteed and Exploded, Arg[5] = Owned To Guaranteed and Exploded> of Patchr.ChannelViewController.((bind in _83DB864D78DF341E05EAB907A6E899BA) (groupId : Swift.String, channelId : Swift.String) -> ()).(closure #2) (ChannelViewController.swift:624:96) 1 Patchr partial apply forwarder for Patchr.ChannelViewController.((bind in _83DB864D78DF341E05EAB907A6E899BA) (groupId : Swift.String, channelId : Swift.String) -> ()).(closure #2) (ChannelViewController.swift) 2 Patchr function signature specialization <Arg[0] = Owned To Guaranteed, Arg[1] = Owned To Guaranteed, Arg[2] = Owned To Guaranteed> of Patchr.ChannelQuery.(observe (with : (Swift.Error?, Patchr.FireChannel?) -> ()) -> ()).(closure #2) (ChannelQuery.swift:50:31) 3 Patchr partial apply forwarder for Patchr.ChannelQuery.(observe (with : (Swift.Error?, Patchr.FireChannel?) -> ()) -> ()).(closure #2) with unmangled suffix "_merged" (Patchr) 4 Patchr 43-[FValueEventRegistration fireEvent:queue:]_block_invoke.57 (FValueEventRegistration.m:60:13) 5 libdispatch.dylib dispatch_call_block_and_release 6 libdispatch.dylib dispatch_client_callout 7 libdispatch.dylib dispatch_main_queue_callback_4CF 8 CoreFoundation _CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE_ 9 CoreFoundation CFRunLoopRun 10 CoreFoundation CFRunLoopRunSpecific 11 GraphicsServices GSEventRunModal 12 UIKit -[UIApplication _run] 13 UIKit UIApplicationMain 14 Patchr main (AppDelegate.swift:24:7) 15 libdyld.dylib start

Breadcrumbs

Error Occurred 0s before manual 3s before message Remote config activated manual 8s before message Deep link routing based on clicked branch link manual 9s before message Network is reachable: WR -t----- manual 9s before message Application did become active UIDeviceOrientationDidChange 9s before orientation portrait UIDeviceOrientationDidChange 10s before orientation unknown UIDeviceOrientationDidChange 10s before orientation unknown UIWindowDidBecomeVisible 10s before

Jaymassena commented 7 years ago

This is a difficult one to repro but I have add protections for the case where the failure is because the channel hasn't been cached yet.