Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing on unblur() or blur(blurRadius: 0) #10

Open
aakashsrivastav opened this issue Jan 21, 2017 · 1 comment
Open

Crashing on unblur() or blur(blurRadius: 0) #10

aakashsrivastav opened this issue Jan 21, 2017 · 1 comment

Comments

@aakashsrivastav
Copy link

Whenever I try to unblur a view by using view.unblur() or view.blur(blurRadius: 0) app crashes by throwing exception: fatal error: unexpectedly found nil while unwrapping an Optional value.

Here's the Stacktrace:

  • thread Hiding & Unhiding Subviews not ideal #1: tid = 0x6679c, 0x0000000106a3fc50 libswiftCore.dylibfunction signature specialization <preserving fragile attribute, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt, flags : Swift.UInt32) -> Swift.Never + 96, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) frame #0: 0x0000000106a3fc50 libswiftCore.dylibfunction signature specialization <preserving fragile attribute, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt, flags : Swift.UInt32) -> Swift.Never + 96

    • frame Hiding & Unhiding Subviews not ideal #1: 0x000000010538db49 TouchIDDemoLoginWithPasswordVC.(self=0x00007fd71fc094d0) -> ()).(closure #1).(closure #1) + 105 at LoginWithPasswordVC.swift:61 frame #2: 0x000000010538b067 TouchIDDemothunk + 39 at TouchIDVC.swift:0
      frame CocoaPods Support #3: 0x00000001092910cd libdispatch.dylib_dispatch_client_callout + 8 frame #4: 0x000000010926d16c libdispatch.dylib_dispatch_continuation_pop + 1091
      frame CocoaPods #5: 0x00000001092821de libdispatch.dylib_dispatch_source_latch_and_call + 195 frame #6: 0x000000010927ad79 libdispatch.dylib_dispatch_source_invoke + 1098
      frame Added Installation section #7: 0x0000000109271afc libdispatch.dylib_dispatch_main_queue_callback_4CF + 1006 frame #8: 0x0000000108ccae49 CoreFoundationCFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
      frame Seems slow #9: 0x0000000108c9037d CoreFoundation__CFRunLoopRun + 2205 frame #10: 0x0000000108c8f884 CoreFoundationCFRunLoopRunSpecific + 420
      frame swift 3 update #11: 0x000000010dd62a6f GraphicsServicesGSEventRunModal + 161 frame #12: 0x000000010700dc68 UIKitUIApplicationMain + 159
      frame Enhancement: Update for Swift 4 #13: 0x000000010539041f TouchIDDemomain + 111 at AppDelegate.swift:12 frame #14: 0x00000001092dd68d libdyld.dylibstart + 1

    thread Add Example #2: tid = 0x667e0, 0x000000010960c4e2 libsystem_kernel.dylib__workq_kernreturn + 10 frame #0: 0x000000010960c4e2 libsystem_kernel.dylib__workq_kernreturn + 10
    frame Hiding & Unhiding Subviews not ideal #1: 0x0000000109723791 libsystem_pthread.dylib_pthread_wqthread + 1426 frame #2: 0x00000001097231ed libsystem_pthread.dylibstart_wqthread + 13

    thread CocoaPods Support #3: tid = 0x667e1, 0x000000010960c4e2 libsystem_kernel.dylib__workq_kernreturn + 10 frame #0: 0x000000010960c4e2 libsystem_kernel.dylib__workq_kernreturn + 10
    frame Hiding & Unhiding Subviews not ideal #1: 0x0000000109723791 libsystem_pthread.dylib_pthread_wqthread + 1426 frame #2: 0x00000001097231ed libsystem_pthread.dylibstart_wqthread + 13

    thread Added a block to handle ios9 #4: tid = 0x667e2, 0x000000010960ce5a libsystem_kernel.dylibkevent_qos + 10, queue = 'com.apple.libdispatch-manager' frame #0: 0x000000010960ce5a libsystem_kernel.dylibkevent_qos + 10
    frame Hiding & Unhiding Subviews not ideal #1: 0x000000010928269f libdispatch.dylib_dispatch_mgr_wait_for_event + 79 frame #2: 0x000000010927c070 libdispatch.dylib_dispatch_mgr_invoke + 248
    frame CocoaPods Support #3: 0x000000010927be72 libdispatch.dylib`_dispatch_mgr_thread + 54

    thread CocoaPods #5: tid = 0x667e3, 0x000000010960c4e2 libsystem_kernel.dylib__workq_kernreturn + 10 frame #0: 0x000000010960c4e2 libsystem_kernel.dylib__workq_kernreturn + 10
    frame Hiding & Unhiding Subviews not ideal #1: 0x0000000109723791 libsystem_pthread.dylib_pthread_wqthread + 1426 frame #2: 0x00000001097231ed libsystem_pthread.dylibstart_wqthread + 13

    thread Installation section #6: tid = 0x667e4, 0x000000010960438a libsystem_kernel.dylibmach_msg_trap + 10, name = 'com.apple.uikit.eventfetch-thread' frame #0: 0x000000010960438a libsystem_kernel.dylibmach_msg_trap + 10
    frame Hiding & Unhiding Subviews not ideal #1: 0x00000001096037d7 libsystem_kernel.dylibmach_msg + 55 frame #2: 0x0000000108c90ba4 CoreFoundation__CFRunLoopServiceMachPort + 212
    frame CocoaPods Support #3: 0x0000000108c90021 CoreFoundation__CFRunLoopRun + 1345 frame #4: 0x0000000108c8f884 CoreFoundationCFRunLoopRunSpecific + 420
    frame CocoaPods #5: 0x0000000105486760 Foundation-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274 frame #6: 0x000000010550e1b1 Foundation-[NSRunLoop(NSRunLoop) runUntilDate:] + 78
    frame Added Installation section #7: 0x0000000107a90741 UIKit-[UIEventFetcher threadMain] + 118 frame #8: 0x0000000105496654 FoundationNSThread__start + 1243
    frame Seems slow #9: 0x0000000109723aab libsystem_pthread.dylib_pthread_body + 180 frame #10: 0x00000001097239f7 libsystem_pthread.dylib_pthread_start + 286
    frame swift 3 update #11: 0x00000001097231fd libsystem_pthread.dylib`thread_start + 13

    thread Blur Background Image only #8: tid = 0x667f3, 0x000000010960c4e2 libsystem_kernel.dylib__workq_kernreturn + 10 frame #0: 0x000000010960c4e2 libsystem_kernel.dylib__workq_kernreturn + 10
    frame Hiding & Unhiding Subviews not ideal #1: 0x0000000109723791 libsystem_pthread.dylib_pthread_wqthread + 1426 frame #2: 0x00000001097231ed libsystem_pthread.dylibstart_wqthread + 13

@davidseek
Copy link

same here. latest swift 3 and xcode. ios 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants