[Webkit-unassigned] [Bug 99266] ASSERTION FAILED: !lookupForWriting(Extractor::extract(entry)).second : void WTF::HashTable<WTF::RefPtr<WebCore::SecurityOrigin>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 8 09:54:25 PST 2012


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


Jessie Berlin <jberlin at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andersca at apple.com,
                   |                            |jberlin at webkit.org,
                   |                            |kling at webkit.org




--- Comment #2 from Jessie Berlin <jberlin at webkit.org>  2012-11-08 09:56:01 PST ---
Anders pointed out that this might be caused by a combination of http://trac.webkit.org/changeset/130643 (Lower the default minimumTableSize for WTF hash tables from 64 to 8 entries) and a bad hash function for Security Origin:

SecurityOriginHash.h:

    static bool equal(SecurityOrigin* a, SecurityOrigin* b)
    {
        // FIXME: The hash function above compares three specific fields.
        // This code to compare those three specific fields should be moved here from
        // SecurityOrigin as mentioned in SecurityOrigin.h so we don't accidentally change
        // equal without changing hash to match it.
        if (!a || !b)
            return a == b;
        return a->equal(b);
    }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list