CloudKitDaemon constantly crashing, unable to vaccuum CloudKitMetadata
| Originator: | steipete | ||
| Number: | rdar://23344942 | Date Originated: | 31-Oct-2015 01:58 PM |
| Status: | Open | Resolved: | |
| Product: | OS X | Product Version: | 10.11.1 |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: We’re getting a ton of crashes on cloudkit, which disrupts our Jenkins setup. It seems that the sql file can’t be opened and the cloud daemon logic is unable to deal with that. Seems like an easy fix, please correct that in 10.11.2. CRASH REPORT: cloudd_2015-10-31-040733_macmini01.crash Process: cloudd [25513] Path: /System/Library/PrivateFrameworks/CloudKitDaemon.framework/Support/cloudd Identifier: cloudd Version: 480 (480) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: cloudd [25513] User ID: 501 Date/Time: 2015-10-31 04:07:33.554 -0700 OS Version: Mac OS X 10.11.1 (15B42) Report Version: 11 Anonymous UUID: 5085A387-71DD-7652-9499-4824A206623C Time Awake Since Boot: 770000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.cloudkit.systemAvailabilityQueue Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Error executing SQL: "VACUUM" (14) - errcode:000e, msg:"unable to open database file", size: 57344, path:/Users/USER/Library/Caches/*/CloudKitMetadata, fs:232690003968/248822890496' abort() called terminating with uncaught exception of type NSException Application Specific Backtrace 1: 0 CoreFoundation 0x00007fff9b172e32 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff9475ddd4 objc_exception_throw + 48 2 CoreFoundation 0x00007fff9b1d965d +[NSException raise:format:] + 205 3 CloudKit 0x00007fff9bbe5668 +[CKSQLiteError raise:code:extended:] + 1618 4 CloudKit 0x00007fff9bbe1c47 -[CKSQLite raise:] + 1055 5 CloudKit 0x00007fff9bbe1efd -[CKSQLite executeSQL:arguments:] + 285 6 CloudKit 0x00007fff9bbe1dcb -[CKSQLite executeSQL:] + 142 7 CloudKit 0x00007fff9bbe08b9 -[CKSQLite _periodicVacuum] + 304 8 CloudKit 0x00007fff9bbe1192 -[CKSQLite openWithError:] + 2127 9 CloudKit 0x00007fff9bbe12c3 -[CKSQLite open] + 42 10 CloudKitDaemon 0x00007fff9361fcb5 -[CKDMetadataCache init] + 262 11 CloudKitDaemon 0x00007fff9361fb76 __31+[CKDMetadataCache sharedCache]_block_invoke + 41 12 libdispatch.dylib 0x00007fff9db913c3 _dispatch_client_callout + 8 13 libdispatch.dylib 0x00007fff9db912bb dispatch_once_f + 67 14 CloudKitDaemon 0x00007fff9361fb4b +[CKDMetadataCache sharedCache] + 46 15 cloudd 0x000000010744a658 cloudd + 9816 16 CloudKitDaemon 0x00007fff934d390c __52-[CKDSystemAvailabilityMonitor _systemMayNowBeReady]_block_invoke + 213 17 libdispatch.dylib 0x00007fff9db913c3 _dispatch_client_callout + 8 18 libdispatch.dylib 0x00007fff9db929aa _dispatch_barrier_sync_f_invoke + 74 19 CloudKitDaemon 0x00007fff934d3786 -[CKDSystemAvailabilityMonitor _systemMayNowBeReady] + 276 20 CloudKitDaemon 0x00007fff934d3294 -[CKDSystemAvailabilityMonitor _init] + 161 21 CloudKitDaemon 0x00007fff934d3192 __45+[CKDSystemAvailabilityMonitor sharedMonitor]_block_invoke + 41 22 libdispatch.dylib 0x00007fff9db913c3 _dispatch_client_callout + 8 23 libdispatch.dylib 0x00007fff9db912bb dispatch_once_f + 67 24 CloudKitDaemon 0x00007fff934d3167 +[CKDSystemAvailabilityMonitor sharedMonitor] + 46 25 cloudd 0x00000001074498fa cloudd + 6394 26 cloudd 0x000000010744a39e cloudd + 9118 27 libdyld.dylib 0x00007fff93ec15ad start + 1 Global Trace Buffer (reverse chronological seconds): 18446744032.830784 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcda001540) failed 18446744032.830917 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8605770) failed 18446744032.831055 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8703d70) failed 18446744032.831127 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcda100230) failed 18446744032.831184 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcda200290) failed 18446744032.831268 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8523e20) failed 18446744032.831322 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd86050a0) failed 18446744032.831409 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcda100230) failed 18446744032.831505 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8605720) failed 18446744032.831573 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8605720) failed 18446744032.831638 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8605620) failed 18446744032.831680 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8605620) failed 18446744032.831711 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd86055e0) failed 18446744032.831768 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd86055e0) failed 18446744032.831829 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8604ee0) failed 18446744032.834061 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd86049f0) failed 18446744032.834377 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8604390) failed 18446744032.834431 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd8523bd0) failed 18446744032.834751 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd85233e0) failed 18446744032.834919 libsystem_trace.dylib 0x00007fff92d9b102 dyld_image_header_containing_address(0x7ffcd86040a0) failed Thread 0 Crashed:: Dispatch queue: com.apple.cloudkit.systemAvailabilityQueue 0 libsystem_kernel.dylib 0x00007fff931fb0ae __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff92869500 pthread_kill + 90 2 libsystem_c.dylib 0x00007fff97cf337b abort + 129 3 libc++abi.dylib 0x00007fff9c980f81 abort_message + 257 4 libc++abi.dylib 0x00007fff9c9a6a47 default_terminate_handler() + 267 5 libobjc.A.dylib 0x00007fff9476108d _objc_terminate() + 103 6 libc++abi.dylib 0x00007fff9c9a419e std::__terminate(void (*)()) + 8 7 libc++abi.dylib 0x00007fff9c9a4213 std::terminate() + 51 8 libdispatch.dylib 0x00007fff9db913d7 _dispatch_client_callout + 28 9 libdispatch.dylib 0x00007fff9db912bb dispatch_once_f + 67 10 com.apple.cloudkit.CloudKitDaemon 0x00007fff9361fb4b +[CKDMetadataCache sharedCache] + 46 11 cloudd 0x000000010744a658 0x107448000 + 9816 12 com.apple.cloudkit.CloudKitDaemon 0x00007fff934d390c __52-[CKDSystemAvailabilityMonitor _systemMayNowBeReady]_block_invoke + 213 13 libdispatch.dylib 0x00007fff9db913c3 _dispatch_client_callout + 8 14 libdispatch.dylib 0x00007fff9db929aa _dispatch_barrier_sync_f_invoke + 74 15 com.apple.cloudkit.CloudKitDaemon 0x00007fff934d3786 -[CKDSystemAvailabilityMonitor _systemMayNowBeReady] + 276 16 com.apple.cloudkit.CloudKitDaemon 0x00007fff934d3294 -[CKDSystemAvailabilityMonitor _init] + 161 17 com.apple.cloudkit.CloudKitDaemon 0x00007fff934d3192 __45+[CKDSystemAvailabilityMonitor sharedMonitor]_block_invoke + 41 18 libdispatch.dylib 0x00007fff9db913c3 _dispatch_client_callout + 8 19 libdispatch.dylib 0x00007fff9db912bb dispatch_once_f + 67 20 com.apple.cloudkit.CloudKitDaemon 0x00007fff934d3167 +[CKDSystemAvailabilityMonitor sharedMonitor] + 46 21 cloudd 0x00000001074498fa 0x107448000 + 6394 22 cloudd 0x000000010744a39e 0x107448000 + 9118 23 libdyld.dylib 0x00007fff93ec15ad start + 1 Thread 1: 0 libsystem_kernel.dylib 0x00007fff931fb78a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9286658c _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff92864375 start_wqthread + 13 Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff931fc0a2 kevent_qos + 10 1 libdispatch.dylib 0x00007fff9db9711d _dispatch_mgr_invoke + 216 2 libdispatch.dylib 0x00007fff9db96d85 _dispatch_mgr_thread + 52 Thread 3: 0 libsystem_kernel.dylib 0x00007fff931fb78a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9286658c _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff92864375 start_wqthread + 13 Thread 4: 0 libsystem_kernel.dylib 0x00007fff931fb78a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9286658c _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff92864375 start_wqthread + 13 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff587b7248 rdx: 0x0000000000000000 rdi: 0x000000000000160b rsi: 0x0000000000000006 rbp: 0x00007fff587b7270 rsp: 0x00007fff587b7248 r8: 0x0000000000000003 r9: 0x00007fff9c9a7a7c r10: 0x0000000008000000 r11: 0x0000000000000206 r12: 0x00007fff587b73d0 r13: 0x00007ffcd8518530 r14: 0x00007fff7c640000 r15: 0x00007fff587b72b0 rip: 0x00007fff931fb0ae rfl: 0x0000000000000206 cr2: 0x00007fff7d1c5038 Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!