Why does this code crash?

Printable View