I'm familiar with the case of Romeo Phillion who spent 30 years in prison for a murder he did not commit. The Crown , at the time, had evidence of his innocence, but chose to keep quiet. Phillion is free now (at the Governments request, not because his sentence was over) and the Crown is doing everything they can to avoid compensating him. Seems those involved 30 years ago are now high ranking Court Officers.
Seems that the people from "Innocence Project" exposed the whole thing. Now, instead of compensating the guy, they just hope he goes away, or dies before they are further exposed.
This is clearly not a case of incompetent prosecution. The Crown KNEW he was in a different city at the time of the murder. But, they eventually got him to confess, and left him in prison for 30 years.