Lily Allen has said the authorities "failed" her mentally ill stalker and more innocent people could get hurt as health services are cut.
Obsessed Alex Gray, who left Allen "terrified" after breaking into her bedroom, was sectioned earlier this month.
The singer was speaking two days after the murder of Labour MP Jo Cox, who died after being shot and stabbed in the street outside her constituency surgery in Birstall, near Leeds, on Thursday.
She tweeted: "I can't help but think that as funds are cut and our health service declines, we will see more examples where innocent people get hurt."
Allen, 31, added: "My stalker is mentally ill, the authorities failed him, his illness escalated and no one seemed to notice or care."
After Mrs Cox died on Thursday, A llen tweeted: " Jo Cox, bless you... A beautiful woman, mother, wife, campaigner, charity worker and humanitarian. I'm so so sad and sorry that this happened."
Thomas Mair, who has been charged with Mrs Cox's murder, gave his name as "Death to traitors, freedom for Britain" during his first court appearance, at Westminster Magistrates' Court.
Deputy Chief Magistrate Emma Arbuthnot suggested that a psychiatric report should be prepared, saying: "Bearing in mind the name he has just given, he ought to be seen by a psychiatrist."