There's a bug near the end of Donkey Kong Country 2 in Castle Crush that I've heard can brick a console. Same for some code in NES Metroid, and I sorta remember that the glitch could brick 3DSes or something?