Kate Hudson, upset by her breakup with Alex Rodriguez, found a sympathetic ear at the local premiere of “Nine.”

At Tuesday’s after-party at M2 in Chelsea, Hudson was seen chatting quietly with Madonna, who dated the Yankee slugger last year. “When the cameras were on Kate she was all smiles. But privately you could tell she has had her heart broken,” a witness said.

Humiliated Hudson, who was reportedly dumped by A-Rod because he felt she was hogging the spotlight, also flew in her mom, Goldie Hawn, to support her. Mother and daughter drank dirty martinis at M2 “and hung out all night,” a spy told Page Six. “It was her big premiere, and she was upset Alex wasn’t there to support her.”

PLUS: MADONNA, TIGER WOODS LINKED!

Hudson’s friends Tobey Maguire and Jennifer Meyer tried to be supportive, but couldn’t make it through the aggressive crowd to congratulate her. The couple gave up and slipped out the back entrance into their waiting SUV.

While Jay-Z‘s “Empire State of Mind” became a Yankees anthem during the World Series victory, it was hardly music to Hudson’s ears. “When the song was played at the after-party, Kate looked at her mom and did a fake scream,” our source says.

Still, there’s hope for the relationship. A pal of Hudson told us they’re trying to make up. The source said, “They had a huge fight in London at the premiere of ‘Nine,’ and Alex flew to Miami to hang out with his friends. But in the last few days he and Kate have started speaking again on the phone. She hopes they can work things out. But they are both very stubborn.”

Also making appearances at the party were stars Penelope Cruz and boyfriend Javier Bardem, Harvey Weinstein, Daniel Day-Lewis, and Fergie, who showed up with husband Josh Duhamel, despite an Atlanta stripper’s recent claims that she had a one-night stand with the actor. “They looked very affectionate all night,” says our spy.

SEE MORE PHOTOS FROM THE “NINE” PREMIERE HERE