RESOLVED WORKSFORME 118586
ASSERTION FAILED: isPlaced() in WebCore::RenderBlock::FloatingObject::maxY
https://bugs.webkit.org/show_bug.cgi?id=118586
Summary ASSERTION FAILED: isPlaced() in WebCore::RenderBlock::FloatingObject::maxY
Renata Hodovan
Reported 2013-07-12 01:25:11 PDT
The following test fail the assertion in the title: <html> <ul> <li style="width: 50px;"> <span style="float:right;width:52px;">A</span>AAAAA </ul> </html> Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff577f390 in WTFCrash () at /home/reni/Data/REPOS/webkit_sec/Source/WTF/wtf/Assertions.cpp:339 339 *(int *)(uintptr_t)0xbbadbeef = 0; (gdb) bt #0 0x00007ffff577f390 in WTFCrash () at /home/reni/Data/REPOS/webkit_sec/Source/WTF/wtf/Assertions.cpp:339 #1 0x00007ffff48db9d5 in WebCore::RenderBlock::FloatingObject::maxY (this=0x8a1290) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.h:711 #2 0x00007ffff48dbd24 in WebCore::RenderBlock::logicalBottomForFloat (this=0x8896c8, child=0x8a1290) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.h:751 #3 0x00007ffff48f3ab6 in WebCore::RenderBlock::nextFloatLogicalBottomBelow (this=0x8896c8, logicalHeight=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:4575 #4 0x00007ffff492616c in WebCore::LineWidth::fitBelowFloats (this=0x7fffffff9b60) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:276 #5 0x00007ffff49348be in WebCore::RenderBlock::LineBreaker::nextSegmentBreak (this=0x7fffffff9f00, resolver=..., lineInfo=..., renderTextInfo=..., lastFloatFromPreviousLine=0x0, consecutiveHyphenatedLines=0, wordMeasurements=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:3284 #6 0x00007ffff4931fe6 in WebCore::RenderBlock::LineBreaker::nextLineBreak (this=0x7fffffff9f00, resolver=..., lineInfo=..., renderTextInfo=..., lastFloatFromPreviousLine=0x0, consecutiveHyphenatedLines=0, wordMeasurements=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:2808 #7 0x00007ffff492cb5e in WebCore::RenderBlock::layoutRunsAndFloatsInRange (this=0x8896c8, layoutState=..., resolver=..., cleanLineStart=..., cleanLineBidiStatus=..., consecutiveHyphenatedLines=0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:1838 #8 0x00007ffff492b669 in WebCore::RenderBlock::layoutRunsAndFloats (this=0x8896c8, layoutState=..., hasInlineChild=true) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:1612 #9 0x00007ffff492ecf7 in WebCore::RenderBlock::layoutInlineChildren (this=0x8896c8, relayoutChildren=true, repaintLogicalTop=..., repaintLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:2182 #10 0x00007ffff48e47d0 in WebCore::RenderBlock::layoutBlock (this=0x8896c8, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1653 #11 0x00007ffff48e3c35 in WebCore::RenderBlock::layout (this=0x8896c8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1428 #12 0x00007ffff4a13f61 in WebCore::RenderListItem::layout (this=0x8896c8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderListItem.cpp:309 #13 0x00007ffff48e8e32 in WebCore::RenderBlock::layoutBlockChild (this=0x886cf8, child=0x8896c8, marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2666 #14 0x00007ffff48e8a54 in WebCore::RenderBlock::layoutBlockChildren (this=0x886cf8, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2601 #15 0x00007ffff48e47f1 in WebCore::RenderBlock::layoutBlock (this=0x886cf8, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1655 #16 0x00007ffff48e3c35 in WebCore::RenderBlock::layout (this=0x886cf8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1428 #17 0x00007ffff48e8e32 in WebCore::RenderBlock::layoutBlockChild (this=0x740428, child=0x886cf8, marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2666 #18 0x00007ffff48e8a54 in WebCore::RenderBlock::layoutBlockChildren (this=0x740428, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2601 #19 0x00007ffff48e47f1 in WebCore::RenderBlock::layoutBlock (this=0x740428, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1655 #20 0x00007ffff48e3c35 in WebCore::RenderBlock::layout (this=0x740428) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1428 #21 0x00007ffff48e8e32 in WebCore::RenderBlock::layoutBlockChild (this=0x740168, child=0x740428, marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2666 #22 0x00007ffff48e8a54 in WebCore::RenderBlock::layoutBlockChildren (this=0x740168, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2601 #23 0x00007ffff48e47f1 in WebCore::RenderBlock::layoutBlock (this=0x740168, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1655 #24 0x00007ffff48e3c35 in WebCore::RenderBlock::layout (this=0x740168) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1428 #25 0x00007ffff48e8e32 in WebCore::RenderBlock::layoutBlockChild (this=0x768ed8, child=0x740168, marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2666 #26 0x00007ffff48e8a54 in WebCore::RenderBlock::layoutBlockChildren (this=0x768ed8, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2601 #27 0x00007ffff48e47f1 in WebCore::RenderBlock::layoutBlock (this=0x768ed8, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1655 #28 0x00007ffff48e3c35 in WebCore::RenderBlock::layout (this=0x768ed8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1428 ---Type <return> to continue, or q <return> to quit--- #29 0x00007ffff4a8ccad in WebCore::RenderView::layoutContent (this=0x768ed8, state=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderView.cpp:142 #30 0x00007ffff4a8d9c3 in WebCore::RenderView::layout (this=0x768ed8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderView.cpp:305 #31 0x00007ffff474d4f3 in WebCore::FrameView::layout (this=0x7707a0, allowSubtree=true) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/page/FrameView.cpp:1318 #32 0x00007ffff429518e in WebCore::Document::implicitClose (this=0x870b00) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:2454 #33 0x00007ffff4689ec3 in WebCore::FrameLoader::checkCallImplicitClose (this=0x7ac258) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:843 #34 0x00007ffff4689c2e in WebCore::FrameLoader::checkCompleted (this=0x7ac258) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:786 #35 0x00007ffff468996c in WebCore::FrameLoader::finishedParsing (this=0x7ac258) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:719 #36 0x00007ffff429c03b in WebCore::Document::finishedParsing (this=0x870b00) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:4417 #37 0x00007ffff44e8dd3 in WebCore::HTMLConstructionSite::finishedParsing (this=0x7ae7c8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLConstructionSite.cpp:348 #38 0x00007ffff451a4bf in WebCore::HTMLTreeBuilder::finished (this=0x7ae7b0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2926 #39 0x00007ffff44f0386 in WebCore::HTMLDocumentParser::end (this=0x7666e0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:756 #40 0x00007ffff44f0473 in WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd (this=0x7666e0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:767 #41 0x00007ffff44ef0a6 in WebCore::HTMLDocumentParser::prepareToStopParsing (this=0x7666e0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:211 #42 0x00007ffff44f04b6 in WebCore::HTMLDocumentParser::attemptToEnd (this=0x7666e0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:779 #43 0x00007ffff44f056d in WebCore::HTMLDocumentParser::finish (this=0x7666e0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:828 #44 0x00007ffff46819b5 in WebCore::DocumentWriter::end (this=0x693380) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentWriter.cpp:248 #45 0x00007ffff467459e in WebCore::DocumentLoader::finishedLoading (this=0x6932e0, finishTime=0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:402 #46 0x00007ffff467430c in WebCore::DocumentLoader::notifyFinished (this=0x6932e0, resource=0x753f50) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:344 #47 0x00007ffff465b9d8 in WebCore::CachedResource::checkNotify (this=0x753f50) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedResource.cpp:369 #48 0x00007ffff465baae in WebCore::CachedResource::finishLoading (this=0x753f50) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedResource.cpp:385 #49 0x00007ffff46581be in WebCore::CachedRawResource::finishLoading (this=0x753f50, data=0x781f30) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedRawResource.cpp:94 #50 0x00007ffff46bda4a in WebCore::SubresourceLoader::didFinishLoading (this=0x753a90, finishTime=0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/SubresourceLoader.cpp:282 #51 0x00007ffff46b43d7 in WebCore::ResourceLoader::didFinishLoading (this=0x753a90, finishTime=0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/ResourceLoader.cpp:488 #52 0x00007ffff4b4179c in WebCore::QNetworkReplyHandler::finish (this=0x74e980) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:516 #53 0x00007ffff4b40462 in WebCore::QNetworkReplyHandlerCallQueue::flush (this=0x74e9b8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:250 #54 0x00007ffff4b4018a in WebCore::QNetworkReplyHandlerCallQueue::push (this=0x74e9b8, method=(void (WebCore::QNetworkReplyHandler::*)(WebCore::QNetworkReplyHandler * const)) 0x7ffff4b415de <WebCore::QNetworkReplyHandler::finish()>) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:216 #55 0x00007ffff4b410e8 in WebCore::QNetworkReplyWrapper::didReceiveFinished (this=0x771690) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:409 #56 0x00007ffff4b43aaa in WebCore::QNetworkReplyWrapper::qt_static_metacall (_o=0x771690, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffcf40) at .moc/release-shared/moc_QNetworkReplyHandler.cpp:176 #57 0x00007ffff231e5cb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5 #58 0x00007ffff231f84e in QObject::event(QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #59 0x00007ffff3165dbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Widgets.so.5 #60 0x00007ffff3169075 in QApplication::notify(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Widgets.so.5 #61 0x00007ffff22f9dbe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5 #62 0x00007ffff22fba76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5 #63 0x00007ffff2341333 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5 #64 0x00007fffee4840a6 in g_main_dispatch (context=0x6623e0) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3058 #65 g_main_context_dispatch (context=context@entry=0x6623e0) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3634 #66 0x00007fffee4843f8 in g_main_context_iterate (context=context@entry=0x6623e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3705 #67 0x00007fffee48449c in g_main_context_iteration (context=0x6623e0, may_block=1) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3766 #68 0x00007ffff23414bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5 #69 0x00007ffff22f8d3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5 #70 0x00007ffff22fc120 in QCoreApplication::exec() () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5 #71 0x0000000000420f3c in launcherMain (app=...) at /home/reni/Data/REPOS/webkit_sec/Tools/QtTestBrowser/qttestbrowser.cpp:49 #72 0x0000000000422a1c in main (argc=2, argv=0x7fffffffdc18) at /home/reni/Data/REPOS/webkit_sec/Tools/QtTestBrowser/qttestbrowser.cpp:318
Attachments
Test case (130 bytes, text/html)
2013-07-12 01:31 PDT, Renata Hodovan
no flags
Test case 2 (235 bytes, text/html)
2015-01-29 08:32 PST, Renata Hodovan
no flags
Renata Hodovan
Comment 1 2013-07-12 01:31:45 PDT
Created attachment 206513 [details] Test case
Bem Jones-Bey
Comment 2 2014-04-25 08:31:09 PDT
Renata Hodovan
Comment 3 2015-01-29 08:32:35 PST
Created attachment 245624 [details] Test case 2 The original test case doesn't trigger the assertion anymore but the second one still does.
Brent Fulgham
Comment 4 2016-08-03 11:30:07 PDT
This assertion is no longer hit on r204037 under Guard Malloc or ASAN. Please reopen with revised steps to reproduce if you believe this is still a problem.
Note You need to log in before you can comment on or make changes to this bug.