No rips, trips or nip slips -- last night's Emmys 2012 red carpet was miraculously absent of any wardrobe malfunctions!

Backstage, on the other hand, was another story. Sofia Vergara couldn't manage to make it through the night in her stunning teal Zuhair Murad gown, which split just twenty minutes before her show, "Modern Family," won the Emmy for Best Comedy.

Vergara, who turns out to be quite the prolific tweeter (and in multiple languages, no less), posted a zoomed-in photo of her backside with the caption, "Yes!!!! This happend 20 min before we won!!!! Jajajajja. I luv my life!!!!" Several inches of zipper broke... right over her famous derriere.

Luckily Vergara had helpers on hand to fasten her back up. "20 min Modern Family won!! Dress malfuncion !!! Thank you emergency team!!!" she tweeted, getting sewn up again.

In conclusion, when we refer to a dress that is "barely able to contain so-and-so's curves," we are not joking. Some dresses are simply not up to the task.

Check out Sofia's revealing (and NSFW-ish) pics below -- and see her all glammed-up on the red carpet in our Emmys 2012 red carpet slideshow!

PHOTOS:


Sofia Vergara on WhoSay

Sofia Vergara on WhoSay

See more instances of outfits gone awry...

Loading Slideshow...
  • Amal Fashanu February 2013

    (Getty photo)

  • Brittny Gastineau October 2012

    (Xposurephotos)

  • Jennifer Lopez October 2012

    Pacific Coast News)

  • Joanna Krupa October 2012

    (Pacific Coast News)

  • Sofia Vergara, September 2012

    (Twitter/WhoSay photos)

  • Emma Watson September 2012

    (Splash News)

  • Amy Heidemann of Karmin, September 2012

  • Demi Lovato, July 2012

    (AP photo)

  • Jennifer Lopez, July 2012

    (Pacific Coast News photo)

  • Nicki Minaj, August 2012

    (Pacific Coast photo)

  • Gloria Glovan, June 2012

  • Sharon Stone, June 2012

    (Getty photo)

  • Lindsay Lohan, June 2012

    (Fame Flynet photo)

  • Lisa Rinna, June 2012

    (Getty photo)

  • Melody Thornton, April 2012

    (Getty photo)

  • Demi Lovato, September 2011

  • Charlotte Kemp, September 2011

    (Getty photo)

  • Ellie Kemper, February 2012

  • Lydia Bright, July 2011

  • Lady Gaga, June 2011

    (Fame Flynet photo)

  • Lady Gaga, May 2011

    (Getty photo)

  • Milla Jovovich, March 2011

    (Pacific Coast News photo)

  • Monica Bellucci, February 2011

    (Pacific Coast News photo)

  • Pamela Anderson, February 2011

    (Pacific Coast News photo)

  • Hayden Panettiere, January 2011

    (Getty photo)

  • Cher, December 2010

    (Pacific Coast News photo)

  • Venus Williams, July 2010

    (Pacific Coast News photo)

  • Tila Tequila, May 2010

  • Kim Kardashian, March 2010

    (Fame Flynet photo)

  • Katherine Heigl, March 2010

    (Getty photo)

  • Kate Moss, August 2009

    (Pacific Coast News photo)

  • Micha Barton, September 2008

    (Pacific Coast News photo)

  • Brad Pitt, January 2009

  • Lily Allen, July 2008

    (Pacific Coast News photo)

  • Victoria Beckham, April 2007

    (Pacific Coast News photo)

  • Lindsay Lohan, January 2007

    (Getty photo)

  • Minka Kelly, October 2007

    (Pacific Coast News photo)

  • Paris Hilton, May 2006

    (Fame Flynet photo)

  • Naomi Watts, July 2002

    (Getty photo)

  • Cara Kilbey Narrowly Avoids a Wardrobe Malfunction

Want more? Be sure to check out HuffPost Style on Twitter, Facebook, Tumblr and Pinterest.