SDWebImage / SDWebImage

Asynchronous image downloader with cache support as a UIImageView category
https://sdwebimage.github.io
MIT License
25.04k stars 5.97k forks source link

SDImageIOAnimatedCoder Crash ! Happened between iOS14 and iOS15.0.1 #3560

Closed cheng-ren closed 1 year ago

cheng-ren commented 1 year ago

New Issue Checklist

Issue Info

Info Value
Platform Name iOS
Platform Version 14.0~15.0.1
SDWebImage Version 5.15.7
Integration Method cocoapods
Xcode Version Xcode13
Repro rate sometimes 3%
Repro with our demo prj does it happen with our demo project?

Issue Description and Steps

+[SDImageIOAnimatedCoder createFrameAtIndex:source:scale:preserveAspectRatio:thumbnailSize:lazyDecode:animatedImage:] + [SDImageIOAnimatedCoder.m : 234]

cheng-ren commented 1 year ago
image
dreampiggy commented 1 year ago

Dupliacted, Apple's bug.

The AdobeXMP is a C++ static variable with custom de-constrcutor, and has thread-safe when your process eixt.

This does not has any visible effect on user. So don't solve.