Spotlight crashes when entering a specific query string I have a folder on my mac which I access occasionally, let's say its name is FolderABC.
I usually hit CMD + Space to bring up Spotlight, then type the name into it and it will be the first result.
Recently, Spotlight crashes instead, as soon as I type Folder and before typing any more letters. If I type any other query, it works normally. I can tell it crashes since the Loupe icon briefly disappears from the menu bar (Spotlight restarts immediately) and looking in system.log in Console shows this, whenever the problem occurs:

Oct  4 18:27:21 my-macbook-pro com.apple.xpc.launchd[1] (com.apple.Spotlight[16126]): Service exited due to signal: Illegal instruction: 4 sent by exc handler[0]


I'm currently having Spotlight rebuild its index, but what else could I try?
Specifically, are there any debugging tools available to get a more detailed stack trace of what's causing the app to crash?

My OS version is 10.12.6
Old answer:

My first solution was simply reindexing all folders by running

sudo mdutil -E /


This did not help. I then renamed the folder in question, reindexed again, named it back and reindexed another time. The problem has now disappeared.

Update:

The bug seems to have been introduced with the update to Safari 12. As discussed in the apple product forums, a workaround is to disable Bookmarks &amp; History in the Spotlight system preferences.