Yalantis / Koloda

KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS.
https://yalantis.com
MIT License
5.37k stars 806 forks source link

Crash on Did Swipe Card At #451

Open app-web-dev opened 4 years ago

app-web-dev commented 4 years ago

I get a few crashes report on DidSwipeCardAt method.

Following Stack:

Crashed: com.apple.main-thread 0 Didar 0x100c678c4 specialized MatchViewController.koloda(:didSwipeCardAt:in:) + 4299290820 (:4299290820) 1 Koloda 0x1017ffbc8 closure #1 in KolodaView.swipedAction(:) + 432 (KolodaView.swift:432) 2 Koloda 0x10180abd8 partial apply for closure #1 in KolodaView.animateCardsAfterLoadingWithCompletion(:) + 481 (KolodaView.swift:481) 3 Koloda 0x10180ce00 partial apply for closure #1 in KolodaViewAnimator.applyScaleAnimation(:scale:frame:duration:completion:) + 82 (KolodaViewAnimatior.swift:82) 4 Koloda 0x10180ad70 thunk for @escaping @callee_guaranteed (@guaranteed POPAnimation?, @unowned Bool) -> () + 4311444848 (:4311444848) 5 pop 0x10252c2d4 _POPAnimationState::handleDidStop(bool) + 16416 6 pop 0x10252a500 _POPAnimationState::stop(bool, bool) + 8780 7 pop 0x10252a2e0 stopAndCleanup(POPAnimator*, std::1::shared_ptr, bool, bool) + 8236 8 pop 0x10252a040 -[POPAnimator _renderTime:item:] + 7564 9 pop 0x102529a40 -[POPAnimator _renderTime:items:] + 6028 10 pop 0x10252b4c0 -[POPAnimator renderTime:] + 12812 11 QuartzCore 0x1b0a17130 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 632 12 IOKit 0x1ab01b930 IODispatchCalloutFromCFMessage + 488 13 CoreFoundation 0x1aa0278ac CFMachPortPerform + 172 14 CoreFoundation 0x1aa05107c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 56 15 CoreFoundation 0x1aa0507a8 CFRunLoopDoSource1 + 444 16 CoreFoundation 0x1aa04b67c CFRunLoopRun + 2168 17 CoreFoundation 0x1aa04aadc CFRunLoopRunSpecific + 464 18 GraphicsServices 0x1b3feb328 GSEventRunModal + 104 19 UIKitCore 0x1ae15863c UIApplicationMain + 1936 20 Didar 0x100c41d14 main + 15 (PushNotificationsTableViewController.swift:15) 21 libdyld.dylib 0x1a9ed4360 start + 4