rejecting write of key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertEventsNotification:/app/usageActivityDate in { com.apple.contextstored, root, kCFPreferencesAnyHost, no container, managed: 0 } from process 174 because setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access Couldn't write value for key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertLocalEventsNotification:/app/usageActivityDate in CFPrefsPlistSource<0x7fd33de06390> (Domain: com.apple.contextstored, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access Sandbox: contextstored(174) deny(1) file-write-data /private/var/root/Library/Preferences/com.apple.contextstored.plist Violation: deny(1) file-write-data /private/var/root/Library/Preferences/com.apple.contextstored.plist Process: contextstored [174] Path: /System/Library/PrivateFrameworks/CoreDuetContext.framework/Versions/A/Resources/contextstored Load Address: 0x10ab5c000 Identifier: contextstored Version: ??? (???) Code Type: x86_64 (Native) Parent Process: launchd [1] Responsible: /System/Library/PrivateFrameworks/CoreDuetContext.framework/Resources/contextstored [174] User ID: 0 Date/Time: 2019-01-26 10:56:02.818 EST OS Version: Mac OS X 10.14.3 (18D42) Report Version: 8 MetaData: {"target":"\/private\/var\/root\/Library\/Preferences\/com.apple.contextstored.plist","responsible-process-pid":174,"vnode-type":"REGULAR-FILE","sandbox_checker":"cfprefsd","normalized_target":["private","var","root","Library","Preferences","com.apple.contextstored.plist"],"summary":"deny(1) file-write-data \/private\/var\/root\/Library\/Preferences\/com.apple.contextstored.plist","action":"deny","platform-policy":false,"operation":"file-write-data","platform-binary":true,"platform_binary":"yes","primary-filter":"path","responsible-process-path":"\/System\/Library\/PrivateFrameworks\/CoreDuetContext.framework\/Resources\/contextstored","primary-filter-value":"\/private\/var\/root\/Library\/Preferences\/com.apple.contextstored.plist","file-flags":0,"uid":0,"signing-id":"com.apple.contextstored","hardware":"Mac","pid":174,"process-path":"\/System\/Library\/PrivateFrameworks\/CoreDuetContext.framework\/Versions\/A\/Resources\/contextstored","checker":"cfprefsd","flags":5,"errno":1,"build":"Mac OS X 10.14.3 (18D42)","rdev":0,"path":"\/private\/var\/root\/Library\/Preferences\/com.apple.contextstored.plist","process":"contextstored","checker-pid":115,"profile-in-collection":false,"profile-flags":0} Thread 0 (id: 1078): 0 libsystem_kernel.dylib 0x00007fff793e517a mach_msg_trap + 10 1 CoreFoundation 0x00007fff4c05b0c2 __CFRunLoopServiceMachPort + 337 2 CoreFoundation 0x00007fff4c05a611 __CFRunLoopRun + 1654 3 CoreFoundation 0x00007fff4c059d48 CFRunLoopRunSpecific + 463 4 CoreFoundation 0x00007fff4c059b54 CFRunLoopRun + 40 5 contextstored 0x000000010ab5f525 6 libdyld.dylib 0x00007fff792abed9 start + 1 7 contextstored 0x0000000000000001 Thread 1 (id: 283021): 0 libsystem_kernel.dylib 0x00007fff793e6b6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7949e405 start_wqthread + 13 2 contextstored 0x0000000054485244 Thread 2 (id: 283202): 0 libsystem_kernel.dylib 0x00007fff793e517a mach_msg_trap + 10 1 libdispatch.dylib 0x00007fff79271e0d _dispatch_mach_send_and_wait_for_reply + 630 2 libdispatch.dylib 0x00007fff792722ad dispatch_mach_send_with_result_and_wait_for_reply + 53 3 libxpc.dylib 0x00007fff794dd161 xpc_connection_send_message_with_reply_sync + 178 4 CoreFoundation 0x00007fff4c0c98ad __91-[CFPrefsPlistSource sendFullyPreparedMessage:toConnection:settingValue:forKey:retryCount:]_block_invoke + 29 5 CoreFoundation 0x00007fff4c050ade -[_CFXPreferences withConnectionForRole:performBlock:] + 36 6 CoreFoundation 0x00007fff4c0c9881 -[CFPrefsPlistSource sendFullyPreparedMessage:toConnection:settingValue:forKey:retryCount:] + 202 7 CoreFoundation 0x00007fff4c0c94e5 -[CFPrefsPlistSource sendMessageSettingValue:forKey:] + 605 8 CoreFoundation 0x00007fff4c0c8aca -[CFPrefsPlistSource alreadylocked_setPrecopiedValues:forKeys:count:from:] + 579 9 CoreFoundation 0x00007fff4c08c80d -[CFPrefsSource setValues:forKeys:count:copyValues:removeValuesForKeys:count:from:] + 394 10 CoreFoundation 0x00007fff4c08c67d -[CFPrefsSource setValues:forKeys:count:copyValues:from:] + 39 11 CoreFoundation 0x00007fff4c0cb502 -[CFPrefsSearchListSource alreadylocked_setPrecopiedValues:forKeys:count:from:] + 1000 12 CoreFoundation 0x00007fff4c08c80d -[CFPrefsSource setValues:forKeys:count:copyValues:removeValuesForKeys:count:from:] + 394 13 CoreFoundation 0x00007fff4c08c67d -[CFPrefsSource setValues:forKeys:count:copyValues:from:] + 39 14 CoreFoundation 0x00007fff4c0c886c -[CFPrefsSource setValue:forKey:from:] + 71 15 CoreFoundation 0x00007fff4c038b90 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 268 16 CoreFoundation 0x00007fff4c038852 -[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 337 17 CoreFoundation 0x00007fff4c0cb0f1 -[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:] + 90 18 CoreFoundation 0x00007fff4c0cb065 _CFPreferencesSetAppValueWithContainerAndConfiguration + 116 19 Foundation 0x00007fff4e422ec3 -[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 55 20 CoreDuet 0x00007fff5ff49de4 -[_DKActivityThrottler setDate:forKey:] + 116 21 CoreDuet 0x00007fff5ff48e74 -[_DKActivityThrottler _performNoMoreOftenInSecondsThan:name:activityBlock:throttleBlock:] + 340 22 CoreDuet 0x00007fff5ff496e6 __94-[_DKActivityThrottler _performOrScheduleWithTimeInterval:name:queue:activityBlock:callDepth:]_block_invoke.123 + 48 23 libdispatch.dylib 0x00007fff7925cd53 _dispatch_call_block_and_release + 12 24 libdispatch.dylib 0x00007fff7925ddcf _dispatch_client_callout + 8 25 libdispatch.dylib 0x00007fff79264124 _dispatch_lane_serial_drain + 618 26 libdispatch.dylib 0x00007fff79264bdc _dispatch_lane_invoke + 388 27 libdispatch.dylib 0x00007fff7926d090 _dispatch_workloop_worker_thread + 603 28 libsystem_pthread.dylib 0x00007fff7949e60b _pthread_wqthread + 409 29 libsystem_pthread.dylib 0x00007fff7949e405 start_wqthread + 13 Thread 3 (id: 283382): 0 libobjc.A.dylib 0x00007fff781cea29 objc_msgSend + 41 1 CoreData 0x00007fff4bbf0e0b -[NSSQLiteAdapter newInsertStatementWithRow:] + 91 2 CoreData 0x00007fff4bbf0c6e -[NSSQLiteConnection insertRow:] + 238 3 CoreData 0x00007fff4be06118 _writeChangesForSaveRequest + 968 4 CoreData 0x00007fff4be07aff _executeSaveChangesRequest + 367 5 CoreData 0x00007fff4bdce102 -[NSSQLSaveChangesRequestContext executeRequestCore:] + 18 6 CoreData 0x00007fff4bdb9edb -[NSSQLStoreRequestContext executeRequestUsingConnection:] + 219 7 CoreData 0x00007fff4bdcb84b __52-[NSSQLDefaultConnectionManager handleStoreRequest:]_block_invoke + 75 8 libdispatch.dylib 0x00007fff7925ddcf _dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff79269a2c _dispatch_lane_barrier_sync_invoke_and_complete + 60 10 CoreData 0x00007fff4bdcb730 -[NSSQLDefaultConnectionManager handleStoreRequest:] + 336 11 CoreData 0x00007fff4bcf5571 -[NSSQLCoreDispatchManager routeStoreRequest:] + 273 12 CoreData 0x00007fff4bcaf006 -[NSSQLCore dispatchRequest:withRetries:] + 246 13 CoreData 0x00007fff4bcaadb0 -[NSSQLCore processSaveChanges:forContext:] + 192 14 CoreData 0x00007fff4bbb1a22 -[NSSQLCore executeRequest:withContext:error:] + 850 15 CoreData 0x00007fff4bc879ba __65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke + 5274 16 CoreData 0x00007fff4bc7dcf0 -[NSPersistentStoreCoordinator _routeHeavyweightBlock:] + 288 17 CoreData 0x00007fff4bbb10fa -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 1258 18 CoreData 0x00007fff4bbdb178 -[NSManagedObjectContext save:] + 1960 19 CoreDuet 0x00007fff5ff3068a __42-[_DKKnowledgeStorage _saveObjects:error:]_block_invoke + 496 20 CoreData 0x00007fff4bbf44df developerSubmittedBlockToNSManagedObjectContextPerform + 175 21 libdispatch.dylib 0x00007fff7925ddcf _dispatch_client_callout + 8 22 libdispatch.dylib 0x00007fff79269a2c _dispatch_lane_barrier_sync_invoke_and_complete + 60 23 CoreData 0x00007fff4bc2f899 -[NSManagedObjectContext(_NSCoreDataSPI) performWithOptions:andBlock:] + 633 24 CoreDuet 0x00007fff5ff302d0 -[_DKKnowledgeStorage _saveObjects:error:] + 1029 25 CoreDuet 0x00007fff5ff2f9ad __64-[_DKKnowledgeStorage saveObjects:responseQueue:withCompletion:]_block_invoke_2 + 55 26 CoreDuet 0x00007fff5ff2f93f __64-[_DKKnowledgeStorage saveObjects:responseQueue:withCompletion:]_block_invoke + 141 27 libdispatch.dylib 0x00007fff7925cd53 _dispatch_call_block_and_release + 12 28 libdispatch.dylib 0x00007fff7925ddcf _dispatch_client_callout + 8 29 libdispatch.dylib 0x00007fff79264124 _dispatch_lane_serial_drain + 618 30 libdispatch.dylib 0x00007fff79264c0c _dispatch_lane_invoke + 436 31 libdispatch.dylib 0x00007fff7926d090 _dispatch_workloop_worker_thread + 603 32 libsystem_pthread.dylib 0x00007fff7949e60b _pthread_wqthread + 409 33 libsystem_pthread.dylib 0x00007fff7949e405 start_wqthread + 13 Thread 4 (id: 283465): 0 libsystem_kernel.dylib 0x00007fff793e794e __ulock_wait + 10 1 libobjc.A.dylib 0x00007fff781d3b84 objc_sync_enter + 27 2 CoreDuet 0x00007fff5ff48f5d -[_DKActivityThrottler _performOrScheduleWithTimeInterval:name:queue:activityBlock:callDepth:] + 104 3 CoreDuet 0x00007fff5ff483e3 -[_DKThrottledActivity performWithMinimumIntervalInSecondsOf:name:queue:activityBlock:] + 134 4 CoreDuet 0x00007fff5ffa9b29 -[_DKKnowledgeStorageLogging _sendDistributedNotificationName:object:throttledActivityName:] + 224 5 CoreDuet 0x00007fff5ffa9e29 -[_DKKnowledgeStorageLogging _sendDistributedNotificationName:streamNameCounts:] + 401 6 CoreDuet 0x00007fff5ffaa05d -[_DKKnowledgeStorageLogging knowledgeStorage:didInsertLocalEventsWithStreamNameCounts:] + 94 7 CoreDuet 0x00007fff5ff2f26b __63-[_DKKnowledgeStorage _sendEventsNotificationName:withObjects:]_block_invoke.142 + 43 8 libdispatch.dylib 0x00007fff7925cd53 _dispatch_call_block_and_release + 12 9 libdispatch.dylib 0x00007fff7925ddcf _dispatch_client_callout + 8 10 libdispatch.dylib 0x00007fff79264124 _dispatch_lane_serial_drain + 618 11 libdispatch.dylib 0x00007fff79264c0c _dispatch_lane_invoke + 436 12 libdispatch.dylib 0x00007fff7926d090 _dispatch_workloop_worker_thread + 603 13 libsystem_pthread.dylib 0x00007fff7949e60b _pthread_wqthread + 409 14 libsystem_pthread.dylib 0x00007fff7949e405 start_wqthread + 13 Thread 5 (id: 283573): 0 libsystem_kernel.dylib 0x00007fff793e6b6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff7949e405 start_wqthread + 13 Thread 6 (id: 283575): Binary Images: 0x10ab5c000 - 0x10ab60ff3 contextstored (915.240.4) <3a7911f4-4f46-377e-ac35-01772ef5c88a> /System/Library/PrivateFrameworks/CoreDuetContext.framework/Versions/A/Resources/contextstored 0x7fff4bb93000 - 0x7fff4bf34fef com.apple.CoreData (120 - 866.1) <18cd58fd-513e-385b-b43c-08eeb909709c> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x7fff4c01f000 - 0x7fff4c46cff7 com.apple.CoreFoundation (6.9 - 1561) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff4e3a4000 - 0x7fff4e772fff com.apple.Foundation (6.9 - 1561) <27fd022f-f0e3-3053-bada-df9bf856ca85> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x7fff5fe5f000 - 0x7fff60035ff3 com.apple.CoreDuet (1.0 - 1) <186c84c2-679e-3a75-86e1-0b4e7c155b4e> /System/Library/PrivateFrameworks/CoreDuet.framework/Versions/A/CoreDuet 0x7fff781c7000 - 0x7fff7894dfe7 libobjc.A.dylib (750.1) <804715f4-f52d-34d0-8fec-a25dc08513c3> /usr/lib/libobjc.A.dylib 0x7fff7925a000 - 0x7fff79294ff7 libdispatch.dylib (1008.220.2) <2fdb1401-5119-3df0-91f5-f4e105f00cd7> /usr/lib/system/libdispatch.dylib 0x7fff79295000 - 0x7fff792c4ff3 libdyld.dylib (655.1) <90c801e7-5d05-37a8-810c-b58e8c53953a> /usr/lib/system/libdyld.dylib 0x7fff793e4000 - 0x7fff7940cff7 libsystem_kernel.dylib (4903.241.1) /usr/lib/system/libsystem_kernel.dylib 0x7fff7949c000 - 0x7fff794a6fff libsystem_pthread.dylib (330.230.1) <80cc5992-823e-327e-bb6e-9d4568b84161> /usr/lib/system/libsystem_pthread.dylib 0x7fff794d3000 - 0x7fff79503fff libxpc.dylib (1336.240.2) /usr/lib/system/libxpc.dylib