TumblrArchive / TMCache

Fast parallel object cache for iOS and OS X.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash inside TMDiskCache objectForKey:block

akurkin opened this issue · comments

TMDiskCache.m line 331 (latest version)

Fatal Exception NSInvalidArgumentException
*** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x62, 0x70, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x30)

The only thing I know about this crash is that object was an image downloaded from web. (though dozens of similar objects just work)

couldn't reproduce this : /

I met this problem too.
Thread : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x30a2fe83 __exceptionPreprocess + 130
1 libobjc.A.dylib 0x3ad8c6c7 objc_exception_throw + 38
2 CoreFoundation 0x30a2fdc5 -[NSException initWithCoder:]
3 Foundation 0x313a622b -[NSKeyedUnarchiver initForReadingWithData:] + 2454
4 Foundation 0x313f8493 +[NSKeyedUnarchiver unarchiveObjectWithFile:] + 114
5 Camera360 0x003146f3 __34-[TMDiskCache objectForKey:block:]_block_invoke (TMDiskCache.m:408)
6 libdispatch.dylib 0x3b2710c3 _dispatch_call_block_and_release + 10
7 libdispatch.dylib 0x3b275e7b _dispatch_queue_drain + 374
8 libdispatch.dylib 0x3b272f93 _dispatch_queue_invoke + 42
9 libdispatch.dylib 0x3b276745 _dispatch_root_queue_drain + 76
10 libdispatch.dylib 0x3b2769c5 _dispatch_worker_thread2 + 56
11 libsystem_pthread.dylib 0x3b3a0dff _pthread_wqthread + 298
12 libsystem_pthread.dylib 0x3b3a0cc4 start_wqthread + 8

I met this problem too.

Reason: * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x62, 0x70, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x30)'

Exception Type: SIGABRT