Instead of saving, the latest hike is lost

When i end a hike, and click save, it spins for a while,
Then quits, and there is no longer any record of that hike.