Coreduetd continuously crashing; stops spotlight from working
I have a brand new 12" Macbook. It is using a time machine restore from a retina MBP that was on 10.9 when the backup was made.
The symptom that made me notice this was that spotlight crashes - when hitting cmd+space, as soon as I unfocus from spotlight (whether by hitting enter or escape or clicking a result), it crashes. The actual search and display works fine, only when it is closing does it crash out. This causes it to lock up and freeze on the screen for 10+ seconds until OSX decides it is really dead and culls it. The part of spotlight still on the screen gives a beachball.
Activity log shows:
8/11/15 6:05:53.030 PM Spotlight[34535]: Hang timer fired; exiting
8/11/15 6:05:55.522 PM Spotlight[48607]: applications query - started
8/11/15 6:05:55.789 PM Spotlight[48607]: applications query - finished in 0.27 seconds
I've seen other issues on the forums where this is occurring and the fix is usually to remove /var/db/CoreDuet/* and reboot. I've done that. Yet it does appear that coreduetd is nevertheless the problem because mine is continuously crashing:
Aug 11 18:10:15 dynamo com.apple.xpc.launchd[1] (com.apple.coreduetd[48664]): Service exited due to signal: Abort trap: 6
Aug 11 18:10:15 dynamo com.apple.xpc.launchd[1] (com.apple.coreduetd): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.
Aug 11 18:10:24 dynamo.local coreduetd[48665]: -[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x137
Aug 11 18:10:24 dynamo.local coreduetd[48665]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x137'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8d62903c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff93a6a76e objc_exception_throw + 43
2 CoreFoundation 0x00007fff8d62c0ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff8d571e24 ___forwarding___ + 1028
4 CoreFoundation 0x00007fff8d571998 _CF_forwarding_prep_0 + 120
5 coreduetd 0x000000010184a14b coreduetd + 41291
6 coreduetd 0x000000010184d36a coreduetd + 54122
7 coreduetd 0x00000001018734fe coreduetd + 210174
8 coreduetd 0x0000000101863d72 coreduetd + 146802
9 libdyld.dylib 0x00007fff93e9a5c9 start + 1
)
Aug 11 18:10:25 dynamo com.apple.xpc.launchd[1] (com.apple.coreduetd[48665]): Service exited due to signal: Abort trap: 6
Aug 11 18:10:25 dynamo com.apple.xpc.launchd[1] (com.apple.coreduetd): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.
etc. Happens continuously. I've been googling for doesNotRecognizeSelector errors crashing coreduetd, and I've seen a lot of that issue but only 1-2 reports of that with coreduetd, and all of those were fixed by removing /var/db/CoreDuet/*
Does anyone have some insight?