When switching in and out of fullscreen mode, using the fullscreen button in the options menu and pressing F11, the game creates a weird graphic issue over the entire screen and renders the game unplayable. You can't exit from the game nor try to get it working again. Everytime it has happened, I have to restart my computer manually. It happens with or without a custom texture pack, and both on singleplayer and multiplayer.
Related issues
Comments

A few troubleshooting suggestions:
Can you press CTRL+ALT+F1 to switch to a virtual terminal? If not, can you start an SSH server and try connecting to your frozen machine remotely?
If you can do either of these then you should be able to get a stack trace of the Java process for troubleshooting. Use "jstack":
brenrigh@lambda ~ $ jstack --help
Usage:
jstack [-l] <pid>
(to connect to running process)
jstack -F [-m] [-l] <pid>
(to connect to a hung process)
jstack [-m] [-l] <executable> <core>
(to connect to a core file)
jstack [-m] [-l] [server_id@]<remote server IP or hostname>
(to connect to a remote debug server)
Options:
-F to force a thread dump. Use when jstack <pid> does not respond (process is hung)
-m to print both java and native frames (mixed mode)
-l long listing. Prints additional information about locks
-h or -help to print this help message
You should also be able to kill the process, or kill X and recover your machine without rebooting. Of course if your kernel is hung then none of these options will work. In that case, try enabling the Magic SysReq key. Take a look at the documentation in /usr/src/linux/Documentation/sysrq.txt
You can probably dump a kernel stack trace which will help if this is related to a video card driver issue.
If not, at least the Magic SysReq will let you try to sync your disks and remount everything RO before rebooting.
Duplicate of MC-2067.
Can you attach the crash report? Try updating your java, as your version is outdated. What are your system specs?