Summary: | [Chromium] REGRESSION: Assertion failure on svg/custom/acid3-test-77.html | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Hajime Morrita <morrita> | ||||
Component: | SVG | Assignee: | Stephen Chenney <schenney> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | mitz, pdr, schenney, thorton, webkit.review.bot, zimmermann | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Hajime Morrita
2012-05-17 01:43:39 PDT
Good to know, thanks Hajime! All we need is another FontCachePurgePreventer protection in subtreeChildWasAdded() -- I was unsure whether it's needed, and locally I saw no problems with that test, but anyhow - I'll create a follow-up patch to fix this. The culprit, as Nikolas has acknowledged, is http://trac.webkit.org/changeset/117225 Funny thing is, I cannot reproduce this locally at all. Nor can I (Linux debug) I believe schenney tried both Linux and Win debug. This assertion is known to be tricky to nail down. I'm busy with other work until tomorrow evening, so if anyone wants to take this over no problem - just a matter of adding a FontCachePurgePreventer. I have a fix (well, Niko's fix) that seems to prevent the crash. I need to run it many times overnight, however, to be sure. So expect something tomorrow morning. I also ascertained that you need to run the full test suite, or at least a big chunk, in order to hit the crash. (In reply to comment #5) > I have a fix (well, Niko's fix) that seems to prevent the crash. I need to run it many times overnight, however, to be sure. So expect something tomorrow morning. > > I also ascertained that you need to run the full test suite, or at least a big chunk, in order to hit the crash. I think it's acceptable to land the speculative fix and see what happens since it hurts little - the test already crashes. Created attachment 142714 [details]
Patch
I have added font purge protections covering all cases where the SVG font metrics are cleared through the time they are rebuilt. Comment on attachment 142714 [details] Patch Rejecting attachment 142714 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: zz 3. patching file Source/WebCore/rendering/svg/RenderSVGText.cpp patching file LayoutTests/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file LayoutTests/platform/chromium/test_expectations.txt Hunk #1 FAILED at 3821. 1 out of 1 hunk FAILED -- saving rejects to file LayoutTests/platform/chromium/test_expectations.txt.rej Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Nikolas Zi..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/12730095 Committed r117790: <http://trac.webkit.org/changeset/117790> |