SIGSEGV Spotlight error My new MacBook Pro 2018 8 core on Mojave has some issues generating a proper Spotlight database. I tried the obvious methods of excluding the drive, re-including it, and the terminal commands for rebuilding Spotlight. Additionally I ran Disk Utility First Aid twice, which automatically restarted my machine each time during process (?!)

These are the constant errors coming up in system log, they are thrown around every second.

Dec  6 23:25:46 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.mdworker.single.0A000000-0000-0000-0000-000000000000): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec  6 23:25:49 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.mdworker.single.09000000-0000-0000-0000-000000000000[4085]): Service exited due to SIGSEGV | sent by exc handler[4085]


When searching with Spotlight, the "Indexing" bar is constantly showing up, never progressing significantly. Some days later, still there.

I double clicked one of the mdworker_shared Process Names in Activity Monitor and clicked the tab "Open Files and Ports" which revealed this: 

cwd
/
txt
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mdworker_shared
txt
/Library/Preferences/Logging/.plist-cache.laC3ZYuM
txt
/usr/share/file/magic.mgc
txt
/usr/lib/dyld
txt
/private/var/folders/7l/6j3svjhs13l39y6f96hmw_j40000gq/0/com.apple.LaunchServices-231-v2.csstore
0
/dev/null
1
/dev/null
2
/dev/null
3
/Users/username/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/.DS_Store
4
/Users/username/Music/iTunes/.DS_Store
5
/Users/username/Library/Group Containers/QA2G25RMZ4.com.wunderkinder/Wunderlist/.DS_Store
6
/Users/username/Library/Application Support/AddressBook/.DS_Store
7
/Users/username/Library/Application Support/Google/Chrome/Default/.DS_Store
8
/Users/username/Library/Application Support/Google/Chrome/.DS_Store




The open files remain the same even after double-clicking the mdworker_shared process again.

So apparently there is an issue indexing the .DS_Store files?

Whats the catch?
From your report it looks like the Wondershare is a problem maker and slowing down the Spotlight.

/Users/username/Library/Group Containers/QA2G25RMZ4.com.wunderkinder/Wunderlist/.DS_Store


Shut the Wunderlist down.

You might want to consider giving the Spotlight a break so it can start over.

Turn it off

sudo mdutil -a -i off


this turns off indexing of files, 

To turn indexing back on, run

sudo mdutil -a -i on


After this you could run the complete re-indexing of your hard drive (be aware this could be an over night job), it will delete your Spotlight data base forcing it to start over.

sudo rm -rf /.Spotlight-V100/*