Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASSERTION FAILED: needsLayout() && logicalWidth() >= maxPreferredLogicalWidth() in WebCore::RenderMathMLRow::computePreferredLogicalWidths #22

Open
renatahodovan opened this issue Aug 23, 2013 · 0 comments
Assignees

Comments

@renatahodovan
Copy link

The test caused the crash:

<html>
    <font style="font: 29266em/9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 Ahem; ">
        <math>
            <mo></mo>
        </math>
    </font>
</html>

The backtrace:

ASSERTION FAILED: needsLayout() && logicalWidth() >= maxPreferredLogicalWidth()
/home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp(89) : virtual void WebCore::RenderMathMLRow::computePreferredLogicalWidths()
1 0x7ffff4710a15
2 0x7ffff38b38d3
3 0x7ffff38b394b
4 0x7ffff369feeb
5 0x7ffff371ee48
6 0x7ffff36ce6a8
7 0x7ffff36cd9f7
8 0x7ffff36d2f5f
9 0x7ffff36d2b67
10 0x7ffff36ce6c9
11 0x7ffff36cd9f7
12 0x7ffff36d2f5f
13 0x7ffff36d2b67
14 0x7ffff36ce6c9
15 0x7ffff36cd9f7
16 0x7ffff3892273
17 0x7ffff3893030
18 0x7ffff345b4c3
19 0x7ffff2f4b107
20 0x7ffff335f0c5
21 0x7ffff335ee36
22 0x7ffff335eb6b
23 0x7ffff2f5229f
24 0x7ffff31eeda1
25 0x7ffff3223afd
26 0x7ffff31f5b34
27 0x7ffff31f5c1f
28 0x7ffff31f478e
29 0x7ffff31f5c64
30 0x7ffff31f5d1d
31 0x7ffff3350e0d

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa66a9700 (LWP 30368)]
0x00007ffff4710a1a in WTFCrash () at /home/reni/Data/REPOS/webkitnix/Source/WTF/wtf/Assertions.cpp:342
342 *(int *)(uintptr_t)0xbbadbeef = 0;
(gdb) bt
#0 0x00007ffff4710a1a in WTFCrash () at /home/reni/Data/REPOS/webkitnix/Source/WTF/wtf/Assertions.cpp:342
#1 0x00007ffff38b38d3 in WebCore::RenderMathMLRow::computePreferredLogicalWidths (this=0x7d6968)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp:89

#2 0x00007ffff38b394b in WebCore::RenderMathMLRow::layout (this=0x7d6968)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp:98

#3 0x00007ffff369feeb in WebCore::RenderObject::layoutIfNeeded (this=0x7d6968) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderObject.h:707
#4 0x00007ffff371ee48 in WebCore::RenderBlock::layoutInlineChildren (this=0x7c45c8, relayoutChildren=true, repaintLogicalTop=..., repaintLogicalBottom=...)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlockLineLayout.cpp:2188

#5 0x00007ffff36ce6a8 in WebCore::RenderBlock::layoutBlock (this=0x7c45c8, relayoutChildren=true, pageLogicalHeight=)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:1664

#6 0x00007ffff36cd9f7 in WebCore::RenderBlock::layout (this=0x7c45c8) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:1428
#7 0x00007ffff36d2f5f in WebCore::RenderBlock::layoutBlockChild (this=0x900b48, child=0x7c45c8, marginInfo=..., previousFloatLogicalBottom=...,

maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:2680

#8 0x00007ffff36d2b67 in WebCore::RenderBlock::layoutBlockChildren (this=0x900b48, relayoutChildren=true, maxFloatLogicalBottom=...)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:2614

#9 0x00007ffff36ce6c9 in WebCore::RenderBlock::layoutBlock (this=0x900b48, relayoutChildren=true, pageLogicalHeight=)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:1666

#10 0x00007ffff36cd9f7 in WebCore::RenderBlock::layout (this=0x900b48) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:1428
#11 0x00007ffff36d2f5f in WebCore::RenderBlock::layoutBlockChild (this=0x715238, child=0x900b48, marginInfo=..., previousFloatLogicalBottom=...,

maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:2680

#12 0x00007ffff36d2b67 in WebCore::RenderBlock::layoutBlockChildren (this=0x715238, relayoutChildren=true, maxFloatLogicalBottom=...)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:2614

#13 0x00007ffff36ce6c9 in WebCore::RenderBlock::layoutBlock (this=0x715238, relayoutChildren=true, pageLogicalHeight=)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:1666

#14 0x00007ffff36cd9f7 in WebCore::RenderBlock::layout (this=0x715238) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderBlock.cpp:1428
#15 0x00007ffff3892273 in WebCore::RenderView::layoutContent (this=0x715238, state=...)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderView.cpp:142

#16 0x00007ffff3893030 in WebCore::RenderView::layout (this=0x715238) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/rendering/RenderView.cpp:327
#17 0x00007ffff345b4c3 in WebCore::FrameView::layout (this=0x67ebb0, allowSubtree=true)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/page/FrameView.cpp:1295

