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 AnimatedImageView #25

Open
osmontanov opened this issue Apr 29, 2022 · 2 comments
Open

Crashing on AnimatedImageView #25

osmontanov opened this issue Apr 29, 2022 · 2 comments

Comments

@osmontanov
Copy link

osmontanov commented Apr 29, 2022

When loading gifs (120 frames, 512x512, per gif), app is crashing on < func cancelPreloadTask() >

image

----------------------------------------------------------

and crashing while scrolling collectionView with gifs (120 frames, 512x512, per gif)

image

@sloik
Copy link

sloik commented Jun 6, 2022

I have the same issue.

Crashed: com.apple.main-thread

0  Longinus                       0x74c0 $s8Longinus0A9ExtensionVA2A13AnimatedImageCRbzlE17cancelPreloadTaskyyFAE_Tg5 + 288
1  Longinus                       0x8974 $s8Longinus13AnimatedImageCfDTo + 40
2  libobjc.A.dylib                0x7b14 AutoreleasePoolPage::releaseUntil(objc_object**) + 196
3  libobjc.A.dylib                0x3e54 objc_autoreleasePoolPop + 212
4  UIKitCore                      0x32b1bc -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 2488
5  UIKitCore                      0x225308 -[UICollectionView _updateVisibleCellsNow:] + 4372
6  UIKitCore                      0x179a84 -[UICollectionView layoutSubviews] + 320
7  UIKitCore                      0x18bfb4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2592
8  QuartzCore                     0x40cd0 CA::Layer::layout_if_needed(CA::Transaction*) + 532
9  QuartzCore                     0x33134 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136
10 QuartzCore                     0x47a7c CA::Context::commit_transaction(CA::Transaction*, double, double*) + 452
11 QuartzCore                     0x50970 CA::Transaction::commit() + 704
12 QuartzCore                     0x3288c CA::Transaction::flush_as_runloop_observer(bool) + 88
13 CoreFoundation                 0x410c4 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
14 CoreFoundation                 0x10080 __CFRunLoopDoObservers + 592
15 CoreFoundation                 0xb13c __CFRunLoopRun + 1052
16 CoreFoundation                 0x1ebc8 CFRunLoopRunSpecific + 600
17 GraphicsServices               0x1374 GSEventRunModal + 164
18 UIKitCore                      0x514648 -[UIApplication _run] + 1100
19 UIKitCore                      0x295d90 UIApplicationMain + 364

@sloik
Copy link

sloik commented Jul 14, 2022

I have a PR that should fix this issue :) @osmontanov you can check it and maybe use it until a new version will be released?

#27

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