SQL Server Management Studio 2016
This happened in SSMS 2017.  There was a pop-under "Add table to view" dialog that I didn't know about. 
When I went to close SSMS it warned me about the dialog (which I could not close/cancel), then gave me an ugly exception about protected memory.
After restarting SSMS it all worked again.