I managed to discover that the bug was caused by the pam-usb package which was installed on both my machines (at work and at home). After removing this package everything went back to normal.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/681321 Title: Xorg crash on attaching or detaching any USB device -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs