Why does Photos quit unexpectedly?

Can you explain how to prevent Photos from quitting unexpectedly?


Using Photos Version 2.0 (3161.4.140) with Sierra 10.12.6 (16G29), while working on a "create a book" Photos suddenly quits without warning. This happens after a few minutes of use. I have done a repair of the Photos by starting with option/command click upon opening. I have ensured there is enough memory on my computer. I had some photos from the web that were free to use but deleted them from book because I thought maybe coding was automatically preventing use of those photos, but the program still quits unexpectedly.


First few lines of error code below.


Process: Photos [1905]

Path: /Applications/Photos.app/Contents/MacOS/Photos

Identifier: com.apple.Photos

Version: 2.0 (3161.4.140)

Build Info: PhotoApp-3161004140000000~1

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Photos [1905]

User ID: 501



Date/Time: 2017-08-09 09:42:26.266 -0500

OS Version: Mac OS X 10.12.6 (16G29)

Report Version: 12

Anonymous UUID: 49D433FE-148F-734A-2800-6FEA89741DEF



Sleep/Wake UUID: 07A3DFBC-ADD7-4597-8F93-1099E9D253EE



Time Awake Since Boot: 66000 seconds



System Integrity Protection: enabled



Crashed Thread: 0 Dispatch queue: com.apple.main-thread



Exception Type: EXC_BAD_INSTRUCTION (SIGILL)

Exception Codes: 0x0000000000000001, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY



Termination Signal: Illegal instruction: 4

Termination Reason: Namespace SIGNAL, Code 0x4

Terminating Process: exc handler [0]



Application Specific Information:

Crashing on exception: -[NSISUnrestrictedVariable mutableCopyWithZone:]: unrecognized selector sent to instance 0x608002029540

Mac Mini, Mac OS X (10.4), null

Posted on Aug 9, 2017 7:39 AM

Reply
5 replies

Aug 10, 2017 2:30 PM in response to léonie

I am having the same problem. I am also running Sierra 10.12.6 and Photo 2.0. Photo will quit when I type or when I try to click on a page in the album that I am creating. Very frustrating..... I have tried restarting the computer and that has not helped.


I've included some of the crash report.






Process:

Photos [1001]
Path: /Applications/Photos.app/Contents/MacOS/Photos
Identifier: com.apple.Photos
Version: 2.0 (3161.4.140)
Build Info: PhotoApp-3161004140000000~1
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Photos [1001]
User ID: 501


Date/Time: 2017-08-10 16:12:42.716 -0500
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: 59DAC3BB-E577-58D5-2E8B-3CD0C53FFF67


Sleep/Wake UUID: CC766A81-AD54-4444-BE62-A21760F1E3DE


Time Awake Since Boot: 10000 seconds

Time Since Wake: 4200 seconds


System Integrity Protection: enabled


Crashed Thread: 5 Dispatch queue: NSOperationQueue 0x600000c3ca40 :: NSOperation 0x61000030fae0 (QOS: USER_INTERACTIVE)


Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00004f307f39bec0
Exception Note: EXC_CORPSE_NOTIFY


Termination Signal:Segmentation fault: 11
Termination Reason:Namespace SIGNAL, Code 0xb

Terminating Process: exc handler [0]


VM Regions Near 0x4f307f39bec0:

CoreAnimation 00000001e1b8c000-00000001e2bec000 [ 16.4M] rw-/rwx SM=PRV

-->

MALLOC_NANO 0000600000000000-0000600002400000 [ 36.0M] rw-/rwx SM=PRV


Application Specific Information:

objc_msgSend() selector name: objectForKey:

Performing @selector(leadingSliderAction:) from sender NSSlider 0x608000569f00


Thread 0:: Dispatch queue: com.apple.main-thread

