It's a general term for any mechanical failure when riding.
Take a look at this list of cycling lingo and memorize it to be cool...
mechanical:
Slang for a problem with the bicycle. "He had a mechanical."
Cyclists have their own lingo and language. Hopefully this list will help make sense of it.
www.pactimo.com