This weekend sees the release of Trainwreck, the newest Judd Apatow romantic comedy starring (and written by) Amy Schumer. While the film’s title may be taking back the term tossed toward any public figure whose crazy antics spark pleasure (and schadenfreude) in us lowly common folk who can’t turn away, it still maintains the dark subtext: a trainwreck is, after all, someone whose messy life is enabled by the industries that profit upon it. Awful as it might be to watch a famous person dive deep into the depths of their own personal struggles, sometimes we can’t help but be mesmerized by them — especially when their behind-the-scenes behavior affected the movies in which they starred.

Here are ten films that featured celebrities whose infamous vices affected their roles — and the films’ productions.