Jun 11, 2009
I found this a few months ago but forgot to post it: Fluid, the OSX WebKit-based single-site browser application, floods your /var/log/system.log with errors regarding CGWindowContextCreate failing:
FluidInstance: Failed to create window context device
CGWindowContextCreate: failed to create context delegate.
_initWithWindowNumber: error creating graphics ctxt object for ctxt:0x18343, window:0xffffffff
The bug was being discussed here (in which commenters pointed their fingers at several plugins) but the discussion seems to have ceased. The last suspected culprit is the Google Gears plugin (located in /Library/Internet Plug-Ins). Indeed, when I removed every plugin and added them back, the Gears plugin was the one that caused the flooding.
Running a sample trace in Activity Monitor comes up with this:
16 -[WebNetscapePluginDocumentView sendEvent:isDrawRect:]
16 -[WebNetscapePluginDocumentView saveAndSetNewPortStateForUpdate:]
14 -[NSWindow _threadContext]
14 -[NSWindowGraphicsContext _initWithWindowNumber:scaleFactor:]
The Fluid developer doesn’t seem to have figured out if it’s a Fluid issue or a specific plugin issue.