What does it mean when a guy complains about his girlfriend?

This is a mutual friend. We get together once a while as a group and he always brings up his girlfriend and how annoying, unrealistic, controlling she is.
I hate to be mean and tell him that if that's the case he should leave her BUT I feel like saying something. At least asking him why is he talking about her?
There was time when I realized that maybe he's not lying about her. She called him when we all were out and we heard her yell at him for being out with us.
Anyways, do you guys think he's looking for an advice? Why is complaining about her when she's so bad? What's that all about?

One important thing: it's not about sex. He told another guy that he has to ask her to have sex with him because she won't initiate and when he does, she often says no.
What does it mean when a guy complains about his girlfriend?
Post Opinion