DescriptionWork around a ridiculous bug in ATS, a deprecated system framework.
ATS likes to write to memory it doesn't own on Mac OS X 10.7 ("Lion"). This
happens in SendDeactivateFontsInContainerMessage, called by ATSFontDeactivate,
used by Chrome. SendDeactivateFontsInContainerMessage has some really sloppy
memory handling that can be avoided by making sure that a certain symbol,
__CTFontManagerUnregisterFontForData, is available. Note that the system's
CoreText framework has a _CTFontManagerUnregisterFontForData symbol, which is
probably what ATS should be looking for, but that's actually an entirely
different ridiculous bug in ATS.
ATS seems to have this bug on 10.6 ("Snow Leopard") too, but we haven't
noticed the corruption there. Maybe we're just lucky.
BUG=93191, 90884
TEST=1. Visit http://www.justgiving.nl/
2. Click the British flag in the top-right
3. Click the blue JustGiving logo in the top-left.
4. Wait for the page to finish loading, then repeat step 3.
Expect: to be able to continue performing step 4 repeatedly. No
sad tabs. No renderer crashes. No messages logged to the console about
memory (malloc) errors
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97320
Patch Set 1 #
Total comments: 1
Patch Set 2 : '' #
Messages
Total messages: 4 (0 generated)
|