nate-parrott / Flashlight

The missing Spotlight plugin system
http://flashlight.nateparrott.com
Other
5.39k stars 411 forks source link

Timestamp plugin causes Spotlight crash #329

Closed filliph closed 4 years ago

filliph commented 9 years ago

When I try to type "timestamp for today at 16:30", as soon as I type the last character (the 0), Spotlight crashes.

17/02/2015 18:52:45.479 Spotlight[84306]: detected buffer overflow 17/02/2015 18:52:46.526 com.apple.xpc.launchd[1]: (com.apple.Spotlight[84306]) Service exited due to signal: Abort trap: 6 17/02/2015 18:52:46.583 ReportCrash[84671]: Saved crash report for Spotlight[84306] version 1.0 (917.12) to [ https://www.dropbox.com/s/iscewwzhhtwveej/Spotlight_2015-02-17-185246_Fillips-MacBook-Pro.crash?dl=0 ]

Thanks!

nate-parrott commented 9 years ago

This looks like a crash inside moment, the library we're using for date parsing. Doesn't look like they're actively working on fixing the bugs right now. We may want to switch to a more robust parsing library — not sure what else there is to do right now, besides try to understand how to fix the bugs ourselves.