Sonic dies for no reason in Carnival Night (S3&K)
Fighting the mini-boss in Carnival Night Zone Act 1 as Super Sonic or Hyper Sonic you can get inside a wall. And if you beat the boss as Tails, Sonic dies. Note that you're not stuck in the wall, you just need to move to get out from there.