08/10/2005 at 03:00 PM EDT
Courtney Love in trouble with authorities in Los Angeles, who say she has failed a drug test and violated her probation.
Los Angeles Superior Court Judge Rand Rubin issued a bench warrant for the troubled rocker on Wednesday, ordering her to return to court Aug. 19 for a review of her rehab reports.
The judge then threatened her attorney to do "something to solve Love's problem, or we're going to give her a year (in prison.)"
Love – who attended Sunday night's Comedy Central roast of Pamela Anderson and announced that she's "clean and sober" – also could potentially lose custody of Frances Bean Cobain, her 12-year-old daughter with late husband and Nirvana frontman Kurt Cobain.
Deputy District Attorney Gina Satriano said Love, 41, failed a drug test when she was hospitalized in July after fainting during a party at Hollywood's Roosevelt Hotel. At the time, Love's attorney, Michael Rosenstein, told the New York Post that Love was doing "fine. She's living a drug-free life."
In February, Love was sentenced to three years' probation and anger management counseling after pleading no contest to misdemeanor assault on a woman at the home of her former boyfriend.
At Sunday's Comedy Central party, Love said she was clean, but fretted that people only noticed her recent weight gain. "I am sober for over a year now and no one cares," she said on the red carpet. "It's all about the weight gain, na na na na na."