Photos crashes

OS X 10.11.4 - Photos 1.5


I'm having problems with crashes and am not great at reading crash reports - anyone who can read them see what the issue is ?


It sometimes happens at launch (mutiple times if I select reopen) - usually after a while Photos will open and be fine for a while - and if I reboot it seems to be fine for a while


and I am also having panics during the night every two or three days (may or may not be related - wondering about a hardware issue)


Process: Photos [2409]

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 [2409]

User ID: 501



Date/Time: 2016-04-13 10:32:31.391 -0500

OS Version: Mac OS X 10.11.4 (15E65)

Report Version: 11

Anonymous UUID: F5637EB1-D2D7-8FC6-7A22-848E078C47F6





Time Awake Since Boot: 60000 seconds



System Integrity Protection: enabled



Crashed Thread: 3 Dispatch queue: OpenGL context pool



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY



Application Specific Information:

Assertion failure in +[PAOpenGLDevice _sharedContext], /Library/Caches/com.apple.xbs/Sources/PhotoApp/PhotoApp-370.42/lib/paimaging/Ph otoApps/PAOpenGLDevice.m:220

failed to create shared context: invalid pixel format

abort() called



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

0 libsystem_kernel.dylib 0x00007fff8cfcbf72 mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff8cfcb3b3 mach_msg + 55

2 libFontRegistry.dylib 0x00007fff8d969a35 XTSendCopyFontWithNameSandboxed + 225

3 libFontRegistry.dylib 0x00007fff8d976ece TGlobalFontRegistrySandboxedImp::CopyFontForName(__CFString const*, TFontQueryOptions const&) const + 210

4 libFontRegistry.dylib 0x00007fff8d978561 TGlobalFontRegistry::CopyFontForName(__CFString const*, TFontQueryOptions const&) const + 107

5 libFontRegistry.dylib 0x00007fff8d959db4 XTCopyFontWithName + 144

6 com.apple.CoreText 0x00007fff90230f99 TDescriptorSource::CopyFontDescriptorPerPostscriptName(__CFString const*, unsigned long, bool, bool) const + 331

7 com.apple.CoreText 0x00007fff9023519a TTenuousComponentFont::Substantiate() const + 166

8 com.apple.CoreText 0x00007fff902350e1 TTenuousComponentFont::CopyFontURL() const + 25

9 com.apple.CoreText 0x00007fff90235016 TBaseFont::CopyNativeFont() const + 32

10 com.apple.CoreText 0x00007fff90234fc8 TBaseFont::CopyGraphicsFont() const + 18

11 com.apple.CoreText 0x00007fff90234b33 TBaseFont::GetCommonTable(unsigned int) const + 1309

12 com.apple.CoreText 0x00007fff90234308 TASCIIEncoder::Encode() + 82

13 com.apple.CoreText 0x00007fff902339b7 TGlyphEncoder::EncodeChars(CFRange, TAttributes const&, TGlyphList<TDeletedGlyphIndex>&, TGlyphEncoder::Fallbacks) + 1045

14 com.apple.CoreText 0x00007fff902303d7 TTypesetterAttrString::Initialize(__CFAttributedString const*) + 309

15 com.apple.CoreText 0x00007fff9022ff12 CTLineCreateWithAttributedString + 63

16 com.apple.HIToolbox 0x00007fff9971d4f7 TCoreTextEngine::LayoutSingleLine(THIThemeTextInfo*, float) + 37

17 com.apple.HIToolbox 0x00007fff9971d495 TCoreTextEngine::Layout(THIThemeTextInfo*, float, float, TextLayoutType) + 95

18 com.apple.HIToolbox 0x00007fff9971d1ff TCoreTextEngine::GetThemeTextDimensions(double, THIThemeTextInfo*, double*, double*, double*) + 43

19 com.apple.HIToolbox 0x00007fff9971bf4f DataEngine::GetTextDimensions(void const*, double, HIThemeTextInfo*, double*, double*, double*) + 285

