DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.17k stars 1.5k forks source link

iOS SDWebImage Crash on SDGraphicsGetImageFromCurrentImageContext #911

Open jigneshD11 opened 2 years ago

jigneshD11 commented 2 years ago

Crash on iOS 15 in SDWebImage

EXC_BAD_ACCESS: Attempted to dereference null pointer.

0 libsystem_platform.dylib platform_memmove 1 CoreFoundation _CFDataGetBytes 2 ImageIO _CGImageGetImageSource 3 UIKitCore -[_UIImageCGImageContent initWithCGImage:scale:] 4 UIKitCore -[UIImage initWithCGImage:scale:orientation:] 5 hidden
6 hidden
7
hidden
8 hidden 9 Foundation _NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK 10 Foundation -[NSBlockOperation main] 11 Foundation _NSOPERATION_IS_INVOKING_MAIN 12 Foundation -[NSOperation start] 13 Foundation _NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION 14 Foundation _NSOQSchedule_f 15 libdispatch.dylib dispatch_block_async_invoke2 16 libdispatch.dylib dispatch_client_callout 17 libdispatch.dylib dispatch_continuation_pop 18 libdispatch.dylib __dispatch_async_redirect_invoke 19 libdispatch.dylib dispatch_root_queue_drain 20 libdispatch.dylib __dispatch_worker_thread2 21 libsystem_pthread.dylib __pthread_wqthread

Lunziyuan commented 2 years ago

Looks like this is the same problem with SDWebImage

fukemy commented 1 year ago

Looks like this is the same problem with SDWebImage

Hi, how can I fix this problem, my app crash many times due to this problem