kill -9 of gnome-screensaver at least changes the mouse cursor and makes it movable again. However, the rest of the display stays blank. I will try to attach gdb and strace next time it happens again.