20 com.apple.HIToolbox 0x00007fff9971be03 HIThemeGetTextDimensions + 191

21 com.apple.HIToolbox 0x00007fff9971b90b HIMenuBarView::MeasureMenuTitle(MenuData*, unsigned char, float*, int) + 459

22 com.apple.HIToolbox 0x00007fff9971b688 HIMenuBarView::MeasureAppMenus() + 236

23 com.apple.HIToolbox 0x00007fff9971b26b HIMenuBarView::EnsureBarLayout() + 467

24 com.apple.HIToolbox 0x00007fff9971a966 HIMenuBarView::DrawOnce(CGRect, CGRect, bool, bool, CGContext*) + 526

25 com.apple.HIToolbox 0x00007fff9971a65b HIMenuBarView::DrawSelf(short, __HIShape const*, CGContext*) + 559

26 com.apple.HIToolbox 0x00007fff9971a0a2 HIMenuBarView::DrawWithoutCustomization(short, __HIShape const*, CGContext*) + 82

27 com.apple.HIToolbox 0x00007fff9971a041 HIMenuBarView::DrawingDelegateHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 249

28 com.apple.HIToolbox 0x00007fff996fd7be DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1231

29 com.apple.HIToolbox 0x00007fff996fcc48 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 404

30 com.apple.HIToolbox 0x00007fff996fcaab SendEventToEventTargetWithOptions + 43

31 com.apple.HIToolbox 0x00007fff99719c07 HIView::SendDraw(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 337

32 com.apple.HIToolbox 0x00007fff99719589 HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 557

33 com.apple.HIToolbox 0x00007fff99719869 HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 1293

34 com.apple.HIToolbox 0x00007fff9971901d HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned int, HIView*, CGContext*) + 1031

35 com.apple.HIToolbox 0x00007fff99718c10 HIView::Render(unsigned int, CGContext*) + 54

36 com.apple.HIToolbox 0x00007fff9971832d WindowData::PrepareForVisibility() + 153

37 com.apple.HIToolbox 0x00007fff997179ff _ShowHideWindows + 282

38 com.apple.HIToolbox 0x00007fff997178df ShowHide + 34

39 com.apple.HIToolbox 0x00007fff99706c62 MBWindows::GetWindowOnDisplay(unsigned int, unsigned char) + 282

40 com.apple.HIToolbox 0x00007fff997069fd MenuBarInstance::ForEachWindowDo(unsigned char, bool (OpaqueWindowPtr*, unsigned int) block_pointer) + 177

41 com.apple.HIToolbox 0x00007fff99706748 MenuBarInstance::UpdateWindowBoundsAndResolution() + 160

42 com.apple.HIToolbox 0x00007fff9989cb3a MenuBarInstance::Show(MenuBarAnimationStyle, unsigned char, unsigned char, unsigned char, unsigned char) + 300

43 com.apple.HIToolbox 0x00007fff99706388 MenuBarInstance::UpdateAggregateUIMode(MenuBarAnimationStyle, unsigned char, unsigned char, unsigned char) + 684

44 com.apple.HIToolbox 0x00007fff9970601f MenuBarInstance::ForEachMenuBarDo(void (MenuBarInstance*) block_pointer) + 47

45 com.apple.HIToolbox 0x00007fff99705fc4 UpdateAllAggregateUIModes(MenuBarAnimationStyle, unsigned char) + 136

46 com.apple.HIToolbox 0x00007fff99705f22 SetSystemUIMode + 169

47 com.apple.AppKit 0x00007fff9728539a -[NSApplication finishLaunching] + 894

48 com.apple.AppKit 0x00007fff97284cc1 -[NSApplication run] + 231

49 com.apple.AppKit 0x00007fff9724e46c NSApplicationMain + 1176

50 libdyld.dylib 0x00007fff8fcea5ad start + 1



Thread 1:: Dispatch queue: OpenGL context pool

0 libsystem_kernel.dylib 0x00007fff8cfcbfae semaphore_wait_trap + 10

