It happens all the time - many times reported as suicide or heat failure. Prisons depend on funding - a good report card means better funding.
Pedophiles don't go to prison unless they collect child *advertiser censored* or commit a crime against a child. Then they become *advertiser censored* traffickers and child molesters. Child molesters are only harmed when they are put into regular population. In most cases, they are in a completely different area of the prison and are given drugs to control them. This keeps the very thing you are addressing down - murders of child sex offenders in prison.
Sex in prison between inmates is about release for most of the (male) prisoners who participate - and it is something they do NOT report or want to admit. In other words, the statistics would be greatly skewed. They did a prisoner survey about a year or so ago, and the numbers were adamantly disputed by the prison system
Killings, again, are not rare - and beatings are common place. I have a good friend who is a prison guard. In the past few years she was involved in two hostage situations of which, only one was publicized.
His name was Geoghan and he was a child rapist. He was in protective custody but a prisoner still got to him.
Murderers and rapists don't sit around and admonish themselves about the crimes they commit...they don't anguish over the victims - they adapt. Richard Speck killed 6 six (approx.), nurses in the 60's. He was given life in prison - look up the video of him and his hormone induced breasts, snorting cocaine off his boyfriend's knee. The only justice for a convicted RB is sure and swift death - no waiting around 13 years for this states appeal process. ALL IMO, of course.
IMO