A man at the centre of a fatal stabbing in a flat was discharged to his family's care without a face-to-face handover by doctors treating his "delusional" behaviour.
Police Using 'Damaged Cars & Mouldy Rooms'
Police Scotland are using cars held together with duct tape and cable ties, while interview suites for sex assault victims have water coming in and mouldy carpets, the body that represents rank-and-file officers has said.
Calum Steele, general secretary of the Scottish Police Federation (SPF), said decades of under-investment in infrastructure has left the force with a "crumbling police estate''.
He warned Justice Secretary Michael Matheson: "If we do not turn our attention to dealing with these things now, our police service is going to go off a cliff edge.
"We are at a precipice, there are huge risks to this service.''
Mr Steele was speaking at an SPF fringe meeting at the SNP conference in Glasgow, and he showed a series of photographs to the audience.
He said there had been "decades of failures to invest'' in infrastructure, claiming police boards that ran the eight forces which merged to form Police Scotland had "made a pig's ear of looking after the things they were charged with looking after''.
Mr Steele said: "Decades of failures cannot be afforded to be left unchecked at this point of time, because if we do we will have a service that rather than delivering excellence can only ever aspire to mediocrity, and I don't think that's going to be good enough.''
He claimed officers "are fighting 21st-century crime with technology that was developed in the 1990s'', with the force using "versions of Windows that Microsoft no longer supports''.
Day to day spending at Police Scotland on expenses such as staffing is expected to be £21 million over budget by the end of 2016-17.
Mr Steele continued: "Police officers are doing a hell of a job under very, very difficult circumstances, the scale of the financial challenge facing the police service is enormous.''
He showed pictures that he said came from inside police buildings, and of one of the cars being used, and said: "We have a crisis, a genuine crisis, coming round the corner as far as our facilities are concerned.''
An interview suite used to question victims of sex crimes who have undergone a "harrowing ordeal'' has mould on the carpets as well as damp on the ceilings, water coming in and "absolutely stinks of damp'', he said.
"That's the kind of facilities we, through no fault of our own, are bringing victims of crime. Can you imagine for a moment what that must be like going in there, looking for a professional service?''
Mr Steele continued: "We have police vehicles held together with duct tape and cable ties. Duct tape and cable ties, that is what is keeping our fleet together on the road right now because we have no money.
"This is the reality of no money to invest in the estate of the police service of Scotland.''
Mr Matheson, who was also at the fringe event, said the pictures "illustrate the chronic under-investment in the police estate over many decades''.
The Justice Secretary also spoke of the "challenges which will be faced going forward for Police Scotland to try to invest in these areas where they can in order to try to improve the conditions''.
But he stressed: "These are not issues that have just arisen through the creation of Police Scotland, they have been there for many, many years. It is going to take time in order to deal with some of these issues.
"A key part of what has to happen is for the service to prioritise areas where it wants to see that capital investment going into in order to make sure it is dealing with the areas that require to be addressed as early as possible.
"There is an estate plan which the police themselves are taking forward. These haven't happened through the creation of Police Scotland, that is through previous lack of investment into the police estate by the former legacy forces that will have to be addressed in the years going forward by Police Scotland.''
Scottish Labour's justice spokeswoman Claire Baker said: "Accounts released in August revealed that Police Scotland cannot invest in capital and infrastructure because they aren't getting the resources they need from the SNP Government to pay for staff and officers.
"No wonder officer levels are at their lowest since 2010 whilst civilian staff posts have been slashed.''
Liam McArthur, justice spokesman for the Scottish Liberal Democrats, said: "The savings that the SNP promised would come from the creation of Police Scotland have simply not materialised and officers and civilian staff are facing years of further spending cuts as a result. That is not good for our police and it is not good for communities across Scotland.''
Two men and a woman have been arrested after police seized drugs worth an estimated £58,000.
Stefano Brizzi was found hanged in his cell around a month after being taken off suicide watch, an inquest heard.
iona McMaster, 41, was reported missing having last been seen outside Marks and Spencer in Morningside Road in Edinburgh at around 4.40pm on August 8.
Most Viewed Pictures On Heart
Recently Played Tracks
To listen live, choose your preferred station:
Now playing: The best feel good music
Deposit £10 to get a £40 Welcome Bonus - That's £50 to play bingo, slots and more!*
Over 50 tracks to make you feel-good. New album out now...
Find your local four day weather report here.
Make Heart the soundtrack to your day and you could be a winner with great prizes up for grabs throughout the day.
Find out more about some of the companies advertising on Heart Scotland- East.