1 libsystem_platform.dylib 0x00007fff8fcdfce8 _os_semaphore_wait + 16

2 libdispatch.dylib 0x00007fff8a57e3bd dispatch_once_f + 253

3 com.apple.photo.PAImaging 0x000000010a368295 +[PAOpenGLDevice sharedContext] + 98

4 com.apple.photo.PAImaging 0x000000010a368031 -[PAOpenGLContext initWithDevice:] + 146

5 com.apple.photo.PAImaging 0x000000010a367f85 -[PAOpenGLContextPool _newContext] + 74

6 com.apple.photo.PAImaging 0x000000010a367e1e __38-[PAOpenGLContextPool checkOutContext]_block_invoke + 358

7 libdispatch.dylib 0x00007fff8a57e40b _dispatch_client_callout + 8

8 libdispatch.dylib 0x00007fff8a57f9f2 _dispatch_barrier_sync_f_invoke + 74

9 com.apple.photo.PAImaging 0x000000010a367c76 -[PAOpenGLContextPool checkOutContext] + 161

10 com.apple.photo.PAImaging 0x000000010a367b84 -[PAOpenGLContextPool executeBlockWithContext:] + 52

11 com.apple.photo.PAImaging 0x000000010a367b15 -[PAOpenGLDevice _openGLProperties] + 162

12 com.apple.photo.PAImaging 0x000000010a3676e7 -[PAOpenGLDevice _deviceProperties] + 123

13 com.apple.photo.PAImaging 0x000000010a367460 -[PAOpenGLDevice _lazyInitOnce] + 50

14 com.apple.photo.PAImaging 0x000000010a367420 __39-[PAOpenGLDevice _lazyInitOnceIfNeeded]_block_invoke + 41

15 libdispatch.dylib 0x00007fff8a57e40b _dispatch_client_callout + 8

16 libdispatch.dylib 0x00007fff8a57f9f2 _dispatch_barrier_sync_f_invoke + 74

17 com.apple.photo.PAImaging 0x000000010a3673e6 -[PAOpenGLDevice _lazyInitOnceIfNeeded] + 89

18 libdispatch.dylib 0x00007fff8a58993d _dispatch_call_block_and_release + 12

19 libdispatch.dylib 0x00007fff8a57e40b _dispatch_client_callout + 8

20 libdispatch.dylib 0x00007fff8a58229b _dispatch_root_queue_drain + 1890

21 libdispatch.dylib 0x00007fff8a581b00 _dispatch_worker_thread3 + 91

22 libsystem_pthread.dylib 0x00007fff8cc024de _pthread_wqthread + 1129

23 libsystem_pthread.dylib 0x00007fff8cc00341 start_wqthread + 13



Thread 2:: Dispatch queue: com.apple.libdispatch-manager

0 libsystem_kernel.dylib 0x00007fff8cfd2efa kevent_qos + 10

1 libdispatch.dylib 0x00007fff8a584165 _dispatch_mgr_invoke + 216

2 libdispatch.dylib 0x00007fff8a583dcd _dispatch_mgr_thread + 52



Thread 3 Crashed:: Dispatch queue: OpenGL context pool

0 libsystem_kernel.dylib 0x00007fff8cfd1f06 __pthread_kill + 10

1 libsystem_pthread.dylib 0x00007fff8cc054ec pthread_kill + 90

2 libsystem_c.dylib 0x00007fff984846e7 abort + 129

3 com.apple.PhotoFoundation 0x0000000109fd6695 -[PFAssertionPolicyAbort notifyAssertion:] + 58

4 com.apple.PhotoFoundation 0x0000000109fd5f7e -[PFAssertionPolicyComposite notifyAssertion:] + 223

5 com.apple.PhotoFoundation 0x0000000109fd617a -[PFAssertionPolicyUnique notifyAssertion:] + 236

6 com.apple.PhotoFoundation 0x0000000109fd570d -[PFAssertionHandler handleFailureInFunction:file:lineNumber:description:arguments:] + 174

