pinterest / PINRemoteImage

A thread safe, performant, feature rich image fetcher
Apache License 2.0
4.01k stars 511 forks source link

PINURLSessionManager.m:210 There seems to be an issue in iOS 9 where this can be nil. If you can reliably reproduce hitting this, *please* open an issue: https://github.com/pinterest/PINRemoteImage/issues #533

Closed itunescn closed 4 years ago

itunescn commented 5 years ago

Screen Shot 2019-10-22 at 9 46 07 PM

garrettmoon commented 4 years ago

@itunescn if you're able to reliably reproduce this, a sample project and repro steps would be super useful!

garrettmoon commented 4 years ago

Going to close this since there hasn't been a reply.

VitaliiVasylyda commented 4 years ago

Good evening we have the same issue on our project, 100% reproduce on iOS 10.3. Here a message from the console Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'There seems to be an issue in iOS 9 where this can be nil. If you can reliably reproduce hitting this, please open an issue: https://github.com/pinterest/PINRemoteImage/issues'.

Daemonson commented 3 years ago

Hey there, the example project of repo Texture can reproduce this crash.

Download the repo, you can find out the example project in this file path: Texture-master/examples_extra/ASDKgram-Swift.

Running the project and then scroll the view as fast as you can in the ASDK tab. Now you can encounter this assertion caused by the nil value of the delegateQueue.

My Xcode version is 12.4 (12D4e). The device is an iPod touch 6 on iOS 10.3.3.