dscvr-com / dscvr-app-ios

iOS App Repository
1 stars 1 forks source link

Crash in PipelineService / Persists on app restart #225

Open ejoebstl opened 8 years ago

ejoebstl commented 8 years ago

Crash in PipelineService.swift:149. Reason: fatal error: unexpectedly found nil while unwrapping an Optional value.

let image = KingfisherManager.sharedManager.cache.retrieveImageInDiskCacheForKey(url)!
* thread #3: tid = 0x2b885, 0x0000000102a0c71c libswiftCore.dylib`function signature specialization <Arg[0] = Exploded, Arg[1] = Exploded, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt) -> () + 44, queue = 'pipeline_upload', activity = 'starting resolver activity', 1 messages, stop reason = EXC_BREAKPOINT (code=1, subcode=0x102a0c71c)
    frame #0: 0x0000000102a0c71c libswiftCore.dylib`function signature specialization <Arg[0] = Exploded, Arg[1] = Exploded, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt) -> () + 44
  * frame #1: 0x00000001002d2024 Optonaut`static Optonaut.PipelineService.(optographID="7140a83c-7c0b-4d23-a834-d40456c60034", side=Left, face=4) (Optonaut.PipelineService.Type) -> (Swift.String, side : Optonaut.TextureSide, face : Swift.Int) -> ()).(closure #1) + 2772 at PipelineService.swift:149
    frame #2: 0x000000010016d6d0 Optonaut`reabstraction thunk helper from @callee_owned () -> (@unowned ()) to @callee_unowned @convention(block) () -> (@unowned ()) + 44 at OptographOptions.swift:0
    frame #3: 0x0000000103b9ff6c libdispatch.dylib`_dispatch_block_async_invoke_and_release + 752
    frame #4: 0x0000000103b95bb0 libdispatch.dylib`_dispatch_client_callout + 16
    frame #5: 0x0000000103ba0b98 libdispatch.dylib`_dispatch_async_redirect_invoke + 2196
    frame #6: 0x0000000103b95bb0 libdispatch.dylib`_dispatch_client_callout + 16
    frame #7: 0x0000000103ba4e10 libdispatch.dylib`_dispatch_root_queue_drain + 2344
    frame #8: 0x0000000103ba44d8 libdispatch.dylib`_dispatch_worker_thread3 + 132
    frame #9: 0x000000018439d470 libsystem_pthread.dylib`_pthread_wqthread + 1092

Steps to reproduce: Force refreshing by pulling up the feed repeatedly during optograph stitching. Problem persists over app restart.