ravasthi Posted July 12, 2019 Share Posted July 12, 2019 (edited) This problem is happening for both Affinity Photo and Affinity Designer 1.7.1, manifesting in slightly different ways. The situation I recently upgraded my computer and restored my user from my old machine's time machine backup. This included files I was storing in Dropbox. When I try to open files from Dropbox in Affinity Designer (.afdesign) or Photo (.jpg, .png), I get a "Failed to open file /path/to/file The file could not be opened because permission was denied." error. If I copy those files without modification to my /Users/myuser/Pictures folder, I can open the files, but they show up in the application marked as read-only and can't be exported. In the console for Affinity Photo, I see the following error with a stack trace from sandboxd: Sandbox: Affinity Photo(1414) deny(1) file-write-data /Users/ravasthi/Pictures/misc/monogram-avatar-15.png Violation: deny(1) file-write-data /Users/ravasthi/Pictures/misc/monogram-avatar-15.png Process: Affinity Photo [1414] Path: /Applications/Affinity Photo.app/Contents/MacOS/Affinity Photo Load Address: 0x102760000 Identifier: com.seriflabs.affinityphoto Version: 1.7.142 (1.7.1) Code Type: x86_64 (Native) Parent Process: launchd [1] Responsible: /Applications/Affinity Photo.app/Contents/MacOS/Affinity Photo [1414] User ID: 501 Date/Time: 2019-07-11 22:11:12.021 PDT OS Version: Mac OS X 10.14.5 (18F132) Report Version: 8 MetaData: {"operation":"file-write-data","flags":5,"vnode-type":"REGULAR-FILE","action":"deny","process-path":"\/Applications\/Affinity Photo.app\/Contents\/MacOS\/Affinity Photo","team-id":"6LVTQB9699","primary-filter-value":"\/Users\/ravasthi\/Pictures\/misc\/monogram-avatar-15.png","process":"Affinity Photo","container":"\/Users\/ravasthi\/Library\/Containers\/com.seriflabs.affinityphoto\/Data","platform-binary":false,"hardware":"Mac","file-mode":384,"platform_binary":"no","signing-id":"com.seriflabs.affinityphoto","path":"\/Users\/ravasthi\/Pictures\/misc\/monogram-avatar-15.png","platform-policy":false,"rdev":0,"errno":1,"uid":501,"responsible-process-path":"\/Applications\/Affinity Photo.app\/Contents\/MacOS\/Affinity Photo","profile-in-collection":false,"pid":1414,"target":"\/Users\/ravasthi\/Pictures\/misc\/monogram-avatar-15.png","file-flags":0,"summary":"deny(1) file-write-data \/Users\/ravasthi\/Pictures\/misc\/monogram-avatar-15.png","primary-filter":"path","normalized_target":["Users","ravasthi","Pictures","misc","monogram-avatar-15.png"],"responsible-process-pid":1414,"build":"Mac OS X 10.14.5 (18F132)","profile-flags":0} Thread 0 (id: 441436): 0 AppKit 0x00007fff33fb216f -[NSWindow(NSCursorRects) _postInvalidCursorRects] + 261 1 AppKit 0x00007fff33fb922d -[NSView(NSInternal) _setTrackingAreasDirty:] + 76 2 AppKit 0x00007fff33fd4db5 -[NSThemeFrame _updateContentLayoutGuideFrame] + 1028 3 AppKit 0x00007fff33fd4438 -[NSThemeFrame _tileTitlebarAndRedisplay:] + 56 4 AppKit 0x00007fff33ffecce -[NSTitledFrame _titleDidChange] + 217 5 AppKit 0x00007fff33ffe77c -[NSTitledFrame setTitle:] + 713 6 AppKit 0x00007fff33ffe404 -[NSThemeFrame setTitle:] + 50 7 AppKit 0x00007fff33fc214e -[NSWindow _dosetTitle:andDefeatWrap:] + 210 8 libcocoaui 0x0000000135bae075 -[PersonaWindow setTitle:] + 53 9 libcocoaui 0x0000000135ec911a -[NotificationsController handleLoadingItemsNotification:] + 218 10 libcocoaui 0x0000000135eb4a7c -[NotificationsController receiveNotification:] + 1804 11 libdispatch.dylib 0x00007fff627895f8 _dispatch_call_block_and_release + 12 12 libdispatch.dylib 0x00007fff6278a63d _dispatch_client_callout + 8 13 libdispatch.dylib 0x00007fff6279568d _dispatch_main_queue_callback_4CF + 1135 14 CoreFoundation 0x00007fff368adcd7 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 15 CoreFoundation 0x00007fff368ad401 __CFRunLoopRun + 2289 16 CoreFoundation 0x00007fff368ac8be CFRunLoopRunSpecific + 455 17 HIToolbox 0x00007fff35b9896b RunCurrentEventLoopInMode + 292 18 HIToolbox 0x00007fff35b986a5 ReceiveNextEventCommon + 603 19 HIToolbox 0x00007fff35b98436 _BlockUntilNextEventMatchingListInModeWithFilter + 64 20 AppKit 0x00007fff33f32987 _DPSNextEvent + 965 21 AppKit 0x00007fff33f3171f -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 22 AppKit 0x00007fff33f2b83c -[NSApplication run] + 699 23 AppKit 0x00007fff33f1ad7c NSApplicationMain + 777 24 Affinity Photo 0x00000001027621d4 25 Affinity Photo 0x0000000000000001 Thread 1 (id: 442016, com.apple.NSURLConnectionLoader): 0 libsystem_kernel.dylib 0x00007fff6290c22a mach_msg_trap + 10 1 CoreFoundation 0x00007fff368adbee __CFRunLoopServiceMachPort + 328 2 CoreFoundation 0x00007fff368ad15c __CFRunLoopRun + 1612 3 CoreFoundation 0x00007fff368ac8be CFRunLoopRunSpecific + 455 4 CFNetwork 0x00007fff35820380 -[__CoreSchedulingSetRunnable runForever] + 210 5 Foundation 0x00007fff38b066d2 __NSThread__start__ + 1194 6 libsystem_pthread.dylib 0x00007fff629cb2eb _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff629ce249 _pthread_start + 66 8 libsystem_pthread.dylib 0x00007fff629ca40d thread_start + 13 Thread 2 (id: 442072, JavaScriptCore bmalloc scavenger): 0 libsystem_kernel.dylib 0x00007fff6290f86a __psynch_cvwait + 10 1 libc++.1.dylib 0x00007fff5fa09a0a std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18 2 JavaScriptCore 0x00007fff39d89122 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 82 3 JavaScriptCore 0x00007fff39d8d20b bmalloc::Scavenger::threadRunLoop() + 139 4 JavaScriptCore 0x00007fff39d8ca39 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9 5 JavaScriptCore 0x00007fff39d8e3a7 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39 6 libsystem_pthread.dylib 0x00007fff629cb2eb _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff629ce249 _pthread_start + 66 8 libsystem_pthread.dylib 0x00007fff629ca40d thread_start + 13 Thread 3 (id: 442109, com.apple.NSEventThread): 0 libsystem_kernel.dylib 0x00007fff6290c22a mach_msg_trap + 10 1 CoreFoundation 0x00007fff368adbee __CFRunLoopServiceMachPort + 328 2 CoreFoundation 0x00007fff368ad15c __CFRunLoopRun + 1612 3 CoreFoundation 0x00007fff368ac8be CFRunLoopRunSpecific + 455 4 AppKit 0x00007fff33f3a6a6 _NSEventThread + 175 5 libsystem_pthread.dylib 0x00007fff629cb2eb _pthread_body + 126 6 libsystem_pthread.dylib 0x00007fff629ce249 _pthread_start + 66 7 libsystem_pthread.dylib 0x00007fff629ca40d thread_start + 13 Thread 4 (id: 885762): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 5 (id: 893038): 0 libsystem_kernel.dylib 0x00007fff6290c22a mach_msg_trap + 10 1 SkyLight 0x00007fff5ba5f105 CGSUpdateManager::enable_updates_common() + 577 2 SkyLight 0x00007fff5ba5f4a2 SLSReenableUpdateToken + 104 3 libdispatch.dylib 0x00007fff627895f8 _dispatch_call_block_and_release + 12 4 libdispatch.dylib 0x00007fff6278a63d _dispatch_client_callout + 8 5 libdispatch.dylib 0x00007fff627908e0 _dispatch_lane_serial_drain + 602 6 libdispatch.dylib 0x00007fff62791396 _dispatch_lane_invoke + 385 7 libdispatch.dylib 0x00007fff627996ed _dispatch_workloop_worker_thread + 598 8 libsystem_pthread.dylib 0x00007fff629ca611 _pthread_wqthread + 421 9 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 Thread 6 (id: 893070): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 7 (id: 893071): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 8 (id: 893072): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 9 (id: 893073): 0 libsystem_kernel.dylib 0x00007fff6290d18e __open_nocancel + 10 1 liblibkernel.dylib 0x000000010633cd77 Kernel::File::OpenUnmanaged(char const*, char const*, Kernel::File::ShareMode, __sFILE*&, Kernel::StringT<Kernel::TEncUtf8>*) + 103 2 liblibkernel.dylib 0x00000001063c80fa Kernel::FileInOutStream::Open(char const*, Kernel::File::ShareMode, Kernel::File::OpenUnmanagedResult&, Kernel::StringT<Kernel::TEncUtf8>*) + 58 3 liblibkernel.dylib 0x000000010634eafa Kernel::Archive::InitArchive(Kernel::StringT<Kernel::TEncUtf8> const&, Kernel::Archive::OpenMode, Kernel::Counted<Kernel::InOutStreamSeekable>) + 1162 4 liblibkernel.dylib 0x000000010634e50d Kernel::Archive::Open(Kernel::StringT<Kernel::TEncUtf8> const&, Kernel::Archive::OpenMode, Kernel::IDTag, Kernel::Archive::OpenResult&, Kernel::Archive::LongLive, Kernel::Counted<Kernel::Archive::OffliningUpdater>) + 109 5 liblibkernel.dylib 0x000000010634e48d Kernel::Archive::Open(Kernel::StringT<Kernel::TEncUtf8> const&, Kernel::Archive::OpenMode, Kernel::IDTag, Kernel::Archive::OpenResult&) + 45 6 liblibpersona.dylib 0x000000011826e5f5 DocumentController::LoadDocumentI(Kernel::StringT<Kernel::TEncUtf8> const&, bool, LoadDocumentMode, bool, bool, bool, Kernel::Counted<LoadDocumentOptions const>, OpenDocumentFailedNotification&) + 13269 7 liblibpersona.dylib 0x000000011826ab6e DocumentController::LoadDocument(Kernel::StringT<Kernel::TEncUtf8> const&, bool, bool, LoadDocumentMode, Kernel::Counted<LoadDocumentOptions const>, OpenDocumentFailedNotification&, bool) + 126 8 liblibpersona.dylib 0x000000010c0b8aa0 LoadDocumentCommand::Do() + 272 9 liblibpersona.dylib 0x00000001182f2c5f PersonaController::StaticDoCommand(void*) + 47 10 liblibkernel.dylib 0x00000001063d850c invocation function for block in Kernel::Dispatch::DispatchAndForget(void (*)(void*), void*, Kernel::Dispatch::DispatchPriority) + 92 11 libdispatch.dylib 0x00007fff627895f8 _dispatch_call_block_and_release + 12 12 libdispatch.dylib 0x00007fff6278a63d _dispatch_client_callout + 8 13 libdispatch.dylib 0x00007fff62798509 _dispatch_root_queue_drain + 657 14 libdispatch.dylib 0x00007fff62798b46 _dispatch_worker_thread2 + 90 15 libsystem_pthread.dylib 0x00007fff629ca6b3 _pthread_wqthread + 583 16 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 17 Affinity Photo 0x0000000054485244 Thread 10 (id: 893074): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 11 (id: 893075): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 12 (id: 893076): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 13 (id: 893077): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 14 (id: 893078): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 15 (id: 893079): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 16 (id: 893080): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Thread 17 (id: 893081): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 0x0000600003a2ffff Thread 18 (id: 893082): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Photo 0x0000000054485244 Binary Images: 0x102760000 - 0x102805fff com.seriflabs.affinityphoto (1.7.1 - 1.7.142) <55d41c13-86d2-313a-b9ce-cacc11379d12> /Applications/Affinity Photo.app/Contents/MacOS/Affinity Photo 0x106239000 - 0x1064affff liblibkernel.dylib (1) <a3dd05d6-f9d3-3311-9608-f522ee8628c6> /Applications/Affinity Photo.app/Contents/Frameworks/liblibkernel.dylib 0x10a371000 - 0x123c77fff liblibpersona.dylib (1) <c113f607-8d50-30ba-b605-35b8c56f344b> /Applications/Affinity Photo.app/Contents/Frameworks/liblibpersona.dylib 0x134a7c000 - 0x13685dfff com.seriflabs.libcocoaui (1.0 - 1) <8ba74593-9f55-39b6-b640-a1b7ef516633> /Applications/Affinity Photo.app/Contents/Frameworks/libcocoaui.framework/Versions/A/libcocoaui 0x7fff33f18000 - 0x7fff34ccdff3 com.apple.AppKit (6.9 - 1671.50.111) <933155dc-6404-3646-b6ae-087d34f611be> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x7fff357d3000 - 0x7fff35b74fff com.apple.CFNetwork (978.0.7 - 978.0.7) <9fdefe50-be1b-386e-8b3c-aef251069e52> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x7fff35b8e000 - 0x7fff35e84ff7 com.apple.HIToolbox (2.1.1) <f7da4f20-123b-30fb-9c27-5ab1746def63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x7fff36872000 - 0x7fff36cb6fff com.apple.CoreFoundation (6.9 - 1575.12) <64c38bf2-1869-33c8-b1b6-dca9c824c0e4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff38af4000 - 0x7fff38ea1fff com.apple.Foundation (6.9 - 1575.12) <ad258ed7-64ae-367c-ae5f-48d45089d9f2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x7fff39b67000 - 0x7fff3a9cbff3 com.apple.JavaScriptCore (14607 - 14607.2.6.1.1) <63604178-ef3b-3cd3-ad4b-f4189963c51d> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x7fff5b9e7000 - 0x7fff5bc95ffb com.apple.SkyLight (1.600.0) <cd2a7069-6cea-3737-9e9d-7ae2fed912ab> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight 0x7fff5fa01000 - 0x7fff5fa54ff7 libc++.1.dylib (400.9.4) <9a60a190-6c34-339f-bb3d-aace942009a4> /usr/lib/libc++.1.dylib 0x7fff62787000 - 0x7fff627c0ff7 libdispatch.dylib (1008.250.7) <26df5b1e-a388-38ef-b73b-af0e93fb02db> /usr/lib/system/libdispatch.dylib 0x7fff6290b000 - 0x7fff62933ff7 libsystem_kernel.dylib (4903.261.4) <7b0f52c4-4cc9-3282-8457-c18c6fe1b99e> /usr/lib/system/libsystem_kernel.dylib 0x7fff629c8000 - 0x7fff629d2ff7 libsystem_pthread.dylib (330.250.2) <2d5c08ff-484f-3d59-9132-ce1dcb3f76d7> /usr/lib/system/libsystem_pthread.dylib If I copy those files without modification to my /Users/myuser/Documents folder, I get the same "failed to open" error. In Affinity Designer, I see the following error with stack trace from sandboxd: Sandbox: Affinity Designe(4355) deny(1) file-read-data /Users/ravasthi/Documents/designs/monogram-avatar-11.afdesign Violation: deny(1) file-read-data /Users/ravasthi/Documents/designs/monogram-avatar-11.afdesign Process: Affinity Designe [4355] Path: /Applications/Affinity Designer.app/Contents/MacOS/Affinity Designer Load Address: 0x10506b000 Identifier: com.seriflabs.affinitydesigner Version: 1.7.7 (1.7.1) Code Type: x86_64 (Native) Parent Process: launchd [1] Responsible: /Applications/Affinity Designer.app/Contents/MacOS/Affinity Designer [4355] User ID: 501 Date/Time: 2019-07-11 21:51:50.428 PDT OS Version: Mac OS X 10.14.5 (18F132) Report Version: 8 MetaData: {"operation":"file-read-data","flags":5,"vnode-type":"REGULAR-FILE","action":"deny","process-path":"\/Applications\/Affinity Designer.app\/Contents\/MacOS\/Affinity Designer","team-id":"6LVTQB9699","primary-filter-value":"\/Users\/ravasthi\/Documents\/designs\/monogram-avatar-11.afdesign","process":"Affinity Designe","container":"\/Users\/ravasthi\/Library\/Containers\/com.seriflabs.affinitydesigner\/Data","platform-binary":false,"hardware":"Mac","file-mode":384,"platform_binary":"no","signing-id":"com.seriflabs.affinitydesigner","path":"\/Users\/ravasthi\/Documents\/designs\/monogram-avatar-11.afdesign","platform-policy":false,"rdev":0,"errno":1,"uid":501,"responsible-process-path":"\/Applications\/Affinity Designer.app\/Contents\/MacOS\/Affinity Designer","profile-in-collection":false,"pid":4355,"target":"\/Users\/ravasthi\/Documents\/designs\/monogram-avatar-11.afdesign","file-flags":0,"summary":"deny(1) file-read-data \/Users\/ravasthi\/Documents\/designs\/monogram-avatar-11.afdesign","primary-filter":"path","normalized_target":["Users","ravasthi","Documents","designs","monogram-avatar-11.afdesign"],"responsible-process-pid":4355,"build":"Mac OS X 10.14.5 (18F132)","profile-flags":0} Thread 0 (id: 21956): 0 libsystem_platform.dylib 0x00007fff629c047c os_unfair_lock_lock + 14 1 AppKit 0x00007fff33f41170 +[NSImage imageNamed:] + 73 2 AppKit 0x00007fff341562ff addW + 981 3 AppKit 0x00007fff34196cf5 -[NSApplication(NSWindowsMenu) changeWindowsItem:title:filename:] + 152 4 AppKit 0x00007fff33fc223c -[NSWindow _dosetTitle:andDefeatWrap:] + 448 5 libcocoaui 0x0000000106285885 -[PersonaWindow setTitle:] + 53 6 libcocoaui 0x000000010659dcfa -[NotificationsController handleLoadingItemsNotification:] + 218 7 libcocoaui 0x000000010658965c -[NotificationsController receiveNotification:] + 1804 8 libdispatch.dylib 0x00007fff627895f8 _dispatch_call_block_and_release + 12 9 libdispatch.dylib 0x00007fff6278a63d _dispatch_client_callout + 8 10 libdispatch.dylib 0x00007fff6279568d _dispatch_main_queue_callback_4CF + 1135 11 CoreFoundation 0x00007fff368adcd7 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 12 CoreFoundation 0x00007fff368ad401 __CFRunLoopRun + 2289 13 CoreFoundation 0x00007fff368ac8be CFRunLoopRunSpecific + 455 14 HIToolbox 0x00007fff35b9896b RunCurrentEventLoopInMode + 292 15 HIToolbox 0x00007fff35b986a5 ReceiveNextEventCommon + 603 16 HIToolbox 0x00007fff35b98436 _BlockUntilNextEventMatchingListInModeWithFilter + 64 17 AppKit 0x00007fff33f32987 _DPSNextEvent + 965 18 AppKit 0x00007fff33f3171f -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 19 AppKit 0x00007fff33f2b83c -[NSApplication run] + 699 20 AppKit 0x00007fff33f1ad7c NSApplicationMain + 777 21 Affinity Designer 0x000000010506cb44 22 Affinity Designer 0x0000000000000001 Thread 1 (id: 25853, JavaScriptCore bmalloc scavenger): 0 libsystem_kernel.dylib 0x00007fff6290f86a __psynch_cvwait + 10 1 libc++.1.dylib 0x00007fff5fa09a0a std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18 2 JavaScriptCore 0x00007fff39d89122 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 82 3 JavaScriptCore 0x00007fff39d8d20b bmalloc::Scavenger::threadRunLoop() + 139 4 JavaScriptCore 0x00007fff39d8ca39 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9 5 JavaScriptCore 0x00007fff39d8e3a7 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39 6 libsystem_pthread.dylib 0x00007fff629cb2eb _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff629ce249 _pthread_start + 66 8 libsystem_pthread.dylib 0x00007fff629ca40d thread_start + 13 Thread 2 (id: 25871, com.apple.NSURLConnectionLoader): 0 libsystem_kernel.dylib 0x00007fff6290c22a mach_msg_trap + 10 1 CoreFoundation 0x00007fff368adbee __CFRunLoopServiceMachPort + 328 2 CoreFoundation 0x00007fff368ad15c __CFRunLoopRun + 1612 3 CoreFoundation 0x00007fff368ac8be CFRunLoopRunSpecific + 455 4 CFNetwork 0x00007fff35820380 -[__CoreSchedulingSetRunnable runForever] + 210 5 Foundation 0x00007fff38b066d2 __NSThread__start__ + 1194 6 libsystem_pthread.dylib 0x00007fff629cb2eb _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff629ce249 _pthread_start + 66 8 libsystem_pthread.dylib 0x00007fff629ca40d thread_start + 13 Thread 3 (id: 25892, com.apple.NSEventThread): 0 libsystem_kernel.dylib 0x00007fff6290c22a mach_msg_trap + 10 1 CoreFoundation 0x00007fff368adbee __CFRunLoopServiceMachPort + 328 2 CoreFoundation 0x00007fff368ad15c __CFRunLoopRun + 1612 3 CoreFoundation 0x00007fff368ac8be CFRunLoopRunSpecific + 455 4 AppKit 0x00007fff33f3a6a6 _NSEventThread + 175 5 libsystem_pthread.dylib 0x00007fff629cb2eb _pthread_body + 126 6 libsystem_pthread.dylib 0x00007fff629ce249 _pthread_start + 66 7 libsystem_pthread.dylib 0x00007fff629ca40d thread_start + 13 Thread 4 (id: 814708): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 5 (id: 814722): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 6 (id: 814731): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 7 (id: 816342): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 8 (id: 816343): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 9 (id: 816344): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 10 (id: 816345): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 11 (id: 816347): 0 libsystem_kernel.dylib 0x00007fff6290d18e __open_nocancel + 10 1 liblibkernel.dylib 0x000000011294cf17 Kernel::File::OpenUnmanaged(char const*, char const*, Kernel::File::ShareMode, __sFILE*&, Kernel::StringT<Kernel::TEncUtf8>*) + 103 2 liblibkernel.dylib 0x00000001129d829a Kernel::FileInOutStream::Open(char const*, Kernel::File::ShareMode, Kernel::File::OpenUnmanagedResult&, Kernel::StringT<Kernel::TEncUtf8>*) + 58 3 liblibkernel.dylib 0x000000011295ec9a Kernel::Archive::InitArchive(Kernel::StringT<Kernel::TEncUtf8> const&, Kernel::Archive::OpenMode, Kernel::Counted<Kernel::InOutStreamSeekable>) + 1162 4 liblibkernel.dylib 0x000000011295e6ad Kernel::Archive::Open(Kernel::StringT<Kernel::TEncUtf8> const&, Kernel::Archive::OpenMode, Kernel::IDTag, Kernel::Archive::OpenResult&, Kernel::Archive::LongLive, Kernel::Counted<Kernel::Archive::OffliningUpdater>) + 109 5 liblibkernel.dylib 0x000000011295e62d Kernel::Archive::Open(Kernel::StringT<Kernel::TEncUtf8> const&, Kernel::Archive::OpenMode, Kernel::IDTag, Kernel::Archive::OpenResult&) + 45 6 liblibpersona.dylib 0x0000000121e86d75 DocumentController::LoadDocumentI(Kernel::StringT<Kernel::TEncUtf8> const&, bool, LoadDocumentMode, bool, bool, bool, Kernel::Counted<LoadDocumentOptions const>, OpenDocumentFailedNotification&) + 13269 7 liblibpersona.dylib 0x0000000121e832ee DocumentController::LoadDocument(Kernel::StringT<Kernel::TEncUtf8> const&, bool, bool, LoadDocumentMode, Kernel::Counted<LoadDocumentOptions const>, OpenDocumentFailedNotification&, bool) + 126 8 liblibpersona.dylib 0x0000000115dd2aa0 LoadDocumentCommand::Do() + 272 9 liblibpersona.dylib 0x0000000121f0b3cf PersonaController::StaticDoCommand(void*) + 47 10 liblibkernel.dylib 0x00000001129e86ac invocation function for block in Kernel::Dispatch::DispatchAndForget(void (*)(void*), void*, Kernel::Dispatch::DispatchPriority) + 92 11 libdispatch.dylib 0x00007fff627895f8 _dispatch_call_block_and_release + 12 12 libdispatch.dylib 0x00007fff6278a63d _dispatch_client_callout + 8 13 libdispatch.dylib 0x00007fff62798509 _dispatch_root_queue_drain + 657 14 libdispatch.dylib 0x00007fff62798b46 _dispatch_worker_thread2 + 90 15 libsystem_pthread.dylib 0x00007fff629ca6b3 _pthread_wqthread + 583 16 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 17 Affinity Designer 0x0000000054485244 Thread 12 (id: 816348): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 13 (id: 816349): 0 libsystem_kernel.dylib 0x00007fff6290c22a mach_msg_trap + 10 1 SkyLight 0x00007fff5ba5f105 CGSUpdateManager::enable_updates_common() + 577 2 SkyLight 0x00007fff5ba5f4a2 SLSReenableUpdateToken + 104 3 libdispatch.dylib 0x00007fff627895f8 _dispatch_call_block_and_release + 12 4 libdispatch.dylib 0x00007fff6278a63d _dispatch_client_callout + 8 5 libdispatch.dylib 0x00007fff627908e0 _dispatch_lane_serial_drain + 602 6 libdispatch.dylib 0x00007fff62791396 _dispatch_lane_invoke + 385 7 libdispatch.dylib 0x00007fff627996ed _dispatch_workloop_worker_thread + 598 8 libsystem_pthread.dylib 0x00007fff629ca611 _pthread_wqthread + 421 9 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 Thread 14 (id: 816350): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 15 (id: 816351): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 16 (id: 816352): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 0x0000600001d2ffff Thread 17 (id: 816353): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Thread 18 (id: 816354): 0 libsystem_kernel.dylib 0x00007fff6290dbfe __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff629ca3fd start_wqthread + 13 2 Affinity Designer 0x0000000054485244 Binary Images: 0x10506b000 - 0x105102fff com.seriflabs.affinitydesigner (1.7.1 - 1.7.7) <0060f5ea-4e46-343b-99a7-1e79bdb8597a> /Applications/Affinity Designer.app/Contents/MacOS/Affinity Designer 0x105153000 - 0x106f30ff7 com.seriflabs.libcocoaui (1.0 - 1) <2f0abbf1-62e8-3837-8090-814865cbca6f> /Applications/Affinity Designer.app/Contents/Frameworks/libcocoaui.framework/Versions/A/libcocoaui 0x112849000 - 0x112abffff liblibkernel.dylib (1) <af537cdf-e179-3724-9d1d-7a60f12909f8> /Applications/Affinity Designer.app/Contents/Frameworks/liblibkernel.dylib 0x11408a000 - 0x12d883ff7 liblibpersona.dylib (1) <279f21df-8abc-3256-9032-4e0bd116dcd1> /Applications/Affinity Designer.app/Contents/Frameworks/liblibpersona.dylib 0x7fff33f18000 - 0x7fff34ccdff3 com.apple.AppKit (6.9 - 1671.50.111) <933155dc-6404-3646-b6ae-087d34f611be> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x7fff357d3000 - 0x7fff35b74fff com.apple.CFNetwork (978.0.7 - 978.0.7) <9fdefe50-be1b-386e-8b3c-aef251069e52> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x7fff35b8e000 - 0x7fff35e84ff7 com.apple.HIToolbox (2.1.1) <f7da4f20-123b-30fb-9c27-5ab1746def63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x7fff36872000 - 0x7fff36cb6fff com.apple.CoreFoundation (6.9 - 1575.12) <64c38bf2-1869-33c8-b1b6-dca9c824c0e4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff38af4000 - 0x7fff38ea1fff com.apple.Foundation (6.9 - 1575.12) <ad258ed7-64ae-367c-ae5f-48d45089d9f2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x7fff39b67000 - 0x7fff3a9cbff3 com.apple.JavaScriptCore (14607 - 14607.2.6.1.1) <63604178-ef3b-3cd3-ad4b-f4189963c51d> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x7fff5b9e7000 - 0x7fff5bc95ffb com.apple.SkyLight (1.600.0) <cd2a7069-6cea-3737-9e9d-7ae2fed912ab> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight 0x7fff5fa01000 - 0x7fff5fa54ff7 libc++.1.dylib (400.9.4) <9a60a190-6c34-339f-bb3d-aace942009a4> /usr/lib/libc++.1.dylib 0x7fff62787000 - 0x7fff627c0ff7 libdispatch.dylib (1008.250.7) <26df5b1e-a388-38ef-b73b-af0e93fb02db> /usr/lib/system/libdispatch.dylib 0x7fff6290b000 - 0x7fff62933ff7 libsystem_kernel.dylib (4903.261.4) <7b0f52c4-4cc9-3282-8457-c18c6fe1b99e> /usr/lib/system/libsystem_kernel.dylib 0x7fff629be000 - 0x7fff629c7fef libsystem_platform.dylib (177.250.1) <16949870-9152-3b0d-9ef0-40faf84b0f1e> /usr/lib/system/libsystem_platform.dylib 0x7fff629c8000 - 0x7fff629d2ff7 libsystem_pthread.dylib (330.250.2) <2d5c08ff-484f-3d59-9132-ce1dcb3f76d7> /usr/lib/system/libsystem_pthread.dylib The permissions and attributes on the files are identical; they belong to the same user and group, and have the same extended attributes: ravasthi in ~/Pictures/misc system (node-10.16.0) [21:51]✽ ls -l@n […] rw-------@ 1 501 20 4.1M Jun 7 2017 monogram-avatar-11.afdesign com.apple.lastuseddate#PS 16B com.apple.quarantine 32B com.dropbox.attributes 83B -rw-------@ 1 501 20 316K May 31 2018 monogram-avatar-15.png com.apple.lastuseddate#PS 16B com.apple.metadata:_kMDItemUserTags 42B com.dropbox.attributes 83B -rw-------@ 1 501 20 802K Jul 11 10:50 monogram-avatar-18.afdesign com.apple.lastuseddate#PS 16B com.apple.metadata:_kMDItemUserTags 42B com.apple.quarantine 32B com.dropbox.attributes 83B com.dropbox.attrs 28B ravasthi in ~/Documents/designs system (node-10.16.0) [21:49]✽ ls -l@n […] rw-------@ 1 501 20 4.1M Jun 7 2017 monogram-avatar-11.afdesign com.apple.lastuseddate#PS 16B com.apple.quarantine 32B com.dropbox.attributes 83B -rw-------@ 1 501 20 316K May 31 2018 monogram-avatar-15.png com.apple.lastuseddate#PS 16B com.apple.metadata:_kMDItemUserTags 42B com.dropbox.attributes 83B -rw-------@ 1 501 20 802K Jul 11 10:50 monogram-avatar-18.afdesign com.apple.lastuseddate#PS 16B com.apple.metadata:_kMDItemUserTags 42B com.apple.quarantine 32B com.dropbox.attributes 83B com.dropbox.attrs 28B An overview of the system's hardware from System Information: Model Name: iMac Model Identifier: iMac19,1 Processor Name: Intel Core i9 Processor Speed: 3.6 GHz Number of Processors: 1 Total Number of Cores: 8 L2 Cache (per Core): 256 KB L3 Cache: 16 MB Hyper-Threading Technology: Enabled Memory: 64 GB Boot ROM Version: 220.260.170.0.0 SMC Version (system): 2.46f12 The computer is running Mac OS Mojave 10.14.5. Things I've tried Reducing the number of activated fonts to get around the sandbox open file limit Resetting the font caches (+ rebooting) Manually removing the com.apple.quarantine and com.dropbox.attributes extended attributes Resetting and repairing permissions according to this help article What I find baffling is that the same file in one folder opens, but in others can't. What could be wrong here? Please help! Edited July 12, 2019 by ravasthi Quote Link to comment Share on other sites More sharing options...
Staff Gabe Posted August 2, 2019 Staff Share Posted August 2, 2019 Hi @ravasthi, Welcome to the forums and sorry for the delayed reply. How many fonts have you still got installed? Thanks, Gabe. Quote Link to comment Share on other sites More sharing options...
ravasthi Posted August 2, 2019 Author Share Posted August 2, 2019 Hi Gabe, I have Suitcase Fusion installed, which doesn't easily tell you how many fonts are activated—but that was indeed the problem. I noticed that Console had messages like this: default 12:17:10.760944 -0700 Affinity Designer could not consume extension for /Users/ravasthi/Library/Extensis/Suitcase Fusion/Suitcase Fusion.fontvault/SA/l/OTPS/--/YorktenSlab-NorBooIt/1.000/3788233020/YorktenSlab-NorBooIt.otf (12:Cannot allocate memory) So I went through and deactivated a bunch of fonts, which fixed made the problem go away. After deactivating, I now have ~2600 active font files. This problem really had me going in circles: the file permissions errors basically had nothing to do with the actual problem, plus the fact that the same file in different folders would behave differently was misleading. Also, for a while yesterday I thought the issue had to do with the fact that I had restored a lot of these files from Time Machine when I set up the new computer. While I realize this is an issue of the OS's sandbox—does it only apply to apps installed from the App Store?—is there any way for the Affinity programs to more accurately detect that there are too many fonts installed and log the error to the console? Quote Link to comment Share on other sites More sharing options...
Staff Gabe Posted August 7, 2019 Staff Share Posted August 7, 2019 On 8/2/2019 at 9:04 PM, ravasthi said: does it only apply to apps installed from the App Store? Technically yes. Sandboxing is only an App Store "feature". On 8/2/2019 at 9:04 PM, ravasthi said: is there any way for the Affinity programs to more accurately detect that there are too many fonts installed and log the error to the console? At the moment we don't have anything better. We hope to get this improved in the future. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.