Bug 136371 - ASSERTION FAILED: view().layoutDeltaMatches(oldLayoutDelta) in WebCore::RenderBlockFlow::layoutBlockChild
Summary: ASSERTION FAILED: view().layoutDeltaMatches(oldLayoutDelta) in WebCore::Rende...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 116980
  Show dependency treegraph
 
Reported: 2014-08-29 09:04 PDT by Renata Hodovan
Modified: 2016-09-01 20:30 PDT (History)
5 users (show)

See Also:


Attachments
Test case (115 bytes, text/html)
2014-08-29 09:04 PDT, Renata Hodovan
no flags Details
Test case (114 bytes, text/html)
2016-03-11 12:40 PST, Renata Hodovan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renata Hodovan 2014-08-29 09:04:27 PDT
Created attachment 237351 [details]
Test case

The failing test:

<li>
    <li></li>
    a
</li>
<style>
* {
  border-style: solid;
  border-width: thick medium 81060002;
}
</style>

Note: if the the doctype definition is given then the crash does not happen.

Backtrace:

ASSERTION FAILED: view().layoutDeltaMatches(oldLayoutDelta)
/home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp(799) : void WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
1   0x7ffff3ef343b WTFCrash
2   0x7ffff2f00e8f WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
3   0x7ffff2f002b1 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&)
4   0x7ffff2eff6ce WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
5   0x7ffff2ed25af WebCore::RenderBlock::layout()
6   0x7ffff2f00790 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
7   0x7ffff2f002b1 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&)
8   0x7ffff2eff6ce WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
9   0x7ffff2ed25af WebCore::RenderBlock::layout()
10  0x7ffff2f00790 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
11  0x7ffff2f002b1 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&)
12  0x7ffff2eff6ce WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
13  0x7ffff2ed25af WebCore::RenderBlock::layout()
14  0x7ffff30bd207 WebCore::RenderView::layoutContent(WebCore::LayoutState const&)
15  0x7ffff30bd8d7 WebCore::RenderView::layout()
16  0x7ffff2cfd2e5 WebCore::FrameView::layout(bool)
17  0x7ffff27e806b WebCore::Document::implicitClose()
18  0x7ffff2bc4749 WebCore::FrameLoader::checkCallImplicitClose()
19  0x7ffff2bc44b1 WebCore::FrameLoader::checkCompleted()
20  0x7ffff2bc421a WebCore::FrameLoader::finishedParsing()
21  0x7ffff27f0aed WebCore::Document::finishedParsing()
22  0x7ffff39011b9 WebCore::HTMLConstructionSite::finishedParsing()
23  0x7ffff2adf389 WebCore::HTMLTreeBuilder::finished()
24  0x7ffff2ab1028 WebCore::HTMLDocumentParser::end()
25  0x7ffff2ab1113 WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd()
26  0x7ffff2aafac9 WebCore::HTMLDocumentParser::prepareToStopParsing()
27  0x7ffff2ab1156 WebCore::HTMLDocumentParser::attemptToEnd()
28  0x7ffff2ab120d WebCore::HTMLDocumentParser::finish()
29  0x7ffff2bb5911 WebCore::DocumentWriter::end()
30  0x7ffff2ba0ea7 WebCore::DocumentLoader::finishedLoading(double)
31  0x7ffff2ba0c10 WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource*)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff91255700 (LWP 6907)]
0x00007ffff3ef3440 in WTFCrash () at /home/reni/data/REPOS/webkit/Source/WTF/wtf/Assertions.cpp:329
329     *(int *)(uintptr_t)0xbbadbeef = 0;
#0  0x00007ffff3ef3440 in WTFCrash () at /home/reni/data/REPOS/webkit/Source/WTF/wtf/Assertions.cpp:329
#1  0x00007ffff2f00e8f in WebCore::RenderBlockFlow::layoutBlockChild (this=0x6b93f0, child=..., marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:799
#2  0x00007ffff2f002b1 in WebCore::RenderBlockFlow::layoutBlockChildren (this=0x6b93f0, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:632
#3  0x00007ffff2eff6ce in WebCore::RenderBlockFlow::layoutBlock (this=0x6b93f0, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:485
#4  0x00007ffff2ed25af in WebCore::RenderBlock::layout (this=0x6b93f0) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlock.cpp:1019
#5  0x00007ffff2f00790 in WebCore::RenderBlockFlow::layoutBlockChild (this=0x7121a0, child=..., marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:711
#6  0x00007ffff2f002b1 in WebCore::RenderBlockFlow::layoutBlockChildren (this=0x7121a0, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:632
#7  0x00007ffff2eff6ce in WebCore::RenderBlockFlow::layoutBlock (this=0x7121a0, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:485
#8  0x00007ffff2ed25af in WebCore::RenderBlock::layout (this=0x7121a0) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlock.cpp:1019
#9  0x00007ffff2f00790 in WebCore::RenderBlockFlow::layoutBlockChild (this=0x6fcb80, child=..., marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:711
#10 0x00007ffff2f002b1 in WebCore::RenderBlockFlow::layoutBlockChildren (this=0x6fcb80, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:632
#11 0x00007ffff2eff6ce in WebCore::RenderBlockFlow::layoutBlock (this=0x6fcb80, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:485
#12 0x00007ffff2ed25af in WebCore::RenderBlock::layout (this=0x6fcb80) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlock.cpp:1019
#13 0x00007ffff30bd207 in WebCore::RenderView::layoutContent (this=0x6fcb80, state=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderView.cpp:232
#14 0x00007ffff30bd8d7 in WebCore::RenderView::layout (this=0x6fcb80) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderView.cpp:357
#15 0x00007ffff2cfd2e5 in WebCore::FrameView::layout (this=0x6e0ca0, allowSubtree=true) at /home/reni/data/REPOS/webkit/Source/WebCore/page/FrameView.cpp:1301
#16 0x00007ffff27e806b in WebCore::Document::implicitClose (this=0x70f7b0) at /home/reni/data/REPOS/webkit/Source/WebCore/dom/Document.cpp:2440
#17 0x00007ffff2bc4749 in WebCore::FrameLoader::checkCallImplicitClose (this=0x6d02e8) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/FrameLoader.cpp:898
#18 0x00007ffff2bc44b1 in WebCore::FrameLoader::checkCompleted (this=0x6d02e8) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/FrameLoader.cpp:844
#19 0x00007ffff2bc421a in WebCore::FrameLoader::finishedParsing (this=0x6d02e8) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/FrameLoader.cpp:764
#20 0x00007ffff27f0aed in WebCore::Document::finishedParsing (this=0x70f7b0) at /home/reni/data/REPOS/webkit/Source/WebCore/dom/Document.cpp:4523
#21 0x00007ffff39011b9 in WebCore::HTMLConstructionSite::finishedParsing (this=0x707568) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLConstructionSite.cpp:395
#22 0x00007ffff2adf389 in WebCore::HTMLTreeBuilder::finished (this=0x707550) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2997
#23 0x00007ffff2ab1028 in WebCore::HTMLDocumentParser::end (this=0x70e780) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:451
#24 0x00007ffff2ab1113 in WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd (this=0x70e780) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:462
#25 0x00007ffff2aafac9 in WebCore::HTMLDocumentParser::prepareToStopParsing (this=0x70e780) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:165
#26 0x00007ffff2ab1156 in WebCore::HTMLDocumentParser::attemptToEnd (this=0x70e780) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:474
#27 0x00007ffff2ab120d in WebCore::HTMLDocumentParser::finish (this=0x70e780) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:502
#28 0x00007ffff2bb5911 in WebCore::DocumentWriter::end (this=0x7842e0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/DocumentWriter.cpp:250
#29 0x00007ffff2ba0ea7 in WebCore::DocumentLoader::finishedLoading (this=0x784240, finishTime=0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/DocumentLoader.cpp:441
#30 0x00007ffff2ba0c10 in WebCore::DocumentLoader::notifyFinished (this=0x784240, resource=0x79f110) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/DocumentLoader.cpp:375
#31 0x00007ffff2c54952 in WebCore::CachedResource::checkNotify (this=0x79f110) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/cache/CachedResource.cpp:333
#32 0x00007ffff2c54a5c in WebCore::CachedResource::finishLoading (this=0x79f110) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/cache/CachedResource.cpp:349
#33 0x00007ffff2c5138a in WebCore::CachedRawResource::finishLoading (this=0x79f110, data=0x744a10) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/cache/CachedRawResource.cpp:101
#34 0x00007ffff2c0452c in WebCore::SubresourceLoader::didFinishLoading (this=0x79f670, finishTime=0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/SubresourceLoader.cpp:306
#35 0x00007ffff2c001bb in WebCore::ResourceLoader::didFinishLoading (this=0x79f670, finishTime=0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/ResourceLoader.cpp:512
#36 0x00007ffff339390d in WebCore::readCallback (asyncResult=0x7a31f0, data=0x79fcf0) at /home/reni/data/REPOS/webkit/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:1302
#37 0x00007fffeb3c1816 in async_ready_callback_wrapper (source_object=0x6c4db0, res=0x7a31f0, user_data=user_data@entry=0x79fcf0) at ginputstream.c:523
#38 0x00007fffeb3e7115 in g_task_return_now (task=0x7a31f0) at gtask.c:1077
#39 0x00007fffeb3e7139 in complete_in_idle_cb (task=0x7a31f0) at gtask.c:1086
#40 0x00007fffeae23a7d in g_main_dispatch (context=0x6bc390) at gmain.c:3064
#41 g_main_context_dispatch (context=context@entry=0x6bc390) at gmain.c:3663
#42 0x00007fffec6875e0 in _ecore_glib_select__locked (ecore_timeout=<optimized out>, efds=<optimized out>, wfds=0x7fffffffd5b0, rfds=0x7fffffffd530, ecore_fds=10, ctx=<optimized out>) at lib/ecore/ecore_glib.c:172
#43 _ecore_glib_select (ecore_fds=10, rfds=0x7fffffffd530, wfds=0x7fffffffd5b0, efds=<optimized out>, ecore_timeout=<optimized out>) at lib/ecore/ecore_glib.c:204
#44 0x00007fffec689ff4 in _ecore_main_select (timeout=<optimized out>) at lib/ecore/ecore_main.c:1579
#45 0x00007fffec68a995 in _ecore_main_loop_iterate_internal (once_only=once_only@entry=0) at lib/ecore/ecore_main.c:2005
#46 0x00007fffec68aa57 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:1042
#47 0x00007ffff3f38db5 in WTF::RunLoop::run () at /home/reni/data/REPOS/webkit/Source/WTF/wtf/efl/RunLoopEfl.cpp:51
#48 0x00007ffff207062a in WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain> (argc=2, argv=0x7fffffffda58) at /home/reni/data/REPOS/webkit/Source/WebKit2/Shared/unix/ChildProcessMain.h:61
#49 0x00007ffff2070408 in WebKit::WebProcessMainUnix (argc=2, argv=0x7fffffffda58) at /home/reni/data/REPOS/webkit/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp:124
#50 0x000000000040084d in main (argc=2, argv=0x7fffffffda58) at /home/reni/data/REPOS/webkit/Source/WebKit2/WebProcess/EntryPoint/unix/WebProcessMain.cpp:32
Comment 1 Renata Hodovan 2016-03-11 12:40:31 PST
Created attachment 273752 [details]
Test case

New test case.

Checked on:
OS: Mac OS X 10.11.1 (x86_64), x86_64
Build: ASAN debug
Version: ecad464
Comment 2 Brent Fulgham 2016-08-03 16:59:33 PDT
Reproduces in r204037.
Comment 3 Radar WebKit Bug Importer 2016-08-03 16:59:52 PDT
<rdar://problem/27689471>
Comment 4 zalan 2016-09-01 20:30:06 PDT
I can't reproduce this with r205332.