0 libsystem_platform.dylib 0x00007fffa4c93cad OSSpinLockLock + 11
1 com.apple.Foundation 0x00007fff90d42ca1 blockForLocation + 35
2 com.apple.Foundation 0x00007fff90d42e6a -[NSMutableRLEArray replaceObjectsInRange:withObject:length:] + 255
3 com.apple.UIFoundation 0x00007fffa1f69ba6 -[NSLayoutManager removeTemporaryAttribute:forCharacterRange:] + 347
4 com.apple.AppKit 0x00007fff8d1574d6 -[NSTextView _markAllForTextChecking] + 223
5 com.apple.AppKit 0x00007fff8d157321 -[NSTextView(NSSharing) setContinuousSpellCheckingEnabled:] + 430
6 com.apple.PhotoPrintProduct 0x000000010e4728ad -[KHTextView setContinuousSpellCheckingEnabled:] + 70
7 com.apple.PhotoPrintProduct 0x000000010e473170 __27-[KHTextView didChangeText]_block_invoke + 778
8 com.apple.PhotoPrintProduct 0x000000010e537734 -[KHLayout performBatchUpdates:] + 47
9 com.apple.PhotoPrintProduct 0x000000010e472e3a -[KHTextView didChangeText] + 171
10 com.apple.PhotoPrintProduct 0x000000010e471c7b -[KHTextView setAttributeValue:forKey:range:] + 161
11 com.apple.PhotoPrintProduct 0x000000010e472164 -[KHTextView setLeading:] + 251
12 com.apple.PhotoPrintProduct 0x000000010e662989 -[KHTextSpacingController setLeading:] + 115
13 libsystem_trace.dylib 0x00007fffa4cb73a7 _os_activity_initiate_impl + 53
14 com.apple.AppKit 0x00007fff8d57c721 -[NSApplication(NSResponder) sendAction:to:from:] + 456
15 com.apple.AppKit 0x00007fff8d060cc4 -[NSControl sendAction:to:] + 86
16 com.apple.AppKit 0x00007fff8d060bec __26-[NSCell _sendActionFrom:]_block_invoke + 136
17 libsystem_trace.dylib 0x00007fffa4cb73a7 _os_activity_initiate_impl + 53
18 com.apple.AppKit 0x00007fff8d060b44 -[NSCell _sendActionFrom:] + 128
19 com.apple.AppKit 0x00007fff8d2a47ca __48-[NSCell trackMouse:inRect:ofView:untilMouseUp:]_block_invoke.1048 + 35
20 libsystem_trace.dylib 0x00007fffa4cb73a7 _os_activity_initiate_impl + 53
21 com.apple.AppKit 0x00007fff8d2a43bc __48-[NSCell trackMouse:inRect:ofView:untilMouseUp:]_block_invoke.1042 + 235
22 com.apple.AppKit 0x00007fff8d8bf1f5 __46-[NSDragEventTracker trackEvent:usingHandler:]_block_invoke.51 + 699
23 com.apple.AppKit 0x00007fff8d6f3a36 -[NSWindow(NSEventRouting) trackEventsMatchingMask:timeout:mode:handler:] + 275
24 com.apple.AppKit 0x00007fff8d05fcd8 -[NSDragEventTracker trackEvent:usingHandler:] + 1701
25 com.apple.AppKit 0x00007fff8d05f225 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1968
26 com.apple.AppKit 0x00007fff8d157b30 -[NSSliderCell trackMouse:inRect:ofView:untilMouseUp:] + 181
27 com.apple.AppKit 0x00007fff8d05dddb -[NSControl mouseDown:] + 832
28 com.apple.AppKit 0x00007fff8d6f824f -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 6341
29 com.apple.AppKit 0x00007fff8d6f4a6c -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1942
30 com.apple.AppKit 0x00007fff8d6f3f0a -[NSWindow(NSEventRouting) sendEvent:] + 541
31 com.apple.AppKit 0x00007fff8d578681 -[NSApplication(NSEvent) sendEvent:] + 1145
32 com.apple.AppKit 0x00007fff8cdf3427 -[NSApplication run] + 1002
33 com.apple.AppKit 0x00007fff8cdbde0e NSApplicationMain + 1237
34 libdyld.dylib 0x00007fffa4a85235 start + 1


Thread 1:: com.apple.NSEventThread

0 libsystem_kernel.dylib 0x00007fffa4bac34a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fffa4bab797 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8f306434 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8f3058c1 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fff8f305114 CFRunLoopRunSpecific + 420
5 com.apple.AppKit 0x00007fff8cf4bf02 _NSEventThread + 205
6 libsystem_pthread.dylib 0x00007fffa4c9e93b _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fffa4c9e887 _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fffa4c9e08d thread_start + 13


Thread 2:

0 libsystem_kernel.dylib 0x00007fffa4bac34a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fffa4bab797 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8f306434 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8f3058c1 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fff8f305114 CFRunLoopRunSpecific + 420
5 com.apple.Foundation 0x00007fff90d18252 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
6 com.apple.Foundation 0x00007fff90d1812a -[NSRunLoop(NSRunLoop) run] + 76

7 com.apple.PhotoPrintProductStore 0x000000010ec029ac -[XPCONetworkManager _reachabilityUpdateThreadEntryPoint:] + 85

8 com.apple.Foundation 0x00007fff90d288ad __NSThread__start__ + 1243
9 libsystem_pthread.dylib 0x00007fffa4c9e93b _pthread_body + 180
10 libsystem_pthread.dylib 0x00007fffa4c9e887 _pthread_start + 286
11 libsystem_pthread.dylib 0x00007fffa4c9e08d thread_start + 13


Thread 3:

