Fetching details from the dictionary...

to go mad; to lose one's mind; to go crazy; to go insane
to get out of order; to go amiss; to malfunction; to become imprecise
to go wrong (of a plan or expectation, etc.); to fall through; to get mixed up
to go crazy (over someone or something); to get enthusiastic; to go wild
長雨のせいで工事のスケジュールが狂ってきた。
The construction schedule has been thrown off due to the long rain.
時計が狂っているので直したいです。
The clock seems to be wrong.
急な変更で計画が狂ってしまった。
The plan has gone awry.