My save from late/early? this night got totally borked. Not sure if its useful for analyzing or just a bad file write. I did do the change to the cost of terraforming facilities with SQLite Browser.
Game drops errors 1170, 3040, 1550 and then endless 917 on load.
I did explore 2 star systems beyond Sol and got attacked by a raider due to "NPR encounter raiders" option, likely.
Value separator was set to british on game creation.
1170 is loading system bodies from the database, 3040 is colony cost calculation, 1550 is orbital movement, 917 is a distance calculation
It looks like something in the system bodies table in the DB was corrupted, which affected the loading of system bodies, which affected colony cost, orbital movement, etc.
It's possible you inadvertently changed something - or maybe if the SQLite browser was still open it might have had some sort of lock on the database - as system bodies are one of the first tables to be opened.