crap out

중상급 (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."