iOS 18.2 ImageIO Crash

1  CoreFoundation _dataWrite + 144
2  CoreFoundation _CFWriteStreamWrite + 312
3  ImageIO IIOColorMap::writeToStream(__CFWriteStream*) + 128
4  ImageIO GlobalGIFInfo::writeToStream(__CFWriteStream*, CFRange const&) + 336
5  ImageIO GlobalGIFInfo::createDataRepresentation(CFRange const&) + 80
6  ImageIO IIO_Reader_GIF::createGlobalInfoData(IIOImageReadSession*) + 68
7  ImageIO IIOReadPlugin::callDecodeImage(IIODecodeParameter*, IIOImageType, __IOSurface**, __CVBuffer**, CGImageBlockSet**) + 608
8  ImageIO IIO_Reader::CopyImageBlockSetProc(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 696
9  ImageIO IIOImageProviderInfo::copyImageBlockSetWithOptions(CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 740
10 ImageIO IIOImageProviderInfo::CopyImageBlockSetWithOptions(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 920
11 QuartzCore CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double, double) + 3080
12 QuartzCore CA::Render::prepare_image(CGImage*, CGColorSpace*, unsigned int, double) + 24
13 QuartzCore CA::Layer::prepare_contents(CALayer*, CA::Transaction*) + 220
14 QuartzCore CA::Layer::prepare_commit(CA::Transaction*) + 284
15 QuartzCore CA::Context::commit_transaction(CA::Transaction*, double, double*) + 484
16 QuartzCore CA::Transaction::commit() + 648
17 QuartzCore CA::Transaction::flush_as_runloop_observer(bool) + 88
18 UIKitCore __UIApplicationFlushCATransaction + 52
19 UIKitCore ___setupUpdateSequence_block_invoke_2 + 332
20 UIKitCore __UIUpdateSequenceRun + 84
21 UIKitCore _schedulerStepScheduledMainSection + 172
22 UIKitCore _runloopSourceCallback + 92
23 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
24 CoreFoundation ___CFRunLoopDoSource0 + 176
25 CoreFoundation ___CFRunLoopDoSources0 + 244
26 CoreFoundation ___CFRunLoopRun + 840
27 CoreFoundation _CFRunLoopRunSpecific + 588
28 GraphicsServices               0x00000001ebf114c0 GSEventRunModal + 164
29 UIKitCore -[UIApplication _run] + 816
30 UIKitCore _UIApplicationMain + 340
Answered by DTS Engineer in 818821022

My best guess is Image I/O is crashing while trying to copy an image, possibly inside of a data provider, involved in an animation that is in flight. Can you provide more information about what your app is doing at the time when this error occurs?

My best guess is Image I/O is crashing while trying to copy an image, possibly inside of a data provider, involved in an animation that is in flight. Can you provide more information about what your app is doing at the time when this error occurs?

I sent a feedback with complete crash stack information, I am unable to reproduce this issue, through analysis it should occur when the user is playing a GIF, and we use CGImageSourceCreateImageAtIndex to process it. Feedback

Are you able to verify the GIF file's format is correct using some other software?

iOS 18.2 ImageIO Crash
 
 
Q