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 on -[PINDiskCache objectForKey:fileURL:] #62
Comments
@rex-remind101 Looks like one of the objects on disk isn't unarchiving correctly. This could be due to a bad implementation of initWithCoder (or secure coder), or it could be due to a file which doesn't support coding getting put in the cache directory (this is less likely). Either way, it doesn't appear to be a bug in PINDiskCache |
Since all of our file storage goes through your API wouldn't this be an issue with your library, and therefore not worth just closing? This explanation is a good lead but doesn't necessarily solve anything. |
Hey @rex-remind101 I'm happy to reopen the issue with a help wanted tag for a bit! |
Great! Thank you :) |
@rex-remind101 Have you resolved this crash issue? I also found hight rate crash the same with yours. |
Yup, still seeing it on v 2.2.2. |
@rex-remind101 @binchensjtu can either of you reproduce the issue? |
Going to close this, lemme know if either of you can reproduce the issue. |
Our crash reporting consistently logs crashes on
-[PINDiskCache objectForKey:fileURL:]
. This is one of our highest reported crashes. This is on version 2.1.Stack traces for the queue the crash occurs on look like the following:
All other threads are idle and the main thread is simply spinning the runloop when this happens:
There happen to be quite a large number of queues for
PINDiskCache
when this occurs though. Their threads look like so:The text was updated successfully, but these errors were encountered: