I had exactly the same problem as you after i upgraded my debian. I think the problem is related to key mappings. To solve the problem you can rename the .Xmodmap file in your home folder to .Xmodmap.bak or whatever you want, so gnome doesn't loads this configuration file. It works fine for me.
> cd /home/username > mv .Xmodmap .Xmodmap.bak Best regards