Aperture crashes upon opening certain library
Basic info: OS X 10.7.5 and Aperture 3.4.4 on mid-2010 27-inch iMac
Story: I force quitted Aperture when it was trying to import from my camera (It somehow wasn't responding). My library seemed to be corrupted from then on.
What I've tried:
1. Searching through various forums to no avail
2. Creating a new library. This one works as I'm now working with a new library, but 177GB worth of photos are still out for now. And I've been pulling my hair hard trying to recover it.
3. Repairing permissions, repairing database, and rebuilding database. All three solutions were able to run to completion but wouldn't fix the library.
4. Deleting Preferences
5. Deleting photos that seemed to be imported prior to the force quit
6. Holding 'Shift' when opening Aperture
7. Reinstalling Aperture
8. Deleting ImageProxies.apdb as suggested in this discussion since he has a very similar error report to mine.
Any suggestions will be deeply appreciated.
Here's part of my crash report (if full version is needed please tell me immediately):
Crashed Thread: 11
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSPathStore2 substringWithRange:]: Range or index out of bounds'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff909a7f56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff98747d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff909a7d8a +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff909a7d14 +[NSException raise:format:] + 116
4 Foundation 0x00007fff8edd7bbc -[NSString substringWithRange:] + 109
5 RedRock 0x000000010cd4293f +[RKFileNamingPolicy fileSafeName:] + 136
6 RedRock 0x000000010ceed958 -[RKVersion(Imaging) proxyWritePath:] + 141
7 RedRock 0x000000010ceededf -[RKVersion(Imaging) absoluteProxyWritePath:] + 28
8 RedRock 0x000000010cee1b97 -[JPEGFileCacheStore filePathForVersion:key:withWrite:] + 51
9 RedRock 0x000000010cfb5d64 -[IPMiniJPEGFileCacheStore newCachePageLookupForRequest:] + 428
10 ProXTCore 0x000000010e51d14e -[XTCachePersistentPolicy newCachePageOnLookupForRequest:] + 136
11 ProXTCore 0x000000010e5144e1 -[XTCacheEvictionPolicy newCachePageLookupForRequest:] + 23
12 ProXTCore 0x000000010e51a32a -[XTCacheStore newObjectLookupInEvictionPolicyForRequest:] + 44
13 ProXTCore 0x000000010e51a524 -[XTCacheStore newObjectLookupRequest:rootStore:] + 39
14 ProXTCore 0x000000010e51b28e -[XTCacheStore newObjectForRequest:] + 65
15 Geode 0x000000010e2bbfc0 -[DGTier2Factory readRequest:intoPageRef:] + 482
16 Geode 0x000000010e2bc604 -[DGTier2Factory cache:cacheStore:onFulfillRequest:intoPageRef:] + 589
17 ProXTCore 0x000000010e514f47 -[XTCacheFactory backgroundFulfillment:] + 532
18 CoreFoundation 0x00007fff9099770d -[NSObject performSelector:withObject:] + 61
19 ProXTCore 0x000000010e4f5736 -[XTDistributor distributeMessage:] + 444
20 ProXTCore 0x000000010e4f50fa -[XTThread handleMessage:] + 342
21 ProXTCore 0x000000010e4f3eb3 -[XTThread run:] + 345
22 Foundation 0x00007fff8ee2972a -[NSThread main] + 68
23 Foundation 0x00007fff8ee296a2 __NSThread__main__ + 1575
24 libsystem_c.dylib 0x00007fff99f458bf _pthread_start + 335
25 libsystem_c.dylib 0x00007fff99f48b75 thread_start + 13
)
[snip]
Thread 11 Crashed:
0 libsystem_kernel.dylib 0x00007fff98b38ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff99f477d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff99f38a7a abort + 143
3 libc++abi.dylib 0x00007fff9026e7bc abort_message + 214
4 libc++abi.dylib 0x00007fff9026bfcf default_terminate() + 28
5 libobjc.A.dylib 0x00007fff987481b9 _objc_terminate + 94
6 libc++abi.dylib 0x00007fff9026c001 safe_handler_caller(void (*)()) + 11
7 libc++abi.dylib 0x00007fff9026c05c std::terminate() + 16
8 libc++abi.dylib 0x00007fff9026d152 __cxa_throw + 114
9 libobjc.A.dylib 0x00007fff98747e7a objc_exception_throw + 327
10 com.apple.CoreFoundation 0x00007fff90a321b9 -[NSException raise] + 9
11 com.apple.proxtcore 0x000000010e4f53b3 -[XTThread handleMessage:] + 1039
12 com.apple.proxtcore 0x000000010e4f3eb3 -[XTThread run:] + 345
13 com.apple.Foundation 0x00007fff8ee2972a -[NSThread main] + 68
14 com.apple.Foundation 0x00007fff8ee296a2 __NSThread__main__ + 1575
15 libsystem_c.dylib 0x00007fff99f458bf _pthread_start + 335
16 libsystem_c.dylib 0x00007fff99f48b75 thread_start + 13
iMac (27-inch Mid 2010), Mac OS X (10.7.5), Aperture 3.4.4