Bouynxdor1234

Q: rebuilding library doesn't fix issue

Hello.  I was on aperture and converted my library to Photos when the new application came out.  Recently when i try syncing photos to BOTH my iPhone and iPad, i'm getting the error that the library isn't ready, plus my photos application crashes.  I have run the library repair (Command+options) to no avail.  It still won't sync my photos to my devices and i've seen several crashes.  What's the best way to create the library from scratch so that i don't lose any of my photos.  I want to make sure i'm keeping my master photos not thumbnails.

MacBook Pro, Mac OS X (10.7.4)

Posted on Jan 30, 2016 11:51 AM

Close

Q: rebuilding library doesn't fix issue

  • All replies
  • Helpful answers

  • by léonie,

    léonie léonie Jan 30, 2016 12:44 PM in response to Bouynxdor1234
    Level 10 (105,776 points)
    iCloud
    Jan 30, 2016 12:44 PM in response to Bouynxdor1234
    plus my photos application crashes.

    Could you post the first  50 lines or so of the crash log? So we can see the error message?

  • by Bouynxdor1234,

    Bouynxdor1234 Bouynxdor1234 Jan 30, 2016 1:17 PM in response to léonie
    Level 1 (7 points)
    Jan 30, 2016 1:17 PM in response to léonie

    I can export the whole file if you need, but here are the first 1/3 of the crash log.

     

     

     

     

    Process:               Photos [6683]

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

    Identifier:            com.apple.Photos

    Version:               1.3 (350.23.0)

    Build Info:            PhotoApp-350023000000000~4

    Code Type:             X86-64 (Native)

    Parent Process:        ??? [1]

    Responsible:           Photos [6683]

    User ID:               502

     

     

    Date/Time:             2016-01-30 10:40:52.055 -0800

    OS Version:            Mac OS X 10.11.3 (15D21)

    Report Version:        11

    Anonymous UUID:        B899BAC5-EA8A-1090-1D5B-F3DF92B44CCB

     

     

    Sleep/Wake UUID:       0F7B0EB0-FB00-4009-A982-AC5920FFD0CC

     

     

    Time Awake Since Boot: 37000 seconds

    Time Since Wake:       5800 seconds

     

     

    System Integrity Protection: enabled

     

     

    Crashed Thread:        7  Dispatch queue: SBLSharedPhotoStreamManager.dispatchQueue

     

     

    Exception Type:        EXC_CRASH (SIGABRT)

    Exception Codes:       0x0000000000000000, 0x0000000000000000

    Exception Note:        EXC_CORPSE_NOTIFY

     

     

    Application Specific Information:

    Assertion failure in -[PFResourceAccessToken initWithResource:reason:], /Library/Caches/com.apple.xbs/Sources/PhotoApp/PhotoApp-350.23/lib/photofoundat ion/source/services/BackgroundProcessingManager/PFBackgroundServiceManager.m:453

    Invalid parameter not satisfying: resource

    abort() called

     

     

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

    0   com.apple.AppKit               0x00007fff9268d354 -[NSView layer] + 0

    1   com.apple.AppKit               0x00007fff926a92b5 -[NSView(NSLayerKitGlue) _updateLayerCompositingFilterFromView] + 96

    2   com.apple.AppKit               0x00007fff926a7903 -[NSView(NSInternal) _updateAllLayerPropertiesFromView] + 197

    3   com.apple.AppKit               0x00007fff926a73fb -[NSView setLayer:] + 910

    4   com.apple.AppKit               0x00007fff926a6cc3 -[NSView(NSInternal) _createLayerAndInitialize] + 208

    5   com.apple.AppKit               0x00007fff926a6964 -[NSView _doSetWantsLayerYES] + 473

    6   com.apple.AppKit               0x00007fff926a64a7 -[NSView setWantsLayer:] + 487

    7   com.apple.photos.mondrian     0x0000000106b30995 MOMediaViewCommonInit + 285

    8   com.apple.photos.mondrian     0x0000000106b3086c -[MOMediaView initWithFrame:] + 91

    9   com.apple.Photos               0x00000001055a6ed4 0x1054b8000 + 978644

    10  com.apple.photos.mondrian     0x0000000106b74eb1 -[MOMediaView initWithFrame:mediaViewLayout:] + 83

    11  com.apple.Photos               0x00000001055a651f 0x1054b8000 + 976159

    12  com.apple.Photos               0x00000001055a613f 0x1054b8000 + 975167

    13  com.apple.PhotoFoundation     0x0000000106ceee2d __PFDispatchAsyncMainQueue_block_invoke + 25

    14  com.apple.CoreFoundation       0x00007fff8a4d24ac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12

    15  com.apple.CoreFoundation       0x00007fff8a4c4165 __CFRunLoopDoBlocks + 341

    16  com.apple.CoreFoundation       0x00007fff8a4c3ecb __CFRunLoopRun + 2347

    17  com.apple.CoreFoundation       0x00007fff8a4c3338 CFRunLoopRunSpecific + 296

    18  com.apple.HIToolbox           0x00007fff93f62935 RunCurrentEventLoopInMode + 235

    19  com.apple.HIToolbox           0x00007fff93f6276f ReceiveNextEventCommon + 432

    20  com.apple.HIToolbox           0x00007fff93f625af _BlockUntilNextEventMatchingListInModeWithFilter + 71

    21  com.apple.AppKit               0x00007fff926fc0ee _DPSNextEvent + 1067

    22  com.apple.AppKit               0x00007fff92ac8943 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454

    23  com.apple.AppKit               0x00007fff928b0d22 -[NSApplication _realDoModalLoop:peek:] + 653

    24  com.apple.AppKit               0x00007fff928ad2d4 -[NSApplication runModalForWindow:] + 153

    25  com.apple.Photos               0x00000001057d1ed0 0x1054b8000 + 3251920

    26  com.apple.Photos               0x00000001057d20d5 0x1054b8000 + 3252437

    27  libdispatch.dylib             0x00007fff83c6633f _dispatch_client_callout + 8

    28  libdispatch.dylib             0x00007fff83c78ebf _dispatch_barrier_sync_f_slow_invoke + 523

    29  libdispatch.dylib             0x00007fff83c6633f _dispatch_client_callout + 8

    30  libdispatch.dylib             0x00007fff83c79c1d _dispatch_main_queue_callback_4CF + 1685

    31  com.apple.CoreFoundation       0x00007fff8a508cd9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

    32  com.apple.CoreFoundation       0x00007fff8a4c3d3d __CFRunLoopRun + 1949

    33  com.apple.CoreFoundation       0x00007fff8a4c3338 CFRunLoopRunSpecific + 296

    34  com.apple.HIToolbox           0x00007fff93f62935 RunCurrentEventLoopInMode + 235

    35  com.apple.HIToolbox           0x00007fff93f6276f ReceiveNextEventCommon + 432

    36  com.apple.HIToolbox           0x00007fff93f625af _BlockUntilNextEventMatchingListInModeWithFilter + 71

    37  com.apple.AppKit               0x00007fff926fc0ee _DPSNextEvent + 1067

    38  com.apple.AppKit               0x00007fff92ac8943 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454

    39  com.apple.AppKit               0x00007fff926f1fc8 -[NSApplication run] + 682

    40  com.apple.AppKit               0x00007fff92674520 NSApplicationMain + 1176

    41  libdyld.dylib                 0x00007fff83b715ad start + 1

     

     

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

    0   libsystem_kernel.dylib         0x00007fff83cb1ff6 kevent_qos + 10

    1   libdispatch.dylib             0x00007fff83c6c099 _dispatch_mgr_invoke + 216

    2   libdispatch.dylib             0x00007fff83c6bd01 _dispatch_mgr_thread + 52

     

     

    Thread 2:: com.apple.NSEventThread

    0   libsystem_kernel.dylib         0x00007fff83cab386 mach_msg_trap + 10

    1   libsystem_kernel.dylib         0x00007fff83caa7c7 mach_msg + 55

    2   com.apple.CoreFoundation       0x00007fff8a4c4624 __CFRunLoopServiceMachPort + 212

    3   com.apple.CoreFoundation       0x00007fff8a4c3aec __CFRunLoopRun + 1356

    4   com.apple.CoreFoundation       0x00007fff8a4c3338 CFRunLoopRunSpecific + 296

    5   com.apple.AppKit               0x00007fff927bb065 _NSEventThread + 149

    6   libsystem_pthread.dylib       0x00007fff91f19c13 _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff91f19b90 _pthread_start + 168

    8   libsystem_pthread.dylib       0x00007fff91f17375 thread_start + 13

     

     

    Thread 3:: Dispatch queue: Job Control

    0   libsystem_kernel.dylib         0x00007fff83cab3c2 semaphore_wait_trap + 10

    1   libsystem_platform.dylib       0x00007fff93536226 _os_semaphore_wait + 16

    2   libdispatch.dylib             0x00007fff83c74995 _dispatch_barrier_sync_f_slow + 594

    3   com.apple.Photos               0x0000000105725844 0x1054b8000 + 2545732

    4   com.apple.Photos               0x00000001057d0e86 0x1054b8000 + 3247750

    5   com.apple.PhotoFoundation     0x0000000106cad814 -[PFJobControl finishedEndWork:seq:] + 992

    6   com.apple.PhotoFoundation     0x0000000106cccfbe -[PFBackgroundServiceManager finishedEndWork:seq:] + 83

    7   com.apple.PhotoFoundation     0x0000000106c7a483 -[PFDispatchQueue _invoke:] + 93

    8   libdispatch.dylib             0x00007fff83c71871 _dispatch_call_block_and_release + 12

    9   libdispatch.dylib             0x00007fff83c6633f _dispatch_client_callout + 8

    10  libdispatch.dylib             0x00007fff83c6af6f _dispatch_queue_drain + 754

    11  libdispatch.dylib             0x00007fff83c7163b _dispatch_queue_invoke + 549

    12  libdispatch.dylib             0x00007fff83c6b134 _dispatch_queue_drain + 1207

    13  libdispatch.dylib             0x00007fff83c7163b _dispatch_queue_invoke + 549

    14  libdispatch.dylib             0x00007fff83c69c87 _dispatch_root_queue_drain + 538

    15  libdispatch.dylib             0x00007fff83c69a34 _dispatch_worker_thread3 + 91

    16  libsystem_pthread.dylib       0x00007fff91f1968f _pthread_wqthread + 1129

    17  libsystem_pthread.dylib       0x00007fff91f17365 start_wqthread + 13

     

     

    Thread 4:

    0   libsystem_kernel.dylib         0x00007fff83cb16de __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff91f19729 _pthread_wqthread + 1283

    2   libsystem_pthread.dylib       0x00007fff91f17365 start_wqthread + 13

     

     

    Thread 5:

    0   libsystem_kernel.dylib         0x00007fff83cb16de __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff91f19729 _pthread_wqthread + 1283

    2   libsystem_pthread.dylib       0x00007fff91f17365 start_wqthread + 13

     

     

    Thread 6:

    0   libsystem_kernel.dylib         0x00007fff83cb16de __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff91f19729 _pthread_wqthread + 1283

    2   libsystem_pthread.dylib       0x00007fff91f17365 start_wqthread + 13

     

     

    Thread 7 Crashed:: Dispatch queue: SBLSharedPhotoStreamManager.dispatchQueue

    0   libsystem_kernel.dylib         0x00007fff83cb1002 __pthread_kill + 10

    1   libsystem_pthread.dylib       0x00007fff91f1b5c5 pthread_kill + 90

    2   libsystem_c.dylib             0x00007fff8a2ed6e7 abort + 129

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

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

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

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

    7   com.apple.PhotoFoundation     0x0000000106c9d3b1 _PFAssertFailHandler + 282

    8   com.apple.PhotoFoundation     0x0000000106ccc4ef -[PFResourceAccessToken initWithResource:reason:] + 269

    9   com.apple.PhotoFoundation     0x0000000106ccb369 -[PFBSMResourceIdentifier shutdownWithCompletion:] + 111

    10  com.apple.PhotoFoundation     0x0000000106cce3ac -[PFBackgroundServiceManager forceResourceShutdown:whenComplete:] + 152

    11  com.apple.PhotoFoundation     0x0000000106ccd8d4 +[PFBackgroundServiceManager forceResourceShutdown:whenComplete:] + 97

    12  com.apple.ShareServicesCore   0x000000010692c334 -[SBLSharedPhotoStreamManager _closeSharedPhotoStreamLibrary:] + 367

    13  com.apple.PhotoFoundation     0x0000000106c7a483 -[PFDispatchQueue _invoke:] + 93

    14  com.apple.PhotoFoundation     0x0000000106c821aa __55-[_PFFastLimitedConcurrencyQueue dispatchBarrierAsync:]_block_invoke_2 + 35

    15  libdispatch.dylib             0x00007fff83c71871 _dispatch_call_block_and_release + 12

    16  libdispatch.dylib             0x00007fff83c6633f _dispatch_client_callout + 8

    17  libdispatch.dylib             0x00007fff83c6af6f _dispatch_queue_drain + 754

    18  libdispatch.dylib             0x00007fff83c7163b _dispatch_queue_invoke + 549

    19  libdispatch.dylib             0x00007fff83c78607 _dispatch_async_redirect_invoke + 244

    20  libdispatch.dylib             0x00007fff83c6633f _dispatch_client_callout + 8

    21  libdispatch.dylib             0x00007fff83c6a1cf _dispatch_root_queue_drain + 1890

    22  libdispatch.dylib             0x00007fff83c69a34 _dispatch_worker_thread3 + 91

    23  libsystem_pthread.dylib       0x00007fff91f1968f _pthread_wqthread + 1129

    24  libsystem_pthread.dylib       0x00007fff91f17365 start_wqthread + 13

     

     

    Thread 8:

    0   libsystem_kernel.dylib         0x00007fff83cb16de __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff91f19729 _pthread_wqthread + 1283

    2   libsystem_pthread.dylib       0x00007fff91f17365 start_wqthread + 13

     

     

    Thread 9:

    0   libsystem_kernel.dylib         0x00007fff83cb16de __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff91f19729 _pthread_wqthread + 1283

    2   libsystem_pthread.dylib       0x00007fff91f17365 start_wqthread + 13

     

     

    Thread 10:

     

     

    Thread 7 crashed with X86 Thread State (64-bit):

      rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x000070000021c708  rdx: 0x0000000000000000

      rdi: 0x000000000000d7db  rsi: 0x0000000000000006  rbp: 0x000070000021c730  rsp: 0x000070000021c708

       r8: 0x0000000000000007   r9: 0x0000000000000000  r10: 0x000000000c000000  r11: 0x0000000000000206

      r12: 0x0000000000000006  r13: 0x00007ffb2ad16a60  r14: 0x000070000021d000  r15: 0x0000000106cfddf6

      rip: 0x00007fff83cb1002  rfl: 0x0000000000000206  cr2: 0x0000700000a4d068

     

    Logical CPU:     0

    Error Code:      0x02000148

    Trap Number:     133

  • by léonie,Apple recommended

    léonie léonie Jan 30, 2016 4:35 PM in response to Bouynxdor1234
    Level 10 (105,776 points)
    iCloud
    Jan 30, 2016 4:35 PM in response to Bouynxdor1234
    Recently when i try syncing photos to BOTH my iPhone and iPad,

    are you syncing with iTunes or with iTunes Photo Library?

     

     

    Your crash log suggests a data error - a crash in the background process that is preparing the photos for syncing to your mobile devices. There may be a photo or a video in your library that cannot be processed -either the item is corrupted or has an incompatible format.

     

    Try to search for incompatible items by defining a smart album with the rule "photo is unable to upload to iCloud Photo Library". Remove any item that is detected by this album from your Photos Library.

     

    If the crash is happening  when syncing with itunes remove the iPod Photo Cache from your library. (iTunes: Understanding the iPod Photo Cache folder)

  • by Bouynxdor1234,

    Bouynxdor1234 Bouynxdor1234 Feb 5, 2016 2:16 PM in response to léonie
    Level 1 (7 points)
    Feb 5, 2016 2:16 PM in response to léonie

    Hi Leonie.  Sorry it took me a week to get to this. 

     

    I did the Smart Album so photo is "Unable to upload to the Iphoto library" and thankfully no picutres showed up.

     

    I deleted the ipod photo cache from my photos library based on this file https://support.apple.com/en-us/HT203156

     

    I'll let you know if this solves the issue.  Thanks so much.

  • by léonie,

    léonie léonie Feb 5, 2016 2:19 PM in response to Bouynxdor1234
    Level 10 (105,776 points)
    iCloud
    Feb 5, 2016 2:19 PM in response to Bouynxdor1234

    Good Luck!

  • by Bouynxdor1234,

    Bouynxdor1234 Bouynxdor1234 Feb 7, 2016 11:22 AM in response to léonie
    Level 1 (7 points)
    Feb 7, 2016 11:22 AM in response to léonie

    Happy Sunday Leonie.

     

    After deleting the iPod Photo Cache, i'm still getting the same error.  At this point i'm wondering if i should copy the photos to my desktop, delete everything, and start from scratch.  Do you think i'm at that point yet?  If so, i want to make sure i'm copying the high res photos, not thumbtack versions.  I also want to make sure i'm deleting everything that will take me to scratch without deleting anything necessary for the app to work.  What are your thoughts?

     

    I was a mac tech at Disney for 10 yrs so I'm an intermediate user, so you can get relatively technical with me. I've never done coding but i know how to get to hidden files, etc.

  • by léonie,

    léonie léonie Feb 7, 2016 11:32 AM in response to Bouynxdor1234
    Level 10 (105,776 points)
    iCloud
    Feb 7, 2016 11:32 AM in response to Bouynxdor1234

    I looked again at your crash log.

     

    Crashed Thread:        7  Dispatch queue: SBLSharedPhotoStreamManager.dispatchQueue

    The culprit image file may be in a shared photo stream cache.

    Are you using iCloud Photo Sharing?

  • by Bouynxdor1234,

    Bouynxdor1234 Bouynxdor1234 Feb 7, 2016 11:40 AM in response to léonie
    Level 1 (7 points)
    Feb 7, 2016 11:40 AM in response to léonie

    I believe so.  I do NOT have my photos on the iCloud (i actually have the iCloud drive turned off along with the iCloud Photo Library and the My photo Stream.  However, i'm sharing eight albums with family members (my wedding, honeymoon, etc). Is there a way for me to wipe that all away and recreate teh albums or is there a cache for the icloud photo library separate from the iPod photo cache?

     

    I'm not very surprised that you're saying there's an issue with the iCloud Photo Sharing.  I've tried to create a few photo library Share to share pics of my nieces and nephews with the rest of the family and when i copy them, some come out blank, and some come out with only half the picture, so already i'm noticing flakiness with the iphoto Sharing already and it's probably all related.

  • by léonie,Apple recommended

    léonie léonie Feb 7, 2016 11:56 AM in response to Bouynxdor1234
    Level 10 (105,776 points)
    iCloud
    Feb 7, 2016 11:56 AM in response to Bouynxdor1234

    The iCloud Photo Sharing images used to be cached in your user library in subfolders of this folder:

    ~/Library/Application Support/iLifeAssetManagement/assets/

     

    Check, if there are still folder with photos inside, i.e.~/Library/Application Support/iLifeAssetManagement/assets/sub-shared/

     

    On my mac this e folders are now empty in MacOS X 10.11.3, I have no idea, where El Capitan is caching the Shared streams now.

     

    I'd check, if you have backup copies of all photos currently in your Shared albums, quit Photos, and delete any folders with photos from ~/Library/Application Support/iLifeAssetManagement/assets/

     

    Then sign out of iCloud Photo Sharing, restart the Mac, and wait for the shared albums to download again from iCloud, after you enable them again.

  • by Bouynxdor1234,

    Bouynxdor1234 Bouynxdor1234 Feb 7, 2016 8:19 PM in response to léonie
    Level 1 (7 points)
    Feb 7, 2016 8:19 PM in response to léonie

    Hi Leonie.

     

    I went to the ~/Library/Application Support/iLifeAssetManagement/assets/ folder and there was no sub-shared folder.  There is a pub and a watch folder.  both are empty.

     

    Also note that as an experiment, i turned off icloud photo sharing on both the app and the iOS and the error still happens.

  • by Bouynxdor1234,Apple recommended

    Bouynxdor1234 Bouynxdor1234 Feb 7, 2016 8:52 PM in response to Bouynxdor1234
    Level 1 (7 points)
    Feb 7, 2016 8:52 PM in response to Bouynxdor1234

    I don't want to get too excited but I rebuilt the permissions for my home drive and now it seems to be syncing to both the iphone and ipad. We may be out of the woods.    I'll keep you abreast if there's any changes.