[Webkit-unassigned] [Bug 119753] New: ASSERT_NOT_REACHED() touched in WebCore::BidiResolver<WebCore::InlineIterator, WebCore::BidiRun>::createBidiRunsForLine

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 13 09:05:52 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119753

           Summary: ASSERT_NOT_REACHED() touched in
                    WebCore::BidiResolver<WebCore::InlineIterator,
                    WebCore::BidiRun>::createBidiRunsForLine
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: reni at webkit.org
            Blocks: 116980


Failing test case:

<html>
    <b dir="auto"><u dir="LTR"><a dir="auto">
    <a><input></a>
</html>

This bug is probably related to https://bugs.webkit.org/show_bug.cgi?id=116964, since if we remove the <u> tag then we fail on the other assertion check.

The backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff56f5744 in WTFCrash () at /home/reni/Data/REPOS/webkit_sec/Source/WTF/wtf/Assertions.cpp:342
342        *(int *)(uintptr_t)0xbbadbeef = 0;
(gdb) bt
#0  0x00007ffff56f5744 in WTFCrash () at /home/reni/Data/REPOS/webkit_sec/Source/WTF/wtf/Assertions.cpp:342
#1  0x00007ffff486fa0c in WebCore::BidiResolver<WebCore::InlineIterator, WebCore::BidiRun>::createBidiRunsForLine (this=0x7fffffffa350, end=..., 
    override=WebCore::NoVisualOverride, hardLineBreak=false) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/text/BidiResolver.h:864
#2  0x00007ffff4860f95 in WebCore::constructBidiRunsForSegment (topResolver=..., bidiRuns=..., endOfRuns=..., override=WebCore::NoVisualOverride, 
    previousLineBrokeCleanly=false) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:1347
#3  0x00007ffff4861125 in WebCore::constructBidiRunsForLine (block=0x767388, topResolver=..., bidiRuns=..., endOfLine=..., 
    override=WebCore::NoVisualOverride, previousLineBrokeCleanly=false)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:1372
#4  0x00007ffff48636e2 in WebCore::RenderBlock::layoutRunsAndFloatsInRange (this=0x767388, layoutState=..., resolver=..., cleanLineStart=..., 
    cleanLineBidiStatus=..., consecutiveHyphenatedLines=0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:1877
#5  0x00007ffff4861e33 in WebCore::RenderBlock::layoutRunsAndFloats (this=0x767388, layoutState=..., hasInlineChild=true)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:1614
#6  0x00007ffff486558c in WebCore::RenderBlock::layoutInlineChildren (this=0x767388, relayoutChildren=true, repaintLogicalTop=..., repaintLogicalBottom=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlockLineLayout.cpp:2189
#7  0x00007ffff4819872 in WebCore::RenderBlock::layoutBlock (this=0x767388, relayoutChildren=true, pageLogicalHeight=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1656
#8  0x00007ffff4818ca5 in WebCore::RenderBlock::layout (this=0x767388) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1428
#9  0x00007ffff481e0d4 in WebCore::RenderBlock::layoutBlockChild (this=0x7d19c8, child=0x767388, marginInfo=..., previousFloatLogicalBottom=..., 
    maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2669
#10 0x00007ffff481dccd in WebCore::RenderBlock::layoutBlockChildren (this=0x7d19c8, relayoutChildren=true, maxFloatLogicalBottom=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2604
#11 0x00007ffff4819893 in WebCore::RenderBlock::layoutBlock (this=0x7d19c8, relayoutChildren=true, pageLogicalHeight=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1658
#12 0x00007ffff4818ca5 in WebCore::RenderBlock::layout (this=0x7d19c8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1428
#13 0x00007ffff481e0d4 in WebCore::RenderBlock::layoutBlockChild (this=0x7d3f48, child=0x7d19c8, marginInfo=..., previousFloatLogicalBottom=..., 
    maxFloatLogicalBottom=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2669
