why does the following code crashes

Printable View