SDWebImage: SIGSEGV Crash, iPhone X/XR, not iPhone 11, Animated Images
New Issue Checklist
- I have read and understood the CONTRIBUTING guide
- I have read the Documentation
- I have searched for a similar issue in the project and found none
Issue Info
| Info | Value |
|---|---|
| Platform Name | ios |
| Platform Version | 13.3.1 |
| SDWebImage Version | 5.6.1 |
| Integration Method | Cocoapods |
| Xcode Version | XCode 11.3.1 |
| Repro rate | 100% |
| Repro with our demo prj | not attempted, will provide if necessary |
| Demo project link | not attempted, will provide if necessary |
Issue Description and Steps
Scrolling in a feed
Crashed: NSOperationQueue 0x147ccfa20 (QOS: UNSPECIFIED)
0 libsystem_platform.dylib 0x18f54b948 _platform_memmove + 72
1 ImageIO 0x19017bdb8 GIFBufferInfo::GIFBufferInfo(unsigned char*, bool, unsigned int, unsigned int, unsigned int) + 88
2 ImageIO 0x19018dcf0 GIFReadPlugin::copyImageBlockSet(InfoRec*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 952
3 ImageIO 0x19002b2a0 IIO_Reader::CopyImageBlockSetProc(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 140
4 ImageIO 0x190037570 IIOImageProviderInfo::CopyImageBlockSetWithOptions(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 1220
5 CoreGraphics 0x196875424 imageProvider_retain_data + 88
6 CoreGraphics 0x196676a88 CGDataProviderRetainData + 84
7 CoreGraphics 0x1967dfcf4 provider_for_destination_retain_data + 24
8 CoreGraphics 0x196676a88 CGDataProviderRetainData + 84
9 CoreGraphics 0x196864e8c CGAccessSessionCreate + 104
10 CoreGraphics 0x196752a1c img_data_lock + 2476
11 CoreGraphics 0x196750868 CGSImageDataLock + 1120
12 CoreGraphics 0x1965819dc ripc_AcquireRIPImageData + 712
13 CoreGraphics 0x19676b7bc ripc_DrawImage + 1112
14 CoreGraphics 0x1967574dc CGContextDrawImageWithOptions + 1212
15 Relevnt 0x102ba5700 +[SDImageCoderHelper CGImageCreateDecoded:orientation:] + 274 (SDImageCoderHelper.m:274)
16 Relevnt 0x102ba95d4 -[SDImageIOAnimatedCoder animatedImageFrameAtIndex:] + 561 (SDImageIOAnimatedCoder.m:561)
17 Relevnt 0x102b95640 -[SDAnimatedImage animatedImageFrameAtIndex:] + 263 (SDAnimatedImage.m:263)
18 Relevnt 0x102b96f54 __43-[SDAnimatedImagePlayer displayDidRefresh:]_block_invoke + 336 (SDAnimatedImagePlayer.m:336)
19 Foundation 0x18fc033a0 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
20 Foundation 0x18fb0d0c8 -[NSBlockOperation main] + 100

About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 27 (10 by maintainers)
I think we’ve reproduced the similar issue on version 5.10.2. We cannot provide the code reproducing it because of NDA. Thought, here is the stack trace: