SDWebImage icon indicating copy to clipboard operation
SDWebImage copied to clipboard

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

Open fengCaifan opened this issue 1 year ago • 1 comments

New Issue Checklist

Issue Info

已崩溃:com.hackemist.SDImageCache.ioQueue EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Crashed: com.hackemist.SDImageCache.ioQueue 0 vImage 0x18262c CoefGenerationVertical + 1292 1 vImage 0x199810 vVertical_Scale_ARGB_8888_Accelerate + 3364 2 vImage 0x33960 vImageVerticalShear_ARGB8888 + 896 3 vImage 0x2ff90 vImageScale_ARGB8888 + 640 4 ImageIO 0x582e0 IIOSubsampler::subsampleRGBA8888(unsigned char*, unsigned int, unsigned char*, unsigned int*) + 248 5 ImageIO 0x58018 IIOSubsampler::subsample(unsigned char*, unsigned int, unsigned char*, unsigned int*) + 264 6 ImageIO 0x56ad4 PNGReadPlugin::DecodeFrameStandard(IIOImageReadSession*, ReadPluginData const&, PNGPluginData const&, IIODecodeFrameParams&) + 1640 7 ImageIO 0x559d0 PNGReadPlugin::DecodeUncomposedFrames(IIOImageRead*, GlobalPNGInfo*, ReadPluginData const&, PNGPluginData const&, std::__1::vector<IIODecodeFrameParams, std::__1::allocator<IIODecodeFrameParams>>&) + 112 8 ImageIO 0x53b54 PNGReadPlugin::copyImageBlockSetStandard(InfoRec*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 1044 9 ImageIO 0x53718 PNGReadPlugin::copyImageBlockSet(InfoRec*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 44 10 ImageIO 0x530bc PNGReadPlugin::decodeImageImp(IIODecodeParameter*, IIOImageType, __IOSurface**, __CVBuffer**, CGImageBlockSet**) + 492 11 ImageIO 0x2d15c IIOReadPlugin::callDecodeImage(IIODecodeParameter*, IIOImageType, __IOSurface**, __CVBuffer**, CGImageBlockSet**) + 824 12 ImageIO 0x22930 IIO_Reader::CopyImageBlockSetProc(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 688 13 ImageIO 0x22598 IIOImageProviderInfo::copyImageBlockSetWithOptions(CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 740 14 ImageIO 0x221cc IIOImageProviderInfo::CopyImageBlockSetWithOptions(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 796 15 CoreGraphics 0x72720 imageProvider_retain_data + 92 16 CoreGraphics 0x7133c CGDataProviderRetainData + 80 17 CoreGraphics 0x71b3c provider_for_destination_retain_data + 28 18 CoreGraphics 0x7133c CGDataProviderRetainData + 80 19 CoreGraphics 0x712a0 CGAccessSessionCreate + 124 20 CoreGraphics 0x7e0a4 get_access_session + 52 21 CoreGraphics 0x7da0c img_raw_read + 952 22 CoreGraphics 0x7b01c img_interpolate_read + 584 23 CoreGraphics 0x70f8c img_data_lock + 8068 24 CoreGraphics 0x69ba4 CGSImageDataLock + 1148 25 CoreGraphics 0x692d8 ripc_AcquireRIPImageData + 848 26 CoreGraphics 0x68b14 ripc_DrawImage + 832 27 CoreGraphics 0x5b52c CGContextDrawImageWithOptions + 1120 28 ImageIO 0x7d308 CGImageCreateCopyWithParametersNew(CGImage*, CGColor*, CGAffineTransform, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, CGColorSpace*, unsigned int, bool, CGColorRenderingIntent, CGInterpolationQuality, bool) + 1716 29 ImageIO 0x7ae44 IIOImageSource::createThumbnailAtIndex(unsigned long, IIODictionary*, int*) + 3396 30 ImageIO 0x79ce4 CGImageSourceCreateThumbnailAtIndex + 576 31 SDWebImage 0x1c678 +[SDImageIOAnimatedCoder createFrameAtIndex:source:scale:preserveAspectRatio:thumbnailSize:lazyDecode:animatedImage:] + 476 (SDImageIOAnimatedCoder.m:476) 32 SDWebImage 0x1ce24 -[SDImageIOAnimatedCoder decodedImageWithData:options:] + 658 (SDImageIOAnimatedCoder.m:658) 33 SDWebImage 0x1a86c -[SDImageCodersManager decodedImageWithData:options:] + 109 (SDImageCodersManager.m:109) 34 SDWebImage 0x15890 SDImageCacheDecodeImageData + 123 (SDImageCacheDefine.m:123) 35 SDWebImage 0x12c10 -[SDImageCache diskImageForKey:data:options:context:] + 521 (SDImageCache.m:521) 36 SDWebImage 0x13730 __73-[SDImageCache queryCacheOperationForKey:options:context:cacheType:done:]_block_invoke.121 + 697 (SDImageCache.m:697) 37 SDWebImage 0x1393c __73-[SDImageCache queryCacheOperationForKey:options:context:cacheType:done:]_block_invoke.124 + 721 (SDImageCache.m:721) 38 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32 39 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20 40 libdispatch.dylib 0xb400 _dispatch_lane_serial_drain + 748 41 libdispatch.dylib 0xbf64 _dispatch_lane_invoke + 432 42 libdispatch.dylib 0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288 43 libdispatch.dylib 0x16528 _dispatch_workloop_worker_thread + 404 44 libsystem_pthread.dylib 0x4934 _pthread_wqthread + 288 45 libsystem_pthread.dylib 0x10cc start_wqthread + 8

Issue Description and Steps

pod 'SDWebImage', '~> 5.19.7' I have upgraded to the latest version, but the crash has not been resolved. Is there any other solution?

fengCaifan avatar Nov 14 '24 06:11 fengCaifan

same issue here

daQiuQiu avatar Mar 02 '25 04:03 daQiuQiu