Q: Managed Masters unlinked after Photos Crash following extensive user input
I've had this issue recur since March 2016. Following a large (several thousand images) photo import, I have found that if I rapidly sort through and delete hundreds of blurry photos (Command-Delete) either one at a time or a few at a time, I will often crash Photos. When relaunched, there are often hundreds of photos left with a size of Zero (i.e. just the thumbnail but not linked to the master). I believe I have also caused this error by working with Faces for long periods of time (Naming faces, selecting "Not a Face" etc). Rebuilding the Library does not relink the masters or identify them as recovered etc. The masters are still in the Photos Package file if I browse it. I've successfully recovered from this by reverting to a recent back up, and the first time I had to copy files out of the Library Package because I was on the road with no back up and I re-imported these. I'm wondering if my Photos Library is corrupted or if am simply overloading Photos with too much user input at once. I am tempted to create a brand new Library and export/import groups of photos from the old Library. I believe I can either migrate unedited originals this way or the final edited version but not both. It's also a lot of work if I'm just dealing with a limitation of Photos. The first part of my most recent crash report is pasted below.
| Process: | Photos [3492] |
| Path: | /Applications/Photos.app/Contents/MacOS/Photos |
| Identifier: | com.apple.Photos |
| Version: | 1.5 (370.42.0) |
| Build Info: | PhotoApp-370042000000000~1 |
| Code Type: | X86-64 (Native) |
| Parent Process: | ??? [1] |
| Responsible: | Photos [3492] |
| User ID: | 502 |
| Date/Time: | 2016-08-21 12:53:21.150 -0600 |
| OS Version: | Mac OS X 10.11.6 (15G31) |
| Report Version: | 11 |
| Anonymous UUID: | 58059353-423D-6569-871F-816354457ACC |
| Sleep/Wake UUID: | 3546F7E6-87F3-41B5-91D9-596AB7DFF625 |
Time Awake Since Boot: 160000 seconds
| Time Since Wake: | 9600 seconds |
System Integrity Protection: enabled
| Crashed Thread: | 13 Dispatch queue: Editor summary update queue |
| Exception Type: | EXC_BAD_ACCESS (SIGSEGV) |
| Exception Codes: | KERN_INVALID_ADDRESS at 0x000007f923da1a78 |
| Exception Note: | EXC_CORPSE_NOTIFY |
VM Regions Near 0x7f923da1a78:
| Memory Tag 249 | 0000000228c89000-000000022b29d000 [ 38.1M] rw-/rwx SM=PRV |
-->
| STACK GUARD | 0000700000000000-0000700000001000 [ | 4K] ---/rwx SM=NUL stack guard for thread 11 |
Application Specific Information:
objc_msgSend() selector name: collectionObjectCount
Photo Foundation logging:
2016-08-19 10:14:04.830: Received changes notification alert: <LiModelChangeGroup: 0x7f924c7b2ac0> alert flags : Replay Complete (__59-[RKFaceChangesHandler startListeningForChangesFromMarker:]_block_invoke_2:173)
2016-08-21 11:27:41.726: Sharing selection exceeded allowed limit, clipping (-[IPXShareServices populateSharekitShareMenu:]:221)
2016-08-21 11:27:47.776: Sharing selection exceeded allowed limit, clipping (-[IPXShareServices populateSharekitShareMenu:]:221)
Global Trace Buffer (reverse chronological seconds):
| 7.539220 | AppleJPEG | 0x00007fff93f200fc [0x7f9251877000] Options: 2x-1 [FFFFFFFF,FFFFFFFF] 00025060 | |
| 7.539220 | AppleJPEG | 0x00007fff93f1ffae [0x7f9251877000] Decoding: C0 0x15600E40 0x02AC304A 0x11111100 0x00000000 11549422 | |
| 7.550520 | AppleJPEG | 0x00007fff93f1f05e [0x7f9251877000] Created session | |
| 7.610353 | AppleJPEG | 0x00007fff93f1fa11 [0x7f9245203400] Releasing session | |
| 7.612532 | AppleJPEG | 0x00007fff93f2211c [0x7f9245203400] Decoding completed without errors | |
| 7.619140 | AppleJPEG | 0x00007fff93f200fc [0x7f9245203400] Options: 1086x724 [FFFFFFFF,FFFFFFFF] 00025060 |
Thread 0:: Dispatch queue: com.apple.main-thread
| 0 libsystem_kernel.dylib | 0x00007fff84263f72 mach_msg_trap + 10 | |
| 1 libsystem_kernel.dylib | 0x00007fff842633b3 mach_msg + 55 | |
| 2 com.apple.CoreFoundation | 0x00007fff8c6ce1c4 __CFRunLoopServiceMachPort + 212 | |
| 3 com.apple.CoreFoundation | 0x00007fff8c6cd68c __CFRunLoopRun + 1356 | |
| 4 com.apple.CoreFoundation | 0x00007fff8c6cced8 CFRunLoopRunSpecific + 296 | |
| 5 com.apple.HIToolbox | 0x00007fff84c9e935 RunCurrentEventLoopInMode + 235 | |
| 6 com.apple.HIToolbox | 0x00007fff84c9e76f ReceiveNextEventCommon + 432 | |
| 7 com.apple.HIToolbox | 0x00007fff84c9e5af _BlockUntilNextEventMatchingListInModeWithFilter + 71 | |
| 8 com.apple.AppKit | 0x00007fff901a9df6 _DPSNextEvent + 1067 | |
| 9 com.apple.AppKit | 0x00007fff901a9226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 | |
| 10 com.apple.AppKit | 0x00007fff9019dd80 -[NSApplication run] + 682 | |
| 11 com.apple.AppKit | 0x00007fff90167368 NSApplicationMain + 1176 | |
| 12 libdyld.dylib | 0x00007fff98d895ad start + 1 |
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
| 0 libsystem_kernel.dylib | 0x00007fff8426aefa kevent_qos + 10 | |
| 1 libdispatch.dylib | 0x00007fff896bc165 _dispatch_mgr_invoke + 216 | |
| 2 libdispatch.dylib | 0x00007fff896bbdcd _dispatch_mgr_thread + 52 |
Thread 2:: com.apple.NSEventThread
| 0 libsystem_kernel.dylib | 0x00007fff84263f72 mach_msg_trap + 10 | |
| 1 libsystem_kernel.dylib | 0x00007fff842633b3 mach_msg + 55 | |
| 2 com.apple.CoreFoundation | 0x00007fff8c6ce1c4 __CFRunLoopServiceMachPort + 212 | |
| 3 com.apple.CoreFoundation | 0x00007fff8c6cd68c __CFRunLoopRun + 1356 | |
| 4 com.apple.CoreFoundation | 0x00007fff8c6cced8 CFRunLoopRunSpecific + 296 | |
| 5 com.apple.AppKit | 0x00007fff902ffd95 _NSEventThread + 149 | |
| 6 libsystem_pthread.dylib | 0x00007fff980b099d _pthread_body + 131 | |
| 7 libsystem_pthread.dylib | 0x00007fff980b091a _pthread_start + 168 | |
| 8 libsystem_pthread.dylib | 0x00007fff980ae351 thread_start + 13 |
Thread 3:: NetworkLoad
| 0 libsystem_kernel.dylib | 0x00007fff84263f72 mach_msg_trap + 10 | |
| 1 libsystem_kernel.dylib | 0x00007fff842633b3 mach_msg + 55 | |
| 2 com.apple.CoreFoundation | 0x00007fff8c6ce1c4 __CFRunLoopServiceMachPort + 212 | |
| 3 com.apple.CoreFoundation | 0x00007fff8c6cd68c __CFRunLoopRun + 1356 | |
| 4 com.apple.CoreFoundation | 0x00007fff8c6cced8 CFRunLoopRunSpecific + 296 | |
| 5 com.apple.GeoServices | 0x00007fff9436ad86 _runNetworkThread + 445 | |
| 6 libsystem_pthread.dylib | 0x00007fff980b099d _pthread_body + 131 | |
| 7 libsystem_pthread.dylib | 0x00007fff980b091a _pthread_start + 168 | |
| 8 libsystem_pthread.dylib | 0x00007fff980ae351 thread_start + 13 |
Thread 4:: CVDisplayLink
| 0 libsystem_kernel.dylib | 0x00007fff84269db6 __psynch_cvwait + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b175e _pthread_cond_wait + 821 | |
| 2 com.apple.CoreVideo | 0x00007fff949de0d8 CVDisplayLink::waitUntil(unsigned long long) + 232 | |
| 3 com.apple.CoreVideo | 0x00007fff949dded1 CVDisplayLink::runIOThread() + 511 | |
| 4 com.apple.CoreVideo | 0x00007fff949dd9a9 startIOThread(void*) + 147 | |
| 5 libsystem_pthread.dylib | 0x00007fff980b099d _pthread_body + 131 | |
| 6 libsystem_pthread.dylib | 0x00007fff980b091a _pthread_start + 168 | |
| 7 libsystem_pthread.dylib | 0x00007fff980ae351 thread_start + 13 |
Thread 5:: CVDisplayLink
| 0 libsystem_kernel.dylib | 0x00007fff84269db6 __psynch_cvwait + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b175e _pthread_cond_wait + 821 | |
| 2 com.apple.CoreVideo | 0x00007fff949de0d8 CVDisplayLink::waitUntil(unsigned long long) + 232 | |
| 3 com.apple.CoreVideo | 0x00007fff949dded1 CVDisplayLink::runIOThread() + 511 | |
| 4 com.apple.CoreVideo | 0x00007fff949dd9a9 startIOThread(void*) + 147 | |
| 5 libsystem_pthread.dylib | 0x00007fff980b099d _pthread_body + 131 | |
| 6 libsystem_pthread.dylib | 0x00007fff980b091a _pthread_start + 168 | |
| 7 libsystem_pthread.dylib | 0x00007fff980ae351 thread_start + 13 |
Thread 6:: CVDisplayLink
| 0 libsystem_kernel.dylib | 0x00007fff84269db6 __psynch_cvwait + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b1728 _pthread_cond_wait + 767 | |
| 2 com.apple.CoreVideo | 0x00007fff949ddf76 CVDisplayLink::runIOThread() + 676 | |
| 3 com.apple.CoreVideo | 0x00007fff949dd9a9 startIOThread(void*) + 147 | |
| 4 libsystem_pthread.dylib | 0x00007fff980b099d _pthread_body + 131 | |
| 5 libsystem_pthread.dylib | 0x00007fff980b091a _pthread_start + 168 | |
| 6 libsystem_pthread.dylib | 0x00007fff980ae351 thread_start + 13 |
Thread 7:: CVDisplayLink
| 0 libsystem_kernel.dylib | 0x00007fff84269db6 __psynch_cvwait + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b1728 _pthread_cond_wait + 767 | |
| 2 com.apple.CoreVideo | 0x00007fff949ddf76 CVDisplayLink::runIOThread() + 676 | |
| 3 com.apple.CoreVideo | 0x00007fff949dd9a9 startIOThread(void*) + 147 | |
| 4 libsystem_pthread.dylib | 0x00007fff980b099d _pthread_body + 131 | |
| 5 libsystem_pthread.dylib | 0x00007fff980b091a _pthread_start + 168 | |
| 6 libsystem_pthread.dylib | 0x00007fff980ae351 thread_start + 13 |
Thread 8:: CVDisplayLink
| 0 libsystem_kernel.dylib | 0x00007fff84269db6 __psynch_cvwait + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b1728 _pthread_cond_wait + 767 | |
| 2 com.apple.CoreVideo | 0x00007fff949ddf76 CVDisplayLink::runIOThread() + 676 | |
| 3 com.apple.CoreVideo | 0x00007fff949dd9a9 startIOThread(void*) + 147 | |
| 4 libsystem_pthread.dylib | 0x00007fff980b099d _pthread_body + 131 | |
| 5 libsystem_pthread.dylib | 0x00007fff980b091a _pthread_start + 168 | |
| 6 libsystem_pthread.dylib | 0x00007fff980ae351 thread_start + 13 |
Thread 9:
| 0 libsystem_kernel.dylib | 0x00007fff8426a5e2 __workq_kernreturn + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b0578 _pthread_wqthread + 1283 | |
| 2 libsystem_pthread.dylib | 0x00007fff980ae341 start_wqthread + 13 |
Thread 10:
| 0 libsystem_kernel.dylib | 0x00007fff8426a5e2 __workq_kernreturn + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b0578 _pthread_wqthread + 1283 | |
| 2 libsystem_pthread.dylib | 0x00007fff980ae341 start_wqthread + 13 |
Thread 11:
| 0 libsystem_kernel.dylib | 0x00007fff8426a5e2 __workq_kernreturn + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b0578 _pthread_wqthread + 1283 | |
| 2 libsystem_pthread.dylib | 0x00007fff980ae341 start_wqthread + 13 |
Thread 12:: Dispatch queue: IPXMetadataEditorFacesViewController.updateCoalescerQueue
| 0 libsystem_kernel.dylib | 0x00007fff84263fae semaphore_wait_trap + 10 | |
| 1 libdispatch.dylib | 0x00007fff896c1cb2 _dispatch_semaphore_wait_slow + 224 |
2 com.apple.PhotoLibraryPrivate 0x0000000110364e4c -[LiFilter(Client) waitForAsync_resolveModelsLoadingProperties:] + 205
| 3 com.apple.RedRock | 0x00000001115ed9d3 -[RKFacesPersistenceDelegate getFacesForImageIds:error:] + 304 | |
| 4 com.apple.vision.Faces | 0x0000000112f83d7d -[FCSDAO getFacesForImageIds:filterOnlyVisibleFaces:error:] + 139 | |
| 5 com.apple.RedRock | 0x00000001115fee08 -[FaceRecognition(DataAccess) getVisibleFacesForVersions:error:] + 166 | |
| 6 com.apple.RedRock | 0x00000001115fead2 -[FaceRecognition(DataAccess) getFaceTilesForVersions:visibleOnly:error:] + 140 | |
| 7 com.apple.Photos | 0x000000010f59e98d 0x10f394000 + 2140557 | |
| 8 com.apple.Photos | 0x000000010f5e6a83 0x10f394000 + 2435715 | |
| 9 com.apple.PhotoFoundation | 0x0000000110bbafc1 __70-[PFCoalescer initWithLabel:target:buffer:queue:bufferDrainer:action:]_block_invoke139 + 106 | |
| 10 com.apple.PhotoFoundation | 0x0000000110bc1293 -[PFDispatchQueue _invoke:] + 93 | |
| 11 libdispatch.dylib | 0x00007fff896b640b _dispatch_client_callout + 8 | |
| 12 libdispatch.dylib | 0x00007fff896c77b7 _dispatch_sync_recurse_invoke + 68 | |
| 13 libdispatch.dylib | 0x00007fff896b640b _dispatch_client_callout + 8 | |
| 14 libdispatch.dylib | 0x00007fff896b79f2 _dispatch_barrier_sync_f_invoke + 74 | |
| 15 libdispatch.dylib | 0x00007fff896c7655 _dispatch_barrier_sync_f_recurse + 89 | |
| 16 com.apple.PhotoFoundation | 0x0000000110bc6d68 -[_PFFastDispatchQueue dispatchSync:] + 139 | |
| 17 com.apple.PhotoFoundation | 0x0000000110bbac5a __70-[PFCoalescer initWithLabel:target:buffer:queue:bufferDrainer:action:]_block_invoke + 1012 | |
| 18 libdispatch.dylib | 0x00007fff896b640b _dispatch_client_callout + 8 | |
| 19 libdispatch.dylib | 0x00007fff896c6675 _dispatch_source_latch_and_call + 2235 | |
| 20 libdispatch.dylib | 0x00007fff896baa83 _dispatch_source_invoke + 983 | |
| 21 libdispatch.dylib | 0x00007fff896bb200 _dispatch_queue_drain + 1207 | |
| 22 libdispatch.dylib | 0x00007fff896c1707 _dispatch_queue_invoke + 549 | |
| 23 libdispatch.dylib | 0x00007fff896b9d53 _dispatch_root_queue_drain + 538 | |
| 24 libdispatch.dylib | 0x00007fff896b9b00 _dispatch_worker_thread3 + 91 | |
| 25 libsystem_pthread.dylib | 0x00007fff980b04de _pthread_wqthread + 1129 | |
| 26 libsystem_pthread.dylib | 0x00007fff980ae341 start_wqthread + 13 |
Thread 13 Crashed:: Dispatch queue: Editor summary update queue
| 0 libobjc.A.dylib | 0x00007fff884ea4dd objc_msgSend + 29 | |
| 1 com.apple.Photos | 0x000000010f48f7f4 0x10f394000 + 1030132 | |
| 2 com.apple.Photos | 0x000000010f48f716 0x10f394000 + 1029910 | |
| 3 com.apple.Photos | 0x000000010f48c4dc 0x10f394000 + 1017052 | |
| 4 com.apple.Photos | 0x000000010f48c2b6 0x10f394000 + 1016502 | |
| 5 com.apple.Photos | 0x000000010f48c24d 0x10f394000 + 1016397 | |
| 6 com.apple.PhotoFoundation | 0x0000000110bbb34a __54+[PFCoalescer coalescerWithLabel:target:queue:action:]_block_invoke + 41 | |
| 7 com.apple.PhotoFoundation | 0x0000000110bbb0c3 __70-[PFCoalescer initWithLabel:target:buffer:queue:bufferDrainer:action:]_block_invoke147 + 106 | |
| 8 libdispatch.dylib | 0x00007fff896b640b _dispatch_client_callout + 8 | |
| 9 libdispatch.dylib | 0x00007fff896b79f2 _dispatch_barrier_sync_f_invoke + 74 | |
| 10 com.apple.PhotoFoundation | 0x0000000110bbad1c __70-[PFCoalescer initWithLabel:target:buffer:queue:bufferDrainer:action:]_block_invoke + 1206 | |
| 11 libdispatch.dylib | 0x00007fff896b640b _dispatch_client_callout + 8 | |
| 12 libdispatch.dylib | 0x00007fff896c6675 _dispatch_source_latch_and_call + 2235 | |
| 13 libdispatch.dylib | 0x00007fff896baa83 _dispatch_source_invoke + 983 | |
| 14 libdispatch.dylib | 0x00007fff896bb200 _dispatch_queue_drain + 1207 | |
| 15 libdispatch.dylib | 0x00007fff896c1707 _dispatch_queue_invoke + 549 | |
| 16 libdispatch.dylib | 0x00007fff896b9d53 _dispatch_root_queue_drain + 538 | |
| 17 libdispatch.dylib | 0x00007fff896b9b00 _dispatch_worker_thread3 + 91 | |
| 18 libsystem_pthread.dylib | 0x00007fff980b04de _pthread_wqthread + 1129 | |
| 19 libsystem_pthread.dylib | 0x00007fff980ae341 start_wqthread + 13 |
Thread 14:
| 0 libsystem_kernel.dylib | 0x00007fff8426a5e2 __workq_kernreturn + 10 | |
| 1 libsystem_pthread.dylib | 0x00007fff980b0578 _pthread_wqthread + 1283 | |
| 2 libsystem_pthread.dylib | 0x00007fff980ae341 start_wqthread + 13 |
MacBook Pro (Retina, 13-inch, Late 2013), OS X El Capitan (10.11.2)
Posted on Aug 21, 2016 2:35 PM