Getting lots of out-of-process plugin hangs

Hi folks,

For the past day or two, when I run 64-bit Safari with plugins  
enabled, I get constant hangs (every half hour or so) that look like  
the sample below (details vary but it's always hanging in mach_msg in  
WebKit::NetscapePluginHostProxy::processRequests(). Any idea what  
might have gotten my machine into this state, how I could undo it, and  
what we could do to make Safari not vulnerable to this problem? (I'm  
terrified that it might be affecting other users.)

BTW the hanging plugin seems to be Flash, I am including its sample  
below the Safari one.

Analysis of sampling Safari (pid 8177) every 1 millisecond
Call graph:
     7518 Thread_427856   DispatchQueue_1: com.apple.main-thread   
(serial)
       7518 0x100001a28
         7518 NSApplicationMain
           7518 -[NSApplication run]
             7518 0x100031c10
               7518 -[NSApplication sendEvent:]
                 7518 -[NSApplication _handleKeyEquivalent:]
                   7518 -[NSMenu performKeyEquivalent:]
                     7518 -[NSCarbonMenuImpl  
performActionWithHighlightingForItemAtIndex:]
                       7518 -[NSMenuItem _corePerformAction]
                         7518 0x10004eef7
                           7518 -[NSApplication sendAction:to:from:]
                             7518 0x10009994b
                               7518 -[NSTabView selectTabViewItem:]
                                 7518 -[NSTabView  
_switchTabViewItem:oldView:withTabViewItem:newView:initialFirstResponder:lastKeyView 
:]
                                   7518 -[NSView replaceSubview:with:]
                                     7518 -[NSView addSubview:]
                                       7518 -[NSView _setWindow:]
                                         7518 CFArrayApplyFunction
                                           7518 -[NSView _setWindow:]
                                             7518 CFArrayApplyFunction
                                               7518 -[NSView  
_setWindow:]
                                                 7518  
CFArrayApplyFunction
                                                   7518 -[NSScrollView  
_setWindow:]
                                                     7518 -[NSView  
_setWindow:]
                                                       7518  
CFArrayApplyFunction
                                                         7518 -[NSView  
_setWindow:]
                                                           7518  
CFArrayApplyFunction
                                                             7518 - 
[NSControl _setWindow:]
                                                               7518 - 
[NSView _setWindow:]
                                                                 7518  
CFArrayApplyFunction
                                                                    
7518 -[NSView _setWindow:]
                                                                      
7518 -[WebBaseNetscapePluginView viewDidMoveToWindow]
                                                                        
7518 -[WebBaseNetscapePluginView start]
                                                                         7518 
  -[WebHostedNetscapePluginView createPlugin]
                                                                           7518 
  WebKit::NetscapePluginHostManager::instantiatePlugin 
(WebNetscapePluginP
ackage*, WebHostedNetscapePluginView*, NSString*, NSArray*, NSArray*,  
NSString*, NSURL*, bool)
                                                                             7518 
  WebKit::NetscapePluginInstanceProxy::processRequestsAndWaitForReply(u
nsigned int)
                                                                               7518 
  WebKit::NetscapePluginHostProxy::processRequests()
                                                                                 7518 
  mach_msg
                                                                                   7518 
  mach_msg_trap



Analysis of sampling WebKitPluginHost (pid 8400) every 1 millisecond
Call graph:
     7413 Thread_446947   DispatchQueue_1: com.apple.main-thread   
(serial)
       7413 0x2035
         7413 0x625f
           7413 -[NSApplication run]
             7413 -[NSApplication  
nextEventMatchingMask:untilDate:inMode:dequeue:]
               7413 _DPSNextEvent
                 7413 BlockUntilNextEventMatchingListInMode
                   7413 ReceiveNextEventCommon
                     7413 RunCurrentEventLoopInMode
                       7413 CFRunLoopRunInMode
                         7413 CFRunLoopRunSpecific
                           7413 __CFRunLoopRun
                             7413 0xe7a7
                               7413 Flash_EnforceLocalSecurity
                                 7413 Flash_EnforceLocalSecurity
                                   7413 0x13892c33
                                     7413 0x1395b9ff
                                       7413 0x13931c1f
                                         7413 0x13931b97
                                           7413 0x1391ae23
                                             7413 0x139151d2
                                               7413 0x139192e5
                                                 7413 0x1391814a
                                                   7413 0x13914339
                                                     7413  
Flash_EnforceLocalSecurity
                                                       7413 0x1cfbb93a
                                                         7413 0x1cfbc01c
                                                           7413  
0x19c9b6d2
                                                             7413  
0x1391a66c
                                                               7413  
0x139192e5
                                                                 7413  
0x1391814a
                                                                    
7413 0x13914339
                                                                      
7413 Flash_EnforceLocalSecurity
                                                                        
7413 0x1cfbc4e0
                                                                         7413 
  0x1cfbc624
                                                                           7413 
  0x1cfbc6bb
                                                                             7413 
  0x1cfbcfd4
                                                                               7413 
  0x1cfbe6d6
                                                                                 7413 
  0x1cfbeee3
                                                                                   7413 
  0x1cfc2d82
                                                                                     7413 
  0x1cfc2e6d
                                                                                       7413 
  Flash_EnforceLocalSecurity
                                                                                         7413 
  Flash_EnforceLocalSecurity
                                                                                           7413 
  0x1cfc3211
                                                                                             7413 
  Flash_EnforceLocalSecurity
                                                                                               7413 
  Flash_EnforceLocalSecurity
                                                                                                 7413 
  Flash_EnforceLocalSecurity
                                                                                                   7413 
  Flash_EnforceLocalSecurity
                                                                                                     7413 
  Flash_EnforceLocalSecurity
                                                                                                       7413 
  Flash_EnforceLocalSecurity
                                                                                                         7413 
  Flash_EnforceLocalSecurity
                                                                                                           7413 
  Flash_EnforceLocalSecurity
                                                                                                             7413 
  Flash_EnforceLocalSecurity
                                                                                                               7413 
  Flash_EnforceLocalSecurity
                                                                                                                 7413 
  Flash_EnforceLocalSecurity
                                                                                                                   7413 
  0x1cfc3a32
                                                                                                                     7413 
  0x19c9d47e
                                                                                                                       7413 
  0x1393baa5
                                                                                                                         7413 
  0x13939b4b
                                                                                                                           7413 
  0x139ad366
                                                                                                                             7413 
  0x139acd81
                                                                                                                               7413 
  sem_wait$NOCANCEL$UNIX2003

Received on Wednesday, 13 January 2010 05:43:45 UTC