7 com.apple.PhotoFoundation 0x0000000109fd52f5 _PFAssertFailHandler + 282

8 com.apple.photo.PAImaging 0x000000010a368321 +[PAOpenGLDevice _sharedContext] + 108

9 com.apple.photo.PAImaging 0x000000010a3682ac __31+[PAOpenGLDevice sharedContext]_block_invoke + 21

10 libdispatch.dylib 0x00007fff8a57e40b _dispatch_client_callout + 8

11 libdispatch.dylib 0x00007fff8a57e303 dispatch_once_f + 67

12 com.apple.photo.PAImaging 0x000000010a368295 +[PAOpenGLDevice sharedContext] + 98

13 com.apple.photo.PAImaging 0x000000010a368031 -[PAOpenGLContext initWithDevice:] + 146

14 com.apple.photo.PAImaging 0x000000010a367f85 -[PAOpenGLContextPool _newContext] + 74

15 com.apple.photo.PAImaging 0x000000010a367e1e __38-[PAOpenGLContextPool checkOutContext]_block_invoke + 358

16 libdispatch.dylib 0x00007fff8a57e40b _dispatch_client_callout + 8

17 libdispatch.dylib 0x00007fff8a57f9f2 _dispatch_barrier_sync_f_invoke + 74

18 com.apple.photo.PAImaging 0x000000010a367c76 -[PAOpenGLContextPool checkOutContext] + 161

19 com.apple.photo.PAImaging 0x000000010a367b84 -[PAOpenGLContextPool executeBlockWithContext:] + 52

20 com.apple.photo.PAImaging 0x000000010a367b15 -[PAOpenGLDevice _openGLProperties] + 162

21 com.apple.photo.PAImaging 0x000000010a3676e7 -[PAOpenGLDevice _deviceProperties] + 123

22 com.apple.photo.PAImaging 0x000000010a367460 -[PAOpenGLDevice _lazyInitOnce] + 50

23 com.apple.photo.PAImaging 0x000000010a367420 __39-[PAOpenGLDevice _lazyInitOnceIfNeeded]_block_invoke + 41

24 libdispatch.dylib 0x00007fff8a57e40b _dispatch_client_callout + 8

25 libdispatch.dylib 0x00007fff8a57f9f2 _dispatch_barrier_sync_f_invoke + 74

26 com.apple.photo.PAImaging 0x000000010a3673e6 -[PAOpenGLDevice _lazyInitOnceIfNeeded] + 89

27 libdispatch.dylib 0x00007fff8a58993d _dispatch_call_block_and_release + 12

28 libdispatch.dylib 0x00007fff8a57e40b _dispatch_client_callout + 8

29 libdispatch.dylib 0x00007fff8a58229b _dispatch_root_queue_drain + 1890

30 libdispatch.dylib 0x00007fff8a581b00 _dispatch_worker_thread3 + 91

31 libsystem_pthread.dylib 0x00007fff8cc024de _pthread_wqthread + 1129

32 libsystem_pthread.dylib 0x00007fff8cc00341 start_wqthread + 13



Thread 4:

0 libsystem_kernel.dylib 0x00007fff8cfd25e2 __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff8cc02578 _pthread_wqthread + 1283

2 libsystem_pthread.dylib 0x00007fff8cc00341 start_wqthread + 13




LN

iMac, OS X El Capitan (10.11.4), iPhoto 9.6.1, Photos, Time Capsule, EHD

Posted on Apr 13, 2016 8:38 AM

Reply
3 replies

Apr 13, 2016 9:00 AM in response to LarryHN

As a test launch Photos with the Option key held down and create a new, test library. Import some photos and test to see if the same problem persists. Does it?


If it does that means your current library is damaged and needs repairing. In that case try repairing the library according to the instructions in this Apple document: Repair Your Library.

Warning: If you use iCloud Photo Library with Photos, this action will cause Photos to upload all your pictures again (from Fix missing or incorrect thumbnails in Photos - Apple Support).

User uploaded file


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.

Photos crashes

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