pain in the rear
An especially irritating, aggravating, or obnoxious person, thing, or situation. You know, Jack, you may be my friend, but you can be a real pain in the rear sometimes! This calculus homework is a real pain in the rear. It's not that I don't understand it, it's just so tedious!