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 in NSKeyedUnarchiver unarchiveObjectWithFile #94

Open
tjcsr opened this issue Jun 8, 2018 · 2 comments
Open

crash in NSKeyedUnarchiver unarchiveObjectWithFile #94

tjcsr opened this issue Jun 8, 2018 · 2 comments

Comments

@tjcsr
Copy link

tjcsr commented Jun 8, 2018

image

image

@pikacode
Copy link

same problem. after awake from background, memory cache has been cleared, it use disk cache, and stop at this line, this will block the waiting thread.This just happened in my latest version of App, I' m now trying to find out what i changed in last two versions.

@pikacode
Copy link

normal:
thread1(wait) --> readFromDisk in thread2 --> init a model, return model --> thread1(continue)
block:
thread1(wait) --> readFromDisk in thread2--> init a model, in init method, use TMCache read another value --> thread2(wait) --> thread2(locked)

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

2 participants