Technocrank

Icon

It Done Broke.

Fluid SSB With Gears Doesn’t Hide Well

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[3592]: 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 WebNetscapePluginEventHandlerCarbon::sendNullEvent()
16 WebNetscapePluginEventHandlerCarbon::sendEvent(EventRecord*)
16 -[WebNetscapePluginDocumentView sendEvent:isDrawRect:]
16 -[WebNetscapePluginDocumentView saveAndSetNewPortStateForUpdate:]
14 -[NSWindow _threadContext]
14 -[NSWindowGraphicsContext _initWithWindowNumber:scaleFactor:]
7 CGWindowContextCreate
7 __CGWindowContextDelegateCreate
5 RIPDeviceCreateWindowDevice
5 CGSDeviceCreate
5 _CGSReferenceWindowByID
5 _CGSFindSharedWindow
5 _CGSGetSharedWindow
5 mach_msg
5 mach_msg_trap
5 mach_msg_trap

The Fluid developer doesn’t seem to have figured out if it’s a Fluid issue or a specific plugin issue.

Category: Troubleshooting, Web

Tagged: , , , ,

Leave a Reply