#18 0x00007ffff2f4b107 in WebCore::Document::implicitClose (this=0x691f90) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/dom/Document.cpp:2414
#19 0x00007ffff335f0c5 in WebCore::FrameLoader::checkCallImplicitClose (this=0x69b860)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/FrameLoader.cpp:850

#20 0x00007ffff335ee36 in WebCore::FrameLoader::checkCompleted (this=0x69b860) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/FrameLoader.cpp:793
#21 0x00007ffff335eb6b in WebCore::FrameLoader::finishedParsing (this=0x69b860) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/FrameLoader.cpp:726
#22 0x00007ffff2f5229f in WebCore::Document::finishedParsing (this=0x691f90) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/dom/Document.cpp:4387
#23 0x00007ffff31eeda1 in WebCore::HTMLConstructionSite::finishedParsing (this=0x6801a8)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/html/parser/HTMLConstructionSite.cpp:352

#24 0x00007ffff3223afd in WebCore::HTMLTreeBuilder::finished (this=0x680190)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2926

#25 0x00007ffff31f5b34 in WebCore::HTMLDocumentParser::end (this=0x761a30)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/html/parser/HTMLDocumentParser.cpp:763

#26 0x00007ffff31f5c1f in WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd (this=0x761a30)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/html/parser/HTMLDocumentParser.cpp:774

#27 0x00007ffff31f478e in WebCore::HTMLDocumentParser::prepareToStopParsing (this=0x761a30)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/html/parser/HTMLDocumentParser.cpp:211

#28 0x00007ffff31f5c64 in WebCore::HTMLDocumentParser::attemptToEnd (this=0x761a30)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/html/parser/HTMLDocumentParser.cpp:786

#29 0x00007ffff31f5d1d in WebCore::HTMLDocumentParser::finish (this=0x761a30)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/html/parser/HTMLDocumentParser.cpp:835

#30 0x00007ffff3350e0d in WebCore::DocumentWriter::end (this=0x6a1b70) at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/DocumentWriter.cpp:244
#31 0x00007ffff333ff27 in WebCore::DocumentLoader::finishedLoading (this=0x6a1ad0, finishTime=0)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/DocumentLoader.cpp:407

#32 0x00007ffff333fc90 in WebCore::DocumentLoader::notifyFinished (this=0x6a1ad0, resource=0x8c2220)

---Type to continue, or q to quit---
at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/DocumentLoader.cpp:344
#33 0x00007ffff33ca76c in WebCore::CachedResource::checkNotify (this=0x8c2220)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/cache/CachedResource.cpp:369

#34 0x00007ffff33ca842 in WebCore::CachedResource::finishLoading (this=0x8c2220)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/cache/CachedResource.cpp:385

#35 0x00007ffff33c76da in WebCore::CachedRawResource::finishLoading (this=0x8c2220, data=0x734be0)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/cache/CachedRawResource.cpp:94

#36 0x00007ffff338f037 in WebCore::SubresourceLoader::didFinishLoading (this=0x8c2790, finishTime=0)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/SubresourceLoader.cpp:282

#37 0x00007ffff338b339 in WebCore::ResourceLoader::didFinishLoading (this=0x8c2790, finishTime=0)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/loader/ResourceLoader.cpp:488

#38 0x00007ffff4026b29 in WebCore::readCallback (asyncResult=0x7f91f0, data=0x693950)

at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:1331

#39 0x00007ffff0377389 in async_ready_callback_wrapper (source_object=0x83fb60, res=0x7f91f0, user_data=0x693950) at ginputstream.c:530
#40 0x00007ffff03994db in g_task_return_now (task=0x7f91f0) at gtask.c:1105
#41 0x00007ffff03994f9 in complete_in_idle_cb (task=0x7f91f0) at gtask.c:1114
#42 0x00007ffff06bccd5 in g_main_dispatch (context=0x6106f0) at gmain.c:3054
#43 g_main_context_dispatch (context=context@entry=0x6106f0) at gmain.c:3630
#44 0x00007ffff06bd018 in g_main_context_iterate (context=0x6106f0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3701
#45 0x00007ffff06bd48a in g_main_loop_run (loop=0x610850) at gmain.c:3895
#46 0x00007ffff3fcfc2a in WebCore::RunLoop::run () at /home/reni/Data/REPOS/webkitnix/Source/WebCore/platform/nix/RunLoopNix.cpp:60
#47 0x00007ffff46bd712 in WebKit::WebProcessMainNix (argc=2, argv=0x7fffffffdc08)

at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/WebProcess/nix/WebProcessMainNix.cpp:84

#48 0x000000000040084a in main (argc=2, argv=0x7fffffffdc08) at /home/reni/Data/REPOS/webkitnix/Source/WebKit2/nix/MainNix.cpp:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants