crap out

Upper Intermediate (B2) informal

To suddenly stop working, or to give up and quit something you said you would do.

"My laptop crapped out right in the middle of the presentation."