rs/SDURLCache — Issue #21: Occasional SIGSEGV in saveCacheInfo:
Author: lhasiuk
Created: 2012-01-27 19:41:11+00:00
State: open

I have two apps that currently use this library, and I'm seeing an occasional crash that looks like this from instances downloaded by users from the AppStore, in both of the apps:

0 libobjc.A.dylib 0x3188cfbc objc_msgSend 16316 <--- Signal SEGV occurs here
1 CoreFoundation 0x33824301 __CFBinaryPlistWrite 447233
2 CoreFoundation 0x337dccdd CFPropertyListWrite 154845
3 CoreFoundation 0x337dcad5 CFPropertyListWriteToStream 154325
4 Foundation 0x32784f11 [NSPropertyListSerialization dataFromPropertyList:format:errorDescription:] 73489
5 MyAppName 0x0001ddab -[SDURLCache saveCacheInfo] 118187
6 MyAppName 0x0001e64b -[SDURLCache storeToDisk:] 120395
7 CoreFoundation 0x33873814 __invoking___ 772116
8 CoreFoundation 0x337ce7e1 -[NSInvocation invoke] 96225
9 Foundation 0x3280569f -[NSInvocationOperation main] 599711
10 Foundation 0x3279e3a3 -[__NSOperationInternal start] 177059
11 Foundation 0x328077a3 __block_global_6 608163
12 libdispatch.dylib 0x360e1d55 _dispatch_call_block_and_release 3413
13 libdispatch.dylib 0x360ed7a3 _dispatch_worker_thread2 51107
14 libsystem_c.dylib 0x35d6f1cf _pthread_wqthread 41423

Any ideas how to solve this?

Thanks!