Camelot wrote:
> That link clearly shows it's a problem with a 3rd party Spotlight extension
I don't see that.
The only meaningful part of that GitHub issue is this snippet of the crash log:
Crashed Thread: 2 Dispatch queue: com.apple.suggestions.spotlightcollector.dispatchqueue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Finder [32950]
which pretty clearly says "spotlight".
Your crash report shows something similar (after saving as an IPS file and opening in Console.app):
Triggered by Thread: 15, Dispatch Queue: com.apple.suggestions.corespotlightcollector.dispatchqueue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Reason: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6
Terminating Process: Finder [15369]
Indeed, the problem occurs on my machine and as far as I'm aware, I don't have any third-party Spotlight extensions enabled. My Spotlight settings show only Apple first-party apps enabled and it's 100% reproducible.
That's not where Spotlight extensions are listed. Go to System Settings > Login Items & Extensions > Extensions > By Category > Spotlight and click the ⓘ button. If you want to use the command line, you can do "mdimport -L".
Indeed, even if I turn off every option in Spotlight settings, it still crashes.
There are a lot of misconceptions regarding Spotlight. It's a core operating system functionality. It cannot be turned off, controlled, or disabled in any way. All of those settings merely control whether or not you can perform queries on it. Maybe think of Spotlight as existing in two different domains. There's the Spotlight operating system function, which cannot be turned off or controlled. Then there's the Spotlight UI interface, which is what most people think of. Those are two completely separate things.
Oddly enough, there's always a possibly that you actually don't have any 3rd party spotlight extensions and this is an OS-level bug. But how to find out? Two things are necessary. Firstly, you have to confirm that, yea verily, you have no 3rd party Spotlight extensions. Then, you'll have to provide an example cube file that crashes the Finder. Until both of those are complete, the burden's on you to prove the crash. I don't know anything about these cube files. I can download some examples, search for them, and observe that Finder doesn't crash.
There is a reason for being so obstinate, you know. The most likely scenario, which has not yet been disproved in any way, is that a 3rd party app has a buggy Spotlight extension. If this is true, then people could simply disable that Spotlight extension and report the crash to the developers. This completely solves the crashing now, for those folks who notice, and potentially for anyone else in the future. That is the most likely scenario and is a path towards a complete and total solution.
Less likely, but certainly still possible, is an Apple OS bug. But if everyone assumes that an Apple OS bug is the only possible cause, then they eliminate even the possibility of that complete solution describe above. And that just seems silly to me.