WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
59862
REGRESSION: ASSERTION FAILED: m_attributes.xValues().size() == textLength()
https://bugs.webkit.org/show_bug.cgi?id=59862
Summary
REGRESSION: ASSERTION FAILED: m_attributes.xValues().size() == textLength()
Dirk Schulze
Reported
2011-04-30 03:21:50 PDT
Visit Eriks test and you'll see the following Assertion immediately: ASSERTION FAILED: m_attributes.xValues().size() == textLength() /../Source/WebCore/rendering/svg/RenderSVGInlineText.cpp(131) : bool WebCore::RenderSVGInlineText::characterStartsNewTextChunk(int) const 1 WebCore::RenderSVGInlineText::characterStartsNewTextChunk(int) const 2 WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath(WebCore::SVGInlineTextBox*, WebCore::RenderSVGInlineText*, WebCore::RenderStyle const*) 3 WebCore::SVGTextLayoutEngine::layoutInlineTextBox(WebCore::SVGInlineTextBox*) 4 WebCore::SVGRootInlineBox::layoutCharactersInTextBoxes(WebCore::InlineFlowBox*, WebCore::SVGTextLayoutEngine&) 5 WebCore::SVGRootInlineBox::layoutCharactersInTextBoxes(WebCore::InlineFlowBox*, WebCore::SVGTextLayoutEngine&) 6 WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation() 7 WebCore::RenderBlock::layoutInlineChildren(bool, int&, int&) 8 WebCore::RenderBlock::forceLayoutInlineChildren() 9 WebCore::RenderSVGText::layout() 10 WebCore::SVGRenderSupport::layoutChildren(WebCore::RenderObject*, bool) 11 WebCore::RenderSVGHiddenContainer::layout() 12 WebCore::SVGRenderSupport::layoutChildren(WebCore::RenderObject*, bool) 13 WebCore::RenderSVGRoot::layout() 14 WebCore::FrameView::layout(bool) 15 WebCore::Document::updateLayout() 16 WebCore::Document::updateLayoutIgnorePendingStylesheets() 17 WebCore::SVGElementInstance::invalidateAllInstancesOfElement(WebCore::SVGElement*) 18 WebCore::SVGStyledElement::childrenChanged(bool, WebCore::Node*, WebCore::Node*, int) 19 WebCore::SVGTextPositioningElement::childrenChanged(bool, WebCore::Node*, WebCore::Node*, int) 20 WebCore::ContainerNode::removeChildren() 21 WebCore::Node::setTextContent(WTF::String const&, int&) 22 WebCore::setJSNodeTextContent(JSC::ExecState*, JSC::JSObject*, JSC::JSValue) I hope I can find the time to create a minimal test, but I can't promise.
Attachments
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2011-05-17 15:06:17 PDT
Hi Dirk, The url is slow and probably buggy, but I dont hit the asserts mentioned below anymore on Snow Leopard and QtWebkit. Cheers, Rob.
Dirk Schulze
Comment 2
2011-05-18 08:05:38 PDT
Yes,I can confirm that it does not happen with the latest trunk build. The performance is more worse than it used to be. But this is another bug.
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