[Webkit-unassigned] [Bug 9446] New: REGRESSION: Crash in CFSetApplyFunction()

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Jun 14 18:40:04 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9446

           Summary: REGRESSION: Crash in CFSetApplyFunction()
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: Regression
          Severity: normal
          Priority: P1
         Component: Plug-ins
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ddkilzer at kilzer.net
                CC: sullivan at apple.com, timo at apple.com


I just had a crash in a locally-built r14868 in CFSetApplyFunction().  Looking
at the log file for r14867 in WebKit, this apparently was just added:

  <rdar://problem/4577988> GC: WebPluginController uses inefficient
resurrecting enumeration

  * Plugins/WebPluginController.m:
  (cancelOutstandingCheck):
  (-[WebPluginController _cancelOutstandingChecks]):
  Use CFSetApplyFunction() instead of an enumerator to guard against
modifications to the set while enumerating.

Here's the relevant part of the backtrace:

Thread 0 Crashed:
0   com.apple.CoreFoundation    0x907e1a44 CFSetApplyFunction + 68
1   com.apple.WebKit            0x0032f1b8 -[WebPluginController
_cancelOutstandingChecks] + 64 (WebPluginController.m:229)
2   com.apple.WebKit            0x0032f2e4 -[WebPluginController
destroyAllPlugins] + 224 (WebPluginController.m:243)
3   com.apple.WebKit            0x00369c20 -[WebHTMLView dealloc] + 184
(WebHTMLView.m:1950)
4   com.apple.AppKit            0x93730854 -[NSView release] + 200
5   com.apple.Foundation        0x92952968 NSPopAutoreleasePool + 536
6   com.apple.Safari            0x000701f4 0x1000 + 455156
7   com.apple.Foundation        0x92952968 NSPopAutoreleasePool + 536
8   com.apple.AppKit            0x9371c0d4 -[NSApplication run] + 544
9   com.apple.AppKit            0x9380cbfc NSApplicationMain + 452
10  com.apple.Safari            0x0005cb98 0x1000 + 375704
11  com.apple.Safari            0x0005ca40 0x1000 + 375360

At the time, I had just clicked on a link in Mail that opened in Safari, then
accidentally closed the window in Safari before it fully opened, then went back
to Mail and clicked on the same link again.  Instead of opening a new window,
Safari crashed.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list