[Webkit-unassigned] [Bug 22444] New: Strange deadlocking in FontCache.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 23 21:12:10 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=22444

           Summary: Strange deadlocking in FontCache.cpp
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bfulgham at gmail.com


I tracked down the cause of a deadlock that began appearing after some of the
changes starting at @r35364 through current.

Behavior:  Launching the WinLauncher executable executes to the point that the
main frame is displayed, but the test rendering page is never displayed. 
Breaking in the debugger repeatedly revealed that the program was locked
attempting to set a missing font entry in the font cache:

[FontCache.cpp: 174]        gFontPlatformDataCache->set(key, result);

The debugger was actually stuck in the hash table implementation
(JSC::hashable.h, static bool isDeletedBucket).

By working from an existing good source tree, I found that the problem occurs
as soon as the new DEFINE_STATIC_LOCAL calls were introduced into the FontCache
object.


-- 
Configure bugmail: https://bugs.webkit.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