#14 0x00007ffff481dccd in WebCore::RenderBlock::layoutBlockChildren (this=0x7d3f48, relayoutChildren=true, maxFloatLogicalBottom=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:2604
#15 0x00007ffff4819893 in WebCore::RenderBlock::layoutBlock (this=0x7d3f48, relayoutChildren=true, pageLogicalHeight=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1658
#16 0x00007ffff4818ca5 in WebCore::RenderBlock::layout (this=0x7d3f48) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderBlock.cpp:1428
#17 0x00007ffff49cdcb5 in WebCore::RenderView::layoutContent (this=0x7d3f48, state=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderView.cpp:142
#18 0x00007ffff49cea72 in WebCore::RenderView::layout (this=0x7d3f48) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/rendering/RenderView.cpp:327
#19 0x00007ffff467a2b8 in WebCore::FrameView::layout (this=0x78d5f0, allowSubtree=true)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/page/FrameView.cpp:1327
#20 0x00007ffff41b2e91 in WebCore::Document::implicitClose (this=0x89d8f0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:2429
#21 0x00007ffff45b311d in WebCore::FrameLoader::checkCallImplicitClose (this=0x7d56d8)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:844
#22 0x00007ffff45b2e8e in WebCore::FrameLoader::checkCompleted (this=0x7d56d8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:787
#23 0x00007ffff45b2bc3 in WebCore::FrameLoader::finishedParsing (this=0x7d56d8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:720
#24 0x00007ffff41b9e37 in WebCore::Document::finishedParsing (this=0x89d8f0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:4404
#25 0x00007ffff440b2a1 in WebCore::HTMLConstructionSite::finishedParsing (this=0x8158c8)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLConstructionSite.cpp:348
#26 0x00007ffff443f9c3 in WebCore::HTMLTreeBuilder::finished (this=0x8158b0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2926
#27 0x00007ffff44129a0 in WebCore::HTMLDocumentParser::end (this=0x7d20b0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:763
#28 0x00007ffff4412a8b in WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd (this=0x7d20b0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:774
#29 0x00007ffff44115fa in WebCore::HTMLDocumentParser::prepareToStopParsing (this=0x7d20b0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:211
#30 0x00007ffff4412ad0 in WebCore::HTMLDocumentParser::attemptToEnd (this=0x7d20b0)
---Type <return> to continue, or q <return> to quit---
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:786
#31 0x00007ffff4412b89 in WebCore::HTMLDocumentParser::finish (this=0x7d20b0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:835
#32 0x00007ffff45aaa23 in WebCore::DocumentWriter::end (this=0x6942e0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentWriter.cpp:248
#33 0x00007ffff459d562 in WebCore::DocumentLoader::finishedLoading (this=0x694240, finishTime=0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:402
#34 0x00007ffff459d2d0 in WebCore::DocumentLoader::notifyFinished (this=0x694240, resource=0x7cc6d0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:344
#35 0x00007ffff45845c6 in WebCore::CachedResource::checkNotify (this=0x7cc6d0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedResource.cpp:369
#36 0x00007ffff458469c in WebCore::CachedResource::finishLoading (this=0x7cc6d0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedResource.cpp:385
#37 0x00007ffff4580dee in WebCore::CachedRawResource::finishLoading (this=0x7cc6d0, data=0x7e2480)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedRawResource.cpp:94
#38 0x00007ffff45e73e3 in WebCore::SubresourceLoader::didFinishLoading (this=0x7cbd30, finishTime=0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/SubresourceLoader.cpp:282
#39 0x00007ffff45ddccd in WebCore::ResourceLoader::didFinishLoading (this=0x7cbd30, finishTime=0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/ResourceLoader.cpp:488
#40 0x00007ffff4a87683 in WebCore::QNetworkReplyHandler::finish (this=0x7b7ae0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:516
#41 0x00007ffff4a863a2 in WebCore::QNetworkReplyHandlerCallQueue::flush (this=0x7b7b18)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:250
#42 0x00007ffff4a8609f in WebCore::QNetworkReplyHandlerCallQueue::push (this=0x7b7b18, 
    method=(void (WebCore::QNetworkReplyHandler::*)(WebCore::QNetworkReplyHandler * const)) 0x7ffff4a874c8 <WebCore::QNetworkReplyHandler::finish()>)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:216
#43 0x00007ffff4a86fec in WebCore::QNetworkReplyWrapper::didReceiveFinished (this=0x7b9890)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:409
#44 0x00007ffff4a8997e in WebCore::QNetworkReplyWrapper::qt_static_metacall (_o=0x7b9890, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffcf90)
    at .moc/release-shared/moc_QNetworkReplyHandler.cpp:176
#45 0x00007ffff22115cb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5
#46 0x00007ffff221284e in QObject::event(QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5
#47 0x00007ffff3058dbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Widgets.so.5
#48 0x00007ffff305c075 in QApplication::notify(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Widgets.so.5
#49 0x00007ffff21ecdbe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5
#50 0x00007ffff21eea76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5
#51 0x00007ffff2234333 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5
#52 0x00007fffee3790a6 in g_main_dispatch (context=0x6632f0) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3058
#53 g_main_context_dispatch (context=context at entry=0x6632f0) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3634
#54 0x00007fffee3793f8 in g_main_context_iterate (context=context at entry=0x6632f0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3705
#55 0x00007fffee37949c in g_main_context_iteration (context=0x6632f0, may_block=1) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3766
#56 0x00007ffff22344bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5
#57 0x00007ffff21ebd3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5
#58 0x00007ffff21ef120 in QCoreApplication::exec() () from /usr/local/Trolltech/Qt5/Qt-5.0.0-r40/lib/libQt5Core.so.5
#59 0x0000000000421ba0 in launcherMain (app=...) at /home/reni/Data/REPOS/webkit_sec/Tools/QtTestBrowser/qttestbrowser.cpp:49
#60 0x0000000000423680 in main (argc=2, argv=0x7fffffffdc68) at /home/reni/Data/REPOS/webkit_sec/Tools/QtTestBrowser/qttestbrowser.cpp:318

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list