WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
Bug 78332
[Qt] 6 SVG tests assert after
r107207
https://bugs.webkit.org/show_bug.cgi?id=78332
Summary
[Qt] 6 SVG tests assert after r107207
Csaba Osztrogonác
Reported
2012-02-10 00:46:27 PST
After
r107207
the following tests started to assert in debug mode: svg/custom/mask-child-changes.svg svg/custom/mask-invalidation.svg svg/custom/absolute-sized-content-with-resources.xhtml ASSERTION FAILED: m_transparencyCount > 0 ../../../../Source/WebCore/platform/graphics/GraphicsContext.cpp(346) : void WebCore::GraphicsContext::endTransparencyLayer() Nikos comment on the original bug: "hm, I guess this only exposes a Qt bug - that's now visible due the changed timing. It's not something I can fix without a Qt build"
Attachments
Add attachment
proposed patch, testcase, etc.
Csaba Osztrogonác
Comment 1
2012-02-10 00:57:13 PST
I skipped the to paint the bot green -
http://trac.webkit.org/changeset/107378
Please unskip them with the proper fix.
Nikolas Zimmermann
Comment 2
2012-02-17 03:12:47 PST
> ASSERTION FAILED: m_transparencyCount > 0
Hmpf, the problem is the m_transparencyCount generalization. Qt maintains a different count "layerCount" returned by isInTransparentLayer(), and it calls endTransparencyLayer too often, compared to all other ports - to support image clipping. Cairo has similar needs (mask image operation during restore()) but doesn't suffer from the problem - can this be reused instead? I hope Zoltan can have a look.
Nikolas Zimmermann
Comment 3
2012-02-17 03:19:49 PST
Bug 67543
is the culprit, leading to the Qt assertion.
Csaba Osztrogonác
Comment 4
2012-02-21 04:59:08 PST
Two more asserting test: svg/dynamic-updates/SVGMaskElement-svgdom-width-prop.html svg/dynamic-updates/SVGMaskElement-dom-x-attr.html
Csaba Osztrogonác
Comment 5
2012-02-21 05:06:58 PST
(In reply to
comment #4
)
> Two more asserting test: > svg/dynamic-updates/SVGMaskElement-svgdom-width-prop.html > svg/dynamic-updates/SVGMaskElement-dom-x-attr.html
And svg/dynamic-updates/SVGPathElement-dom-requiredFeatures.html I skipped them too. I hope once the test coverge will hit 0% and then all tests will pass forever. :)
Kristóf Kosztyó
Comment 6
2012-05-15 01:14:38 PDT
Committed
r117040
: <
http://trac.webkit.org/changeset/117040
>
Kristóf Kosztyó
Comment 7
2012-05-15 02:31:20 PDT
These don't asserts now, hence I unskipped them in
r117040
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug