Skip to content

Fatal Exception: NSInternalInconsistencyException #3585

@mmdock

Description

@mmdock

New Issue Checklist

Issue Info

Info Value
Platform Name iOS
Platform Version 14-16
SDWebImage Version 5.17.0
Integration Method SPM
Xcode Version Xcode 14.2
Repro rate NA
Repro with our demo prj NA
Demo project link NA
Screenshot 2023-08-18 at 11 31 40 AM

Issue Description and Steps

Do not know how to reproduce, it is a crash i am seeing in my Crashlytics.
Fatal Exception: NSInternalInconsistencyException
Invalid parameter not satisfying: imageData

Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x9cb4 __exceptionPreprocess
1 libobjc.A.dylib 0x183d0 objc_exception_throw
2 Foundation 0x4e1688 -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:]
3 Her 0xa83a70 SDImageLoaderDecodeProgressiveImageData + 98 (SDImageLoader.m:98)
4 Her 0xa8bd6c __68-[SDWebImageDownloaderOperation URLSession:dataTask:didReceiveData:]_block_invoke + 485 (SDWebImageDownloaderOperation.m:485)
5 Foundation 0xa6ef4 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK
6 Foundation 0x7b000 -[NSBlockOperation main]
7 Foundation 0x7af90 NSOPERATION_IS_INVOKING_MAIN
8 Foundation 0x3c4b8 -[NSOperation start]
9 Foundation 0x3c1ec NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION
10 Foundation 0x4187c __NSOQSchedule_f
11 libdispatch.dylib 0x12fc4 _dispatch_block_async_invoke2
12 libdispatch.dylib 0x3eac _dispatch_client_callout
13 libdispatch.dylib 0x7330 _dispatch_continuation_pop
14 libdispatch.dylib 0x6998 _dispatch_async_redirect_invoke
15 libdispatch.dylib 0x15944 _dispatch_root_queue_drain
16 libdispatch.dylib 0x16158 _dispatch_worker_thread2
17 libsystem_pthread.dylib 0xda0 _pthread_wqthread
18 libsystem_pthread.dylib 0xb7c start_wqthread

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions