Every window opened generates a "The function ‘CGContextErase’ is obsolete" message in console
I found the culprit. It was the outdated Tablet Driver from Wacom. After I uninstalled and upgraded it, there is no more such messages in console.