Hi Linc,
Thanks for picking up my thread and offering your insights.
Going to Console and filtering for mdworker reveals no entries what so ever. I recognize mdworker as one of the key components of Spotlight so suggests it's not running. I also see that Console is posting repeated crashes for for
LaunchServices/5123589
here's the full entry:
2/15/13 8:28:20.942 PM ReportCrash[637]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
2/15/13 8:28:20.942 PM ReportCrash[637]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
2/15/13 8:28:20.998 PM com.apple.launchd[1]: (com.apple.metadata.mds[640]) Job appears to have crashed: Segmentation fault: 11
2/15/13 8:28:20.998 PM com.apple.launchd[1]: (com.apple.metadata.mds) Throttling respawn: Will start in 10 seconds
2/15/13 8:28:21.107 PM ReportCrash[637]: Saved crash report for mds[640] version 707.3 to /Library/Logs/DiagnosticReports/mds_2013-02-15-202821_COMPUTER_NAME.crash
this certainly appears also to be Spotlight because running this in Terminal...
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
and the crash reports stop. Run this to reload Spotlight...
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
and the errors start again.
This is the crash report noted above - pretty sure this is what you want now - I see no mdsworker but mds errors all through...
Thoughts?
Thanks.
Process: mds [640]
Path: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Support/mds
Identifier: mds
Version: 707.3
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 0
Date/Time: 2013-02-15 20:28:20.498 -0500
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Crashed Thread: 9 Dispatch queue: <MDSDiskStore 0x7fd02500ac00 shutdown:NO got shutdown notification:NO>
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
VM Regions Near 0x8:
-->
__TEXT 000000010514c000-000000010526c000 [ 1152K] r-x/rwx SM=COW /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Support/mds
Application Specific Information:
[0x105b70000](Error) IndexGeneral in ssize_t fd_pread(fd_ptr, void *, size_t, off_t):pread(-1 , o:0, s:0) err:2
[0x105b70000](Error) IndexCI in _Bool store_stream_init(store_stream_t *, fd_ptr, _Bool):store_stream_init err:2
[0x105b70000](Warning) IndexStore in int db_restore_dirty_chunk_info(int, db_dirty_chunk_info *):Restore error: 2, recovering from shadow
[0x105b70000](Error) IndexState in int _SIOpenIndexFilesWithState(SIRef, uint32_t, _Bool, _Bool, _Bool, _Bool *, DocID *, CIDocCounts *):ContentInde
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff86abe686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff86abdc42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff84b22803 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff84b27ee6 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff84b276b2 CFRunLoopRunSpecific + 290
5 mds 0x000000010515aa54 0x10514c000 + 59988
6 libdyld.dylib 0x00007fff8a4327e1 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff86ac0d16 kevent + 10
1 libdispatch.dylib 0x00007fff8d81ddea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff8d81d9ee _dispatch_mgr_thread + 54
Thread 3:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 4:: Dispatch queue: <MDSDiskStore 0x7fd026826400 shutdown:NO got shutdown notification:NO>
0 libsystem_kernel.dylib 0x00007fff86ac0ae6 fsync + 10
1 com.apple.spotlight.index 0x000000010537b38b fd_sync + 381
2 com.apple.spotlight.index 0x00000001053a71d8 _CIMetaInfoSync + 157
3 com.apple.spotlight.index 0x00000001053a73ad CIMetaInfoCreate + 377
4 com.apple.spotlight.index 0x00000001052dfbaa SICreateNewIndex + 1106
5 mds 0x0000000105182318 0x10514c000 + 221976
6 mds 0x0000000105181a7a 0x10514c000 + 219770
7 mds 0x0000000105173868 0x10514c000 + 161896
8 mds 0x00000001051cd47e 0x10514c000 + 529534
9 mds 0x00000001051b4962 0x10514c000 + 428386
10 mds 0x00000001051b4b21 0x10514c000 + 428833
11 libdispatch.dylib 0x00007fff8d81b0b6 _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff8d81c47f _dispatch_queue_drain + 235
13 libdispatch.dylib 0x00007fff8d81c2f1 _dispatch_queue_invoke + 52
14 libdispatch.dylib 0x00007fff8d81c1c3 _dispatch_worker_thread2 + 249
15 libsystem_c.dylib 0x00007fff85029cab _pthread_wqthread + 404
16 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff86ac0ffa read + 10
1 mds 0x0000000105155ced 0x10514c000 + 40173
2 libsystem_c.dylib 0x00007fff85027742 _pthread_start + 327
3 libsystem_c.dylib 0x00007fff85014181 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 9 Crashed:: Dispatch queue: <MDSDiskStore 0x7fd02500ac00 shutdown:NO got shutdown notification:NO>
0 com.apple.spotlight.index 0x00000001052ecffc SISetTransactionCount + 212
1 mds 0x00000001051f951f 0x10514c000 + 709919
2 mds 0x00000001051fa08f 0x10514c000 + 712847
3 mds 0x0000000105172b82 0x10514c000 + 158594
4 mds 0x0000000105181eb1 0x10514c000 + 220849
5 mds 0x0000000105173868 0x10514c000 + 161896
6 mds 0x00000001051cd47e 0x10514c000 + 529534
7 mds 0x00000001051b4962 0x10514c000 + 428386
8 mds 0x00000001051b4b21 0x10514c000 + 428833
9 libdispatch.dylib 0x00007fff8d81b0b6 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff8d81c47f _dispatch_queue_drain + 235
11 libdispatch.dylib 0x00007fff8d81c2f1 _dispatch_queue_invoke + 52
12 libdispatch.dylib 0x00007fff8d81c1c3 _dispatch_worker_thread2 + 249
13 libsystem_c.dylib 0x00007fff85029cab _pthread_wqthread + 404
14 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 10:: Dispatch queue: <MDSDiskStore 0x7fd026820400 shutdown:NO got shutdown notification:NO>
0 libsystem_kernel.dylib 0x00007fff86abfb26 __fcntl + 10
1 libsystem_kernel.dylib 0x00007fff86abf0cb fcntl + 232
2 com.apple.spotlight.index 0x000000010537b303 fd_sync + 245
3 com.apple.spotlight.index 0x00000001054164f7 dirty_datastore_locked + 263
4 com.apple.spotlight.index 0x000000010541e025 add_dirty_chunk + 195
5 com.apple.spotlight.index 0x0000000105417b48 page_alloc + 290
6 com.apple.spotlight.index 0x0000000105417987 db2_store_obj + 325
7 com.apple.spotlight.index 0x00000001052d730d si_create_indexmetadata + 213
8 com.apple.spotlight.index 0x00000001052e5933 SIInitIndex + 15244
9 com.apple.spotlight.index 0x00000001052e0bc2 SICreateNewIndex + 5226
10 mds 0x0000000105182318 0x10514c000 + 221976
11 mds 0x0000000105181a7a 0x10514c000 + 219770
12 mds 0x0000000105173868 0x10514c000 + 161896
13 mds 0x00000001051cd47e 0x10514c000 + 529534
14 mds 0x00000001051b4962 0x10514c000 + 428386
15 mds 0x00000001051b4b21 0x10514c000 + 428833
16 libdispatch.dylib 0x00007fff8d81b0b6 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff8d81c47f _dispatch_queue_drain + 235
18 libdispatch.dylib 0x00007fff8d81c2f1 _dispatch_queue_invoke + 52
19 libdispatch.dylib 0x00007fff8d81c1c3 _dispatch_worker_thread2 + 249
20 libsystem_c.dylib 0x00007fff85029cab _pthread_wqthread + 404
21 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 11:: Dispatch queue: <MDSDiskStore 0x7fd027807a00 shutdown:NO got shutdown notification:NO>
0 libsystem_kernel.dylib 0x00007fff86ac0fbe pwrite + 10
1 com.apple.spotlight.index 0x00000001053a6f02 _copyFile + 981
2 com.apple.spotlight.index 0x00000001053a70f4 copyFile + 12
3 com.apple.spotlight.index 0x000000010541213d db2_update_datastore_state + 163
4 com.apple.spotlight.index 0x00000001052dde36 _SIOpenIndex + 3670
5 com.apple.spotlight.index 0x00000001052e0ea8 SIOpenIndex + 282
6 mds 0x0000000105182396 0x10514c000 + 222102
7 mds 0x0000000105181854 0x10514c000 + 219220
8 mds 0x0000000105173868 0x10514c000 + 161896
9 mds 0x00000001051cd47e 0x10514c000 + 529534
10 mds 0x00000001051b4962 0x10514c000 + 428386
11 mds 0x00000001051b4b21 0x10514c000 + 428833
12 libdispatch.dylib 0x00007fff8d81b0b6 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff8d81c47f _dispatch_queue_drain + 235
14 libdispatch.dylib 0x00007fff8d81c2f1 _dispatch_queue_invoke + 52
15 libdispatch.dylib 0x00007fff8d81c1c3 _dispatch_worker_thread2 + 249
16 libsystem_c.dylib 0x00007fff85029cab _pthread_wqthread + 404
17 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 13:: Dispatch queue: <MDSDiskStore 0x7fd02300ee00 shutdown:NO got shutdown notification:NO>
0 libsystem_kernel.dylib 0x00007fff86ac0fbe pwrite + 10
1 com.apple.spotlight.index 0x00000001053a6f02 _copyFile + 981
2 com.apple.spotlight.index 0x00000001053a70f4 copyFile + 12
3 com.apple.spotlight.index 0x000000010541213d db2_update_datastore_state + 163
4 com.apple.spotlight.index 0x00000001052dde36 _SIOpenIndex + 3670
5 com.apple.spotlight.index 0x00000001052e0ea8 SIOpenIndex + 282
6 mds 0x0000000105182396 0x10514c000 + 222102
7 mds 0x0000000105181854 0x10514c000 + 219220
8 mds 0x0000000105173868 0x10514c000 + 161896
9 mds 0x00000001051cd47e 0x10514c000 + 529534
10 mds 0x00000001051b4962 0x10514c000 + 428386
11 mds 0x00000001051b4b21 0x10514c000 + 428833
12 libdispatch.dylib 0x00007fff8d81b0b6 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff8d81c47f _dispatch_queue_drain + 235
14 libdispatch.dylib 0x00007fff8d81c2f1 _dispatch_queue_invoke + 52
15 libdispatch.dylib 0x00007fff8d81c1c3 _dispatch_worker_thread2 + 249
16 libsystem_c.dylib 0x00007fff85029cab _pthread_wqthread + 404
17 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff86ac06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff85029eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff85029cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff85014171 start_wqthread + 13
Thread 9 crashed with X86 Thread State (64-bit):
rax: 0x00000000ffffffff rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000082
rdi: 0x00007fd022829e00 rsi: 0x0000000000000001 rbp: 0x0000000105b6dfd0 rsp: 0x0000000105b6df50
r8: 0x0000000000000024 r9: 0x0000000000000000 r10: 0x00000001054b2ae8 r11: 0x00000001052ecf28
r12: 0x0000000000000100 r13: 0x0000000000000001 r14: 0x00007fd022829e00 r15: 0x00007fd022848c00
rip: 0x00000001052ecffc rfl: 0x0000000000010246 cr2: 0x0000000000000008
Logical CPU: 0
....................................
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 308
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=147.5M resident=115.1M(78%) swapped_out_or_unallocated=32.4M(22%)
Writable regions: Total=174.9M written=6084K(3%) resident=7420K(4%) swapped_out=0K(0%) unallocated=167.7M(96%)
REGION TYPE VIRTUAL
=========== =======
MALLOC 127.8M
MALLOC guard page 80K
Memory tag=241 136K
Memory tag=243 (reserved) 30.0M reserved VM address space (unallocated)
Memory tag=244 320K
STACK GUARD 56.1M
Stack 16.1M
VM_ALLOCATE 8K
__DATA 12.1M
__IMAGE 528K
__LINKEDIT 53.7M
__TEXT 93.8M
__UNICODE 544K
mapped file 18.6M
shared memory 308K
=========== =======
TOTAL 410.1M
TOTAL, minus reserved VM space 380.1M