Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Crash] SDImageIOAnimatedCoder createFrameAtIndex:source:scale:preserveAspectRatio:thumbnailSize:lazyDecode:animatedImage:] (SDImageIOAnimatedCoder.m:477) #305

Open
Patczuk opened this issue Mar 18, 2024 · 0 comments

Comments

@Patczuk
Copy link

Patczuk commented Mar 18, 2024

SIGSEGV : Crash due to signal: SIGSEGV(SEGV_MAPERR) at 00000000 (Could not access memory: Attempted to reference a deallocated object at 00000000)
+[SDImageIOAnimatedCoder createFrameAtIndex:source:scale:preserveAspectRatio:thumbnailSize:lazyDecode:animatedImage:] (SDImageIOAnimatedCoder.m:477 )

0 | libsystem_platform.dylib | _platform_memmove + 76
1 | ImageIO | std::__1::__shared_ptr_emplace<GIFBufferInfo, std::__1::allocator >::__shared_ptr_emplace<unsigned char*&, bool, unsigned int&, unsigned int&, unsigned int>(std::__1::allocator, unsigned char*&, bool&&, unsigned int&, unsigned int&, unsigned int&&) + 75
2 | ImageIO | std::__1::shared_ptr std::__1::allocate_shared<GIFBufferInfo, std::__1::allocator, unsigned char*&, bool, unsigned int&, unsigned int&, unsigned int, void>(std::__1::allocator const&, unsigned char*&, bool&&, unsigned int&, unsigned int&, unsigned int&&) + 87
3 | ImageIO | GIFReadPlugin::copyImageBlockSet(InfoRec*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 799
4 | ImageIO | IIO_Reader::CopyImageBlockSetProc(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 279
5 | ImageIO | IIOImageProviderInfo::copyImageBlockSetWithOptions(CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 743
6 | ImageIO | IIOImageProviderInfo::CopyImageBlockSetWithOptions(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 827
7 | CoreGraphics | imageProvider_retain_data + 91
8 | CoreGraphics | CGDataProviderRetainData + 79
9 | CoreGraphics | provider_for_destination_retain_data + 27
10 | CoreGraphics | CGDataProviderRetainData + 79
11 | CoreGraphics | CGAccessSessionCreate + 107
12 | CoreGraphics | get_access_session + 51
13 | CoreGraphics | img_raw_read + 947
14 | CoreGraphics | img_interpolate_read + 671
15 | CoreGraphics | img_data_lock + 7963
16 | CoreGraphics | CGSImageDataLock + 1319
17 | CoreGraphics | ripc_AcquireRIPImageData + 727
18 | CoreGraphics | ripc_DrawImage + 803
19 | CoreGraphics | CGContextDrawImageWithOptions + 1379
20 | ImageIO | CGImageCreateCopyWithParametersNew(CGImage*, CGColor*, CGAffineTransform, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, CGColorSpace*, unsigned int, bool, CGColorRenderingIntent, CGInterpolationQuality, bool) + 1655
21 | ImageIO | IIOImageSource::createThumbnailAtIndex(unsigned long, IIODictionary*) + 2727
22 | ImageIO | CGImageSourceCreateThumbnailAtIndex + 379
23 | +[SDImageIOAnimatedCoder createFrameAtIndex:source:scale:preserveAspectRatio:thumbnailSize:lazyDecode:animatedImage:] (SDImageIOAnimatedCoder.m:477)
24 | -[SDImageIOAnimatedCoder safeAnimatedImageFrameAtIndex:] (SDImageIOAnimatedCoder.m:1081)
25 | -[SDImageIOAnimatedCoder animatedImageFrameAtIndex:] (SDImageIOAnimatedCoder.m:1075)
26 | -[SDAnimatedImage animatedImageFrameAtIndex:] (SDAnimatedImage.m:295)
27 | __41-[SDImageFramePool prefetchFrameAtIndex:]_block_invoke (SDImageFramePool.m:118)
28 | Foundation | NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 23
29 | Foundation | -[NSBlockOperation main] + 103
30 | Foundation | NSOPERATION_IS_INVOKING_MAIN + 15
31 | Foundation | -[NSOperation start] + 707
32 | Foundation | NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION + 15
33 | Foundation | __NSOQSchedule_f + 171
34 | libdispatch.dylib | _dispatch_block_async_invoke2 + 147
35 | libdispatch.dylib | _dispatch_client_callout + 19
36 | libdispatch.dylib | _dispatch_continuation_pop + 503
37 | libdispatch.dylib | _dispatch_async_redirect_invoke + 735
38 | libdispatch.dylib | _dispatch_root_queue_drain + 395
39 | libdispatch.dylib | _dispatch_worker_thread2 + 163
40 | libsystem_pthread.dylib | _pthread_wqthread + 227
41 | libsystem_pthread.dylib | start_wqthread + 7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant