Jennifer Garner and Ben Affleck may be headed for divorce, claims a report. Here, the couple attends the 2014 Vanity Fair Oscar party on March 2, 2014, in West Hollywood, California. Getty Images/Pascal Le Segretain

Rumors of a troubled marriage between “Batman v. Superman” actor Ben Affleck and former “Alias” star Jennifer Garner have been swirling for some time now. Though the two are just weeks away from celebrating a decade of matrimony, the couple may be teetering on the edge of divorce.

“Where’s there’s smoke, there’s fire,” a source told Us Weekly on Wednesday. “The marriage is in trouble.” The source also said the couple “have had problems from the very beginning,” mainly due to Affleck being a “workaholic” and his “many vices.”

Garner and Affleck have been spotted together several times in recent weeks despite the divorce rumors that surfaced in late May when unconfirmed reports said the duo were living completely separate lives outside of their children. The 43-year-old actress was last seen with her husband at a farmer’s market on Sunday. The couple’s three children, Violet, 9, Seraphina, 6, and Samuel, 3, were in tow. They were also spotted in the same location the previous week.

Affleck has been outspoken about his gambling habit, a “vice” that could be one of the reasons for the couple’s marital troubles. The 42-year-old confessed to Details magazine in September 2014 that he was removed from a blackjack table at the Hard Rock Hotel & Casino in Las Vegas, saying “once I became decent, the casinos asked me not to play blackjack.” He denied he had a gambling addiction.

Garner, 43, was married once before. She wed her “Felicity” co-star Scott Foley in 2000. The pair separated in 2003, and she met Affleck while filming Daredevil, when she played Elektra and he played the lead role. The couple was married in a private Turks and Caicos ceremony on June 29, 2005, officiated by Garner's "Alias" co-star and friend Victor Garber.