alexiscreuzot / SwiftyGif

High performance GIF engine
MIT License
1.99k stars 210 forks source link

Crash on UIImage.delayTimes() #179

Closed animeshp closed 1 year ago

animeshp commented 1 year ago

Happening on latest v5.4.3 on iOS 16. Not specific to a device.

Crashed: com.apple.main-thread
0  CoreFoundation                 0x194398 -[__NSArrayM insertObject:atIndex:].cold.2 + 16
1  CoreFoundation                 0x13a24 -[__NSArrayM addObject:] + 962
2  ImageIO                        0x283a0 IIOImageSource::setImagePlusAtIndex(CGImagePlus*, long) + 188
3  ImageIO                        0x37fc8 IIOImageSource::getImagePlus(unsigned long) + 112
4  ImageIO                        0x39294 IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) + 112
5  ImageIO                        0x4e904 IIOImageSource::getPropertiesAtIndexInternal(unsigned long, IIODictionary*) + 68
6  ImageIO                        0x20a24 IIOImageSource::copyPropertiesAtIndex(unsigned long, IIODictionary*) + 20
7  ImageIO                        0x4675c CGImageSourceCopyPropertiesAtIndex + 260
8  Print Studio                   0x6fffa0 UIImage.delayTimes(_:) + 164 (UIImage+SwiftyGif.swift:164)
9  Print Studio                   0x6ffb6c UIImage.setGif(_:levelOfIntegrity:) + 98 (UIImage+SwiftyGif.swift:98)
10 Print Studio                   0x6ffddc UIImage.init(gifName:levelOfIntegrity:) + 86 (UIImage+SwiftyGif.swift:86)