A crash sometimes occurs upon switching foreground and background using "x" key. Usually (perhaps always) occurs while gradient tool is selected, and often when the default foreground-to-transparent gradient is selected. Problem occurs in both Photoshop CS6 (individually-purchased program) and Photoshop CC. Both are up-to-date. The crash usually happens after I have been using the program for a minimum of 30 minutes.