SwiftKickMobile/SwiftMessages

Crash during animation

itcmarcinrabieko opened this issue · 2 comments

Hi,
we are facing an issue causing a crash. How can we fix it?

Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0x7674 __pthread_kill + 8
1  libsystem_pthread.dylib        0x71ac pthread_kill + 268
2  libsystem_c.dylib              0x20c8c abort + 180
3  libswiftCore.dylib             0x3d7264 swift::fatalError(unsigned int, char const*, ...) + 134
4  libswiftCore.dylib             0x3d7284 swift::warningv(unsigned int, char const*, char*) + 30
5  libswiftCore.dylib             0x3d7428 swift::swift_abortRetainUnowned(void const*) + 36
6  libswiftCore.dylib             0x41ef20 swift_unknownObjectUnownedTakeStrong + 74
7  SwiftMessages                  0x26920 closure #1 in SwiftMessagesSegue.animationController(forPresented:presenting:source:) + 144
8  SwiftMessages                  0x16b50 closure #2 in Presenter.hide(animated:completion:) + 192 (Presenter.swift:192)
9  SwiftMessages                  0x1974c partial apply for closure #3 in Presenter.hide(animated:completion:) + 199 (Presenter.swift:199)
10 SwiftMessages                  0x2b230 partial apply for closure #2 in TopBottomAnimation.showAnimation(completion:) + 162 (TopBottomAnimation.swift:162)
11 SwiftMessages                  0x29e48 thunk for @escaping @callee_guaranteed (@unowned Bool) -> () + 40 (<compiler-generated>:40)
12 UIKitCore                      0x104278c __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__ + 36
13 UIKitCore                      0xd1280 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 636
14 UIKitCore                      0xd01dc -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 436
15 UIKitCore                      0xcf8fc -[UIViewAnimationState animationDidStop:finished:] + 196
16 QuartzCore                     0x12dfc CA::Layer::run_animation_callbacks(void*) + 232
17 libdispatch.dylib              0x3f88 _dispatch_client_callout + 20
18 libdispatch.dylib              0x127f4 _dispatch_main_queue_drain + 928
19 libdispatch.dylib              0x12444 _dispatch_main_queue_callback_4CF + 44
20 CoreFoundation                 0x9a6c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
21 CoreFoundation                 0x7c02c __CFRunLoopRun + 2036
22 CoreFoundation                 0x80eb0 CFRunLoopRunSpecific + 612
23 GraphicsServices               0x1368 GSEventRunModal + 164
24 UIKitCore                      0x3a1668 -[UIApplication _run] + 888
25 UIKitCore                      0x3a12cc UIApplicationMain + 340
26 XXX                     0x423c main + 30 (main.swift:30)
27 ???                            0x1d617c960 (Missing)

I would need more than a stack trace to have any chance of helping you, e.g. OS version, reproduction steps, sample code, etc.

Please reopen when you're ready to provide the details I requested.