[Webkit-unassigned] [Bug 46794] Crashes randomly in cairo_scaled_font_destroy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 13:02:44 PDT 2010


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





--- Comment #14 from Darin Adler <darin at apple.com>  2010-10-25 13:02:44 PST ---
(In reply to comment #13)
> I did attempt the HashTraits approach at first, but this did not fix the issue (my first patch on this bug). I think the trouble is that the RefPtr isn't the type contained in the HashMap, it is the containing type FontPlatformData. This is handled as a one-off by the Windows port. See win/RefCountedGDIHandle.h. Perhaps in this case, it just makes sense to manage memory manually and deal with the -1 inside FontPlatformDataFreetype. I'll post a patch.

This might be solved by changing FontPlatformDataFreetype to have different hash traits.

-- 
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