Spotlight Hanging - MDSWorker Thread Exceptions
Hi,
I upgraded from Snow Leapord to Mavericks, and it is running very slowly. I noticed that Spotlight starts indexing and never finishes, it seems to stay stuck on 2 hours remaining. I have tried a few things, killing the Spotfire service, deleting the Spotfire-V100 directlry and restarting, and it happens every time.
I have excluded external USB drives from Spotfire, and have checked the integrity of the disk.
When I view the console logs I get loads of this kind of message.
Process: mds_stores [7105]
Path: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Support/mds_stores
Identifier: mds_stores
Version: 800.12
Code Type: X86-64 (Native)
Parent Process: launchd [1]
Responsible: mds_stores [7105]
User ID: 0
Date/Time: 2013-11-25 13:46:58.168 +0000
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 51677182-E53B-FDBB-5648-B45E5D30EA7F
Crashed Thread: 8 Dispatch queue: com.apple.metadata.spotlightindex
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000bad
VM Regions Near 0xbad:
-->
__TEXT 000000010a78b000-000000010a7c9000 [ 248K] r-x/rwx SM=COW /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Support/mds_stores
Application Specific Information:
[0x123db9000]/SourceCache/Spotlight_frameworks/Spotlight-800.12/index/common/Ter mTrie.c:258: failed assertion 'count<size' /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T (hfs, t: 0x11, st: 0x1, f: 0x480d000)
Initializing
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff85cb1a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff85cb0d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff85d2e315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff85d2d939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff85d2d275 CFRunLoopRunSpecific + 309
5 mds_stores 0x000000010a78f48a 0x10a78b000 + 17546
6 libdyld.dylib 0x00007fff88b295fd start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff85cb6662 kevent64 + 10
1 libdispatch.dylib 0x00007fff89fe143d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff89fe1152 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff85cb5e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff85c61f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff85c64fb9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff85cb5e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff85c61f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff85c64fb9 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff85cb5e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff85c61f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff85c64fb9 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff85cb1a6e semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x00007fff89fe39da _dispatch_semaphore_wait_slow + 147
2 libdispatch.dylib 0x00007fff89fe0f08 _dispatch_worker_thread + 145
3 libsystem_pthread.dylib 0x00007fff85c60899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff85c6072a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff85c64fc9 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff85cb1a6e semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x00007fff89fe39da _dispatch_semaphore_wait_slow + 147
2 libdispatch.dylib 0x00007fff89fe0f08 _dispatch_worker_thread + 145
3 libsystem_pthread.dylib 0x00007fff85c60899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff85c6072a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff85c64fc9 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff85cb1a6e semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x00007fff89fe39da _dispatch_semaphore_wait_slow + 147
2 libdispatch.dylib 0x00007fff89fe0f08 _dispatch_worker_thread + 145
3 libsystem_pthread.dylib 0x00007fff85c60899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff85c6072a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff85c64fc9 thread_start + 13
Thread 8 Crashed:: Dispatch queue: com.apple.metadata.spotlightindex
0 com.apple.spotlight.index 0x000000010a90742f TermTrieResolve + 4143
1 com.apple.spotlight.index 0x000000010a86b70c pushPropertyTermWithHash + 172
2 com.apple.spotlight.index 0x000000010a8681b8 getPropertyStringCallback + 280
3 com.apple.spotlight.index 0x000000010a887826 _CITokenizerGetTokens + 262
4 com.apple.spotlight.index 0x000000010a888321 CITokenizerGetTokens + 81
5 com.apple.spotlight.index 0x000000010a86937e invertValueToUpdateSet + 1806
6 com.apple.spotlight.index 0x000000010a8687c1 termUpdateSetProcessFields + 929
7 com.apple.spotlight.index 0x000000010a868bab TermUpdateSetAddDocumentInfo + 251
8 com.apple.spotlight.index 0x000000010a8575e8 setDocumentAttributes + 3368
9 com.apple.spotlight.index 0x000000010a843bac _CIUpdateContent + 736
10 com.apple.spotlight.index 0x000000010a8d611e ContentIndexUpdateContent + 127
11 com.apple.spotlight.index 0x000000010a8bf570 si_writeBackAndIndex + 2778
12 com.apple.spotlight.index 0x000000010a81132c setAttributes + 7383
13 com.apple.spotlight.index 0x000000010a7f9aa3 runLoop + 51
14 com.apple.spotlight.index 0x000000010a826bef work_fun + 739
15 libdispatch.dylib 0x00007fff89fdf2ad _dispatch_client_callout + 8
16 libdispatch.dylib 0x00007fff89fe168f _dispatch_queue_drain + 451
17 libdispatch.dylib 0x00007fff89fe29dd _dispatch_queue_invoke + 110
18 libdispatch.dylib 0x00007fff89fe1633 _dispatch_queue_drain + 359
19 libdispatch.dylib 0x00007fff89fe29dd _dispatch_queue_invoke + 110
20 libdispatch.dylib 0x00007fff89fe1633 _dispatch_queue_drain + 359
21 libdispatch.dylib 0x00007fff89fe29dd _dispatch_queue_invoke + 110
22 libdispatch.dylib 0x00007fff89fe0fa3 _dispatch_root_queue_drain + 75
23 libdispatch.dylib 0x00007fff89fe0eee _dispatch_worker_thread + 119
24 libsystem_pthread.dylib 0x00007fff85c60899 _pthread_body + 138
25 libsystem_pthread.dylib 0x00007fff85c6072a _pthread_start + 137
26 libsystem_pthread.dylib 0x00007fff85c64fc9 thread_start + 13
etc.
But also Spotfire entries like this:
folders/zz/zyxvpxvq6csfxvn_n0000000000000/T (hfs, t: 0x11, st: 0x1, f: 0x480d000)
Dec 14 11:13:02 imac ReportCrash[31559]: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled.
Dec 14 11:16:18 imac mds[34]: (Normal) ImportServer: Ignoring blacklisted Spotlight importer plugin:/Developer/Applications/Xcode.app/Contents/Library/Spotlight/SourceCode. mdimporter uuid:548A3091-3C5D-498A-A329-B532A6C896BB version:1801
Dec 14 11:16:18 imac mds[34]: (Normal) ImportServer: Ignoring blacklisted Spotlight importer plugin:/Developer/Applications/Xcode.app/Contents/Library/Spotlight/SourceCode. mdimporter uuid:548A3091-3C5D-498A-A329-B532A6C896BB version:1801
Dec 14 11:16:30 imac mds_stores[31560]: /SourceCache/Spotlight_frameworks/Spotlight-800.12/index/common/TermTrie.c:258: failed assertion 'count<size' /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T (hfs, t: 0x11, st: 0x1, f: 0x480d000)
Dec 14 11:16:30 imac ReportCrash[31605]: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled.
Dec 14 11:16:31 imac mds_stores[31606]: (/.Spotlight-V100/Store-V2/12C6D9B3-01FC-48D7-ADF1-9CD4FEB86AFA)(Error) IndexGeneral in int _SIOpenIndex(SIRef *, int, SIVolumeParams *, SIVolumeParams *, uint32_t, CIDocCounts *, SIFileOps, SIIndexCallbacks *, SIPersistentIDStoreRef, _Bool *, int *):check_crash_state: 1 for /.Spotlight-V100/Store-V2/12C6D9B3-01FC-48D7-ADF1-9CD4FEB86AFA
Dec 14 11:16:50 imac mds_stores[31606]: (/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T)(Warning) IndexSDB in void si_checkDuplicateOids(void *, Boolean):Starting index consistency check for /.Spotlight-V100/Store-V2/12C6D9B3-01FC-48D7-ADF1-9CD4FEB86AFA
Dec 14 11:16:50 iimac mds_stores[31606]: (/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T)(Warning) IndexSDB in void si_checkDuplicateOids(void *, Boolean):Finished index consistency check for /.Spotlight-V100/Store-V2/12C6D9B3-01FC-48D7-ADF1-9CD4FEB86AFA. Missing deletes:0
Dec 14 11:26:13 imac mds[34]: (Normal) ImportServer: Ignoring blacklisted Spotlight importer plugin:/Developer/Applications/Xcode.app/Contents/Library/Spotlight/SourceCode. mdimporter uuid:548A3091-3C5D-498A-A329-B532A6C896BB version:1801
Dec 14 11:26:13 imac mds[34]: (Normal) ImportServer: Ignoring blacklisted Spotlight importer plugin:/Developer/Applications/Xcode.app/Contents/Library/Spotlight/
Any advice appreciated, this all worked perfectly before I went ot mavericks.
Regards
i
Mac OS 9.0.x, Spotlight Mavericks