El Capitan - Photos library "inconsistency" and cannot be repaired...

OCDMacGeek

macrumors 6502a
Original poster
Jul 19, 2007
558
72
I installed El Capital Beta 8 (15A279b). After a few days my Photos library starting crashing upon opening, so I did the repair library command by holding Option-Cmd while opening the app. But upon getting 75% done, the repair crashes. This happens every time, and I cannot get farther than that to complete the repair. So my library just cannot be opened. I am looking for any possible ideas on a fix. Thanks!
 

OCDMacGeek

macrumors 6502a
Original poster
Jul 19, 2007
558
72
A crash report is generated and says (in part):

Process: photolibraryd [1208]
Path: /System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Support/photolibraryd
Identifier: photolibraryd
Version: 1.1 (330.21.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: photolibraryd [1208]
User ID: 501

Date/Time: 2015-09-03 09:16:12.969 -0600
OS Version: Mac OS X 10.11 (15A279b)
Report Version: 11
Anonymous UUID: 5FF72B5A-701B-5D66-AB94-FA0C08F390AB


Time Awake Since Boot: 1900 seconds

System Integrity Protection: enabled

Crashed Thread: 5 Dispatch queue: com.apple.lithium.journalRead

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
Assertion failure in -[LiSqliteDb submit:cancelable:cancelHandler:], /Library/Caches/com.apple.xbs/Sources/PhotoApp/PhotoApp-330.21/lib/lithium/lithiumd/storage/sqlite/LiSqliteDb.m:294
Attempted executeAsync on closed(yes) or no sqlite3(0x7f8ca9c61780)
abort() called

Application Specific Signatures:
PhotoApp-330.21

Thread 0:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff95c940a2 kevent_qos + 10
1 libdispatch.dylib 0x00007fff8c5d31ad _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff8c5d2e15 _dispatch_mgr_thread + 52

Thread 1:: Dispatch queue: com.apple.root.default-qos.overcommit
0 libsystem_kernel.dylib 0x00007fff95c93552 __sigsuspend_nocancel + 10
1 libdispatch.dylib 0x00007fff8c5e17ca _dispatch_sigsuspend + 21
2 libdispatch.dylib 0x00007fff8c5e17b5 _dispatch_sig_thread + 45

Thread 2:: Dispatch queue: com.apple.lithium.snapshot
0 libsystem_kernel.dylib 0x00007fff95c8dcd2 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff8c5d8c74 _dispatch_semaphore_wait_slow + 224
2 photolibraryd 0x000000010ee992bb 0x10eddf000 + 762555
3 photolibraryd 0x000000010ee98b36 0x10eddf000 + 760630
4 photolibraryd 0x000000010ee98ef8 0x10eddf000 + 761592
5 photolibraryd 0x000000010ee9a7ba 0x10eddf000 + 767930
6 libdispatch.dylib 0x00007fff8c5d88ff _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff8c5cd453 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff8c5d2083 _dispatch_queue_drain + 754
9 libdispatch.dylib 0x00007fff8c5d86c9 _dispatch_queue_invoke + 549
10 libdispatch.dylib 0x00007fff8c5d0d9b _dispatch_root_queue_drain + 538
11 libdispatch.dylib 0x00007fff8c5d0b48 _dispatch_worker_thread3 + 91
12 libsystem_pthread.dylib 0x00007fff988234f2 _pthread_wqthread + 1129
13 libsystem_pthread.dylib 0x00007fff98821375 start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff95c9378a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9882358c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff98821375 start_wqthread + 13

Thread 4:: Dispatch queue: com.apple.lithium.library_manager
0 libobjc.A.dylib 0x00007fff893c5d60 objc_retain + 16
1 com.apple.CoreFoundation 0x00007fff8dcfc2f6 __65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 102
2 com.apple.CoreFoundation 0x00007fff8dcfc1e9 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 185
3 photolibraryd 0x000000010eec51f4 0x10eddf000 + 942580
4 photolibraryd 0x000000010ee0d24d 0x10eddf000 + 189005
5 photolibraryd 0x000000010ee0d523 0x10eddf000 + 189731
6 photolibraryd 0x000000010ee0cdb2 0x10eddf000 + 187826
7 photolibraryd 0x000000010eeb1df1 0x10eddf000 + 863729
8 photolibraryd 0x000000010eebb88e 0x10eddf000 + 903310
9 photolibraryd 0x000000010eebbc42 0x10eddf000 + 904258
10 photolibraryd 0x000000010eebb6f8 0x10eddf000 + 902904
11 com.apple.CoreFoundation 0x00007fff8dd0618d __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 77
12 com.apple.CoreFoundation 0x00007fff8dd06059 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 201
13 photolibraryd 0x000000010eebb601 0x10eddf000 + 902657
14 libdispatch.dylib 0x00007fff8c5d88ff _dispatch_call_block_and_release + 12
15 libdispatch.dylib 0x00007fff8c5cd453 _dispatch_client_callout + 8
16 libdispatch.dylib 0x00007fff8c5e01f9 _dispatch_after_timer_callback + 77
17 libdispatch.dylib 0x00007fff8c5cd453 _dispatch_client_callout + 8
18 libdispatch.dylib 0x00007fff8c5dd675 _dispatch_source_latch_and_call + 2235
19 libdispatch.dylib 0x00007fff8c5d1acb _dispatch_source_invoke + 983
20 libdispatch.dylib 0x00007fff8c5d2248 _dispatch_queue_drain + 1207
21 libdispatch.dylib 0x00007fff8c5d86c9 _dispatch_queue_invoke + 549
22 libdispatch.dylib 0x00007fff8c5d0d9b _dispatch_root_queue_drain + 538
23 libdispatch.dylib 0x00007fff8c5d0b48 _dispatch_worker_thread3 + 91
24 libsystem_pthread.dylib 0x00007fff988234f2 _pthread_wqthread + 1129
25 libsystem_pthread.dylib 0x00007fff98821375 start_wqthread + 13

Thread 5 Crashed:: Dispatch queue: com.apple.lithium.journalRead
0 libsystem_kernel.dylib 0x00007fff95c930ae __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff98826500 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff96c1337b abort + 129
3 com.apple.PhotoFoundation 0x000000010f10e751 -[PFAssertionPolicyAbort notifyAssertion:] + 58
4 com.apple.PhotoFoundation 0x000000010f10e03a -[PFAssertionPolicyComposite notifyAssertion:] + 223
5 com.apple.PhotoFoundation 0x000000010f10e236 -[PFAssertionPolicyUnique notifyAssertion:] + 236
6 com.apple.PhotoFoundation 0x000000010f10d7c9 -[PFAssertionHandler handleFailureInFunction:file:lineNumber:description:arguments:] + 174
7 com.apple.PhotoFoundation 0x000000010f10d3b1 _PFAssertFailHandler + 282
8 photolibraryd 0x000000010ee0b426 0x10eddf000 + 181286
9 photolibraryd 0x000000010ee1f010 0x10eddf000 + 262160
10 photolibraryd 0x000000010eeb7fd7 0x10eddf000 + 888791
11 photolibraryd 0x000000010ee9f5a7 0x10eddf000 + 787879
12 libdispatch.dylib 0x00007fff8c5d88ff _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x00007fff8c5cd453 _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff8c5d2083 _dispatch_queue_drain + 754
15 libdispatch.dylib 0x00007fff8c5d86c9 _dispatch_queue_invoke + 549
16 libdispatch.dylib 0x00007fff8c5d0d9b _dispatch_root_queue_drain + 538
17 libdispatch.dylib 0x00007fff8c5d0b48 _dispatch_worker_thread3 + 91
18 libsystem_pthread.dylib 0x00007fff988234f2 _pthread_wqthread + 1129
19 libsystem_pthread.dylib 0x00007fff98821375 start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff95c9378a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9882358c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff98821375 start_wqthread + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff95c9378a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9882358c _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff98821375 start_wqthread + 13

Thread 5 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000070000029f538 rdx: 0x0000000000000000
rdi: 0x000000000000683f rsi: 0x0000000000000006 rbp: 0x000070000029f560 rsp: 0x000070000029f538
r8: 0x0000000000000007 r9: 0x0000000000000004 r10: 0x000000000c000000 r11: 0x0000000000000206
r12: 0x0000000000000006 r13: 0x00007f8c9c55a4e0 r14: 0x00007000002a0000 r15: 0x000000010f16ddf6
rip: 0x00007fff95c930ae rfl: 0x0000000000000206 cr2: 0x00007fff77156038
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
 

Shirasaki

macrumors G3
May 16, 2015
9,660
3,632
Your best bet is to "show package contents" of that photo library, copy everything inside, and create a new library, then copy everything back to photos app.
 

OCDMacGeek

macrumors 6502a
Original poster
Jul 19, 2007
558
72
Your best bet is to "show package contents" of that photo library, copy everything inside, and create a new library, then copy everything back to photos app.
I just tried that and unfortunately no luck. The repair got to a different spot and then just stuck there. Didn't crash the same way as before but also didn't complete. Hope I'm not out of luck. All my photos are in iCloud but the photo books I have made will be lost...
 

Shirasaki

macrumors G3
May 16, 2015
9,660
3,632
I just tried that and unfortunately no luck. The repair got to a different spot and then just stuck there. Didn't crash the same way as before but also didn't complete. Hope I'm not out of luck. All my photos are in iCloud but the photo books I have made will be lost...
You can give a chance for official El Capitan, released in two days from now if possible.
 

Oblivious.Robot

macrumors 6502a
Sep 15, 2014
681
1,791
This just happened to me after updating to Sierra 10.12.1 and now Photos would hardly work.
Totally devastated.
 

Similar threads

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.