0 libsystem_kernel.dylib 0x00007fffa4bac34a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fffa4bab797 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8f306434 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8f3058c1 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fff8f305114 CFRunLoopRunSpecific + 420
5 com.apple.Foundation 0x00007fff90d18252 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
6 com.apple.Foundation 0x00007fff90d1812a -[NSRunLoop(NSRunLoop) run] + 76

7 com.apple.PhotoPrintProductStore 0x000000010ec03291 +[XPCODataFetcher networkRequestThreadEntryPoint:] + 62

8 com.apple.Foundation 0x00007fff90d288ad __NSThread__start__ + 1243
9 libsystem_pthread.dylib 0x00007fffa4c9e93b _pthread_body + 180
10 libsystem_pthread.dylib 0x00007fffa4c9e887 _pthread_start + 286
11 libsystem_pthread.dylib 0x00007fffa4c9e08d thread_start + 13


Thread 4:: com.apple.NSURLConnectionLoader

0 libsystem_kernel.dylib 0x00007fffa4bac34a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fffa4bab797 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8f306434 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8f3058c1 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fff8f305114 CFRunLoopRunSpecific + 420
5 com.apple.CFNetwork 0x00007fff8e442734 +[NSURLConnection(Loader) _resourceLoadLoop:] + 313
6 com.apple.Foundation 0x00007fff90d288ad __NSThread__start__ + 1243
7 libsystem_pthread.dylib 0x00007fffa4c9e93b _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fffa4c9e887 _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fffa4c9e08d thread_start + 13


Thread 5 Crashed:: Dispatch queue: NSOperationQueue 0x600000c3ca40 :: NSOperation 0x61000030fae0 (QOS: USER_INTERACTIVE)

0 libobjc.A.dylib 0x00007fffa419105d objc_msgSend + 29
1 com.apple.UIFoundation 0x00007fffa205dc30 -[NSLayoutManager(NSPrivate) _drawGlyphsForGlyphRange:atPoint:] + 6049
2 com.apple.PhotoPrintProduct 0x000000010e60bbbf -[KHTextFrameRenderer fillContext:environment:scale:] + 5228
3 com.apple.PhotoPrintProduct 0x000000010e5d5848 -[KHFrame(Rendering) fillContext:environment:scale:] + 1590
4 com.apple.PhotoPrintProduct 0x000000010e5e547d -[KHLayout(Rendering) fillContext:scale:rect:includeBackground:environment:] + 2680
5 com.apple.PhotoPrintProduct 0x000000010e4f42ce -[KHLayoutThumbnailer main] + 2223
6 com.apple.Foundation 0x00007fff90d38324 -[__NSOperationInternal _start:] + 672
7 com.apple.Foundation 0x00007fff90d341db __NSOQSchedule_f + 201
8 libdispatch.dylib 0x00007fffa4a4f8fc _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fffa4a659a0 _dispatch_queue_serial_drain + 896
10 libdispatch.dylib 0x00007fffa4a58306 _dispatch_queue_invoke + 1046
11 libdispatch.dylib 0x00007fffa4a516b5 _dispatch_root_queue_drain + 476
12 libdispatch.dylib 0x00007fffa4a5148c _dispatch_worker_thread3 + 99
13 libsystem_pthread.dylib 0x00007fffa4c9e5a2 _pthread_wqthread + 1299
14 libsystem_pthread.dylib 0x00007fffa4c9e07d start_wqthread + 13

Aug 13, 2017 12:41 PM in response to Jinja

Dear Apple,


I have the same issue with Photos after restoring my backup via Time Machine:

Process: Photos [1198]

Path: /Applications/Photos.app/Contents/MacOS/Photos

Identifier: com.apple.Photos

Version: 2.0 (3161.4.140)

Build Info: PhotoApp-3161004140000000~1

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Photos [1198]

User ID: 501



Date/Time: 2017-08-13 22:37:30.668 +0300

OS Version: Mac OS X 10.12.6 (16G29)

Report Version: 12

Anonymous UUID: FB454BB0-96A3-F3A8-1D6C-ABC10DBF12E4





Time Awake Since Boot: 730 seconds



System Integrity Protection: disabled



Crashed Thread: 0 Dispatch queue: com.apple.main-thread



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY



Application Specific Information:

/System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Photo LibraryPrivate

Assertion failure in void testCompatibleVersion(), /Library/Caches/com.apple.xbs/Sources/PhotoApp_SubFrameworks/PhotoApp-3150.4.12 0/lib/photolibrary/PhotoLibraryPrivate/PhotoLibraryPrivate.m:23

The application built with PhotoLibraryPrivate version 3161.04.140 but is running with version 3150.04.120.

abort() called

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why does Photos quit unexpectedly?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.