crash in NSKeyedUnarchiver unarchiveObjectWithFile
tjcsr opened this issue · comments
tjcsr commented
pikacode commented
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 commented
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)