[webkit-qt] Qt-4.8 webkit crash in 'WebCore::requiresLineBox'

Sriram Neelakandan sriram.neelakandan at gmail.com
Thu Jan 12 04:34:12 PST 2012


I am running qt-4.8 on Linux/QWS(DirectFB)/x86_64
I have hit a consistent crash RenderBlockLineLayout.cpp +1485  (attached
trace)

The Crash is consistent in Qt-4.8/demoBrowser with the following URL [
http://www.brainyquote.com/quotes/authors/a/atal_bihari_vajpayee.html ]

I looked up bugzilla and found
https://bugs.webkit.org/show_bug.cgi?id=72285
Just attached my log as well to the bug.


I am not sure what exact changeset(s) to pull [
http://trac.webkit.org/log/trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp?action=stop_on_copy&mode=stop_on_copy&rev=104801&stop_rev=85855&limit=500
]

Or not even sure if the changes are localized to RenderBlockLineLayout.cpp

Can some one throw some light on this bug :
https://bugs.webkit.org/show_bug.cgi?id=72285



#0  0x00007ffff6b39c6a in WebCore::requiresLineBox (it=..., lineInfo=...)
at rendering/RenderBlockLineLayout.cpp:1485
#1  0x00007ffff6b39fe9 in
WebCore::RenderBlock::LineBreaker::skipLeadingWhitespace
(this=0x7fffffff88e0, resolver=..., lineInfo=...,
lastFloatFromPreviousLine=0x0, width=...)
    at rendering/RenderBlockLineLayout.cpp:1529
#2  0x00007ffff6b3afe2 in WebCore::RenderBlock::LineBreaker::nextLineBreak
(this=0x7fffffff88e0, resolver=..., lineInfo=...,
lineBreakIteratorInfo=...,
    lastFloatFromPreviousLine=0x0) at
rendering/RenderBlockLineLayout.cpp:1827
#3  0x00007ffff6b369c5 in WebCore::RenderBlock::layoutRunsAndFloats
(this=0x7fffea510120, fullLayout=false, hasInlineChild=true, floats=...,
repaintLogicalTop=@0x7fffffff8e3c,
    repaintLogicalBottom=@0x7fffffff8e38) at
rendering/RenderBlockLineLayout.cpp:915
#4  0x00007ffff6b382a2 in WebCore::RenderBlock::layoutInlineChildren
(this=0x7fffea510120, relayoutChildren=false,
repaintLogicalTop=@0x7fffffff8e3c, repaintLogicalBottom=
    @0x7fffffff8e38) at rendering/RenderBlockLineLayout.cpp:1164
#5  0x00007ffff6b08601 in WebCore::RenderBlock::layoutBlock
(this=0x7fffea510120, relayoutChildren=false, pageLogicalHeight=0) at
rendering/RenderBlock.cpp:1260
#6  0x00007ffff6b07f76 in WebCore::RenderBlock::layout
(this=0x7fffea510120) at rendering/RenderBlock.cpp:1158
#7  0x00007ffff6b0baa3 in WebCore::RenderBlock::layoutBlockChild
(this=0x7fffe01e6d18, child=0x7fffea510120, marginInfo=...,
previousFloatLogicalBottom=@0x7fffffff90cc,
    maxFloatLogicalBottom=@0x7fffffff9224) at rendering/RenderBlock.cpp:2000
#8  0x00007ffff6b0b6d9 in WebCore::RenderBlock::layoutBlockChildren
(this=0x7fffe01e6d18, relayoutChildren=false,
maxFloatLogicalBottom=@0x7fffffff9224)
    at rendering/RenderBlock.cpp:1938
#9  0x00007ffff6b08622 in WebCore::RenderBlock::layoutBlock
(this=0x7fffe01e6d18, relayoutChildren=false, pageLogicalHeight=0) at
rendering/RenderBlock.cpp:1262
#10 0x00007ffff6b07f76 in WebCore::RenderBlock::layout
(this=0x7fffe01e6d18) at rendering/RenderBlock.cpp:1158
#11 0x00007ffff6b012f7 in WebCore::RenderObject::layoutIfNeeded
(this=0x7fffe01e6d18) at rendering/RenderObject.h:539
#12 0x00007ffff6b12020 in WebCore::RenderBlock::insertFloatingObject
(this=0x7fffe01e6218, o=0x7fffe01e6d18) at rendering/RenderBlock.cpp:3169
#13 0x00007ffff6b09c3f in WebCore::RenderBlock::handleFloatingChild
(this=0x7fffe01e6218, child=0x7fffe01e6d18, marginInfo=...) at
rendering/RenderBlock.cpp:1530
#14 0x00007ffff6b09b7a in WebCore::RenderBlock::handleSpecialChild
(this=0x7fffe01e6218, child=0x7fffe01e6d18, marginInfo=...) at
rendering/RenderBlock.cpp:1512
#15 0x00007ffff6b0b6a7 in WebCore::RenderBlock::layoutBlockChildren
(this=0x7fffe01e6218, relayoutChildren=false,
maxFloatLogicalBottom=@0x7fffffff9684)
    at rendering/RenderBlock.cpp:1934
#16 0x00007ffff6b08622 in WebCore::RenderBlock::layoutBlock
(this=0x7fffe01e6218, relayoutChildren=false, pageLogicalHeight=0) at
rendering/RenderBlock.cpp:1262
#17 0x00007ffff6b07f76 in WebCore::RenderBlock::layout
(this=0x7fffe01e6218) at rendering/RenderBlock.cpp:1158
#18 0x00007ffff6b0baa3 in WebCore::RenderBlock::layoutBlockChild
(this=0x7fffe053f6c8, child=0x7fffe01e6218, marginInfo=...,
previousFloatLogicalBottom=@0x7fffffff991c,
    maxFloatLogicalBottom=@0x7fffffff9a74) at rendering/RenderBlock.cpp:2000
#19 0x00007ffff6b0b6d9 in WebCore::RenderBlock::layoutBlockChildren
(this=0x7fffe053f6c8, relayoutChildren=false,
maxFloatLogicalBottom=@0x7fffffff9a74)
    at rendering/RenderBlock.cpp:1938
#20 0x00007ffff6b08622 in WebCore::RenderBlock::layoutBlock
(this=0x7fffe053f6c8, relayoutChildren=false, pageLogicalHeight=0) at
rendering/RenderBlock.cpp:1262
#21 0x00007ffff6b07f76 in WebCore::RenderBlock::layout
(this=0x7fffe053f6c8) at rendering/RenderBlock.cpp:1158
#22 0x00007ffff6b0baa3 in WebCore::RenderBlock::layoutBlockChild
(this=0x7fffe053f498, child=0x7fffe053f6c8, marginInfo=...,
previousFloatLogicalBottom=@0x7fffffff9d0c,
    maxFloatLogicalBottom=@0x7fffffff9e64) at rendering/RenderBlock.cpp:2000
#23 0x00007ffff6b0b6d9 in WebCore::RenderBlock::layoutBlockChildren
(this=0x7fffe053f498, relayoutChildren=false,
maxFloatLogicalBottom=@0x7fffffff9e64)
    at rendering/RenderBlock.cpp:1938
#24 0x00007ffff6b08622 in WebCore::RenderBlock::layoutBlock
(this=0x7fffe053f498, relayoutChildren=false, pageLogicalHeight=0) at
rendering/RenderBlock.cpp:1262
#25 0x00007ffff6b07f76 in WebCore::RenderBlock::layout
(this=0x7fffe053f498) at rendering/RenderBlock.cpp:1158
#26 0x00007ffff6b0baa3 in WebCore::RenderBlock::layoutBlockChild
(this=0x7fffe053f220, child=0x7fffe053f498, marginInfo=...,
previousFloatLogicalBottom=@0x7fffffffa0fc,
    maxFloatLogicalBottom=@0x7fffffffa254) at rendering/RenderBlock.cpp:2000
#27 0x00007ffff6b0b6d9 in WebCore::RenderBlock::layoutBlockChildren
(this=0x7fffe053f220, relayoutChildren=false,
maxFloatLogicalBottom=@0x7fffffffa254)
    at rendering/RenderBlock.cpp:1938
#28 0x00007ffff6b08622 in WebCore::RenderBlock::layoutBlock
(this=0x7fffe053f220, relayoutChildren=false, pageLogicalHeight=0) at
rendering/RenderBlock.cpp:1262
#29 0x00007ffff6b07f76 in WebCore::RenderBlock::layout
(this=0x7fffe053f220) at rendering/RenderBlock.cpp:1158
#30 0x00007ffff6c0345a in WebCore::RenderView::layout (this=0x7fffe053f220)
at rendering/RenderView.cpp:130
#31 0x00007ffff6a41c57 in WebCore::FrameView::layout (this=0x7fffea50ab80,
allowSubtree=true) at page/FrameView.cpp:964
#32 0x00007ffff6a47334 in
WebCore::FrameView::updateLayoutAndStyleIfNeededRecursive
(this=0x7fffea50ab80) at page/FrameView.cpp:2491
#33 0x00007ffff65ffb32 in QWebFramePrivate::renderRelativeCoords
(this=0x7fffe4002d10, context=0x7fffffffa750, layers=..., clip=...) at
Api/qwebframe.cpp:357
---Type <return> to continue, or q <return> to quit---
#34 0x00007ffff6602920 in QWebFrame::render (this=0x7fffe4002c30,
painter=0x7fffffffa820, clip=...) at Api/qwebframe.cpp:1233
#35 0x00007ffff66223ab in QWebView::paintEvent (this=0x7e92b0,
ev=0x7fffffffb270) at Api/qwebview.cpp:961
#36 0x00007ffff5144b4f in QWidget::event (this=0x7e92b0,
event=0x7fffffffb270) at kernel/qwidget.cpp:8507
#37 0x00007ffff662213a in QWebView::event (this=0x7e92b0, e=0x7fffffffb270)
at Api/qwebview.cpp:865
#38 0x00007ffff50ec526 in QApplicationPrivate::notify_helper
(this=0x6a33b0, receiver=0x7e92b0, e=0x7fffffffb270) at
kernel/qapplication.cpp:4550
#39 0x00007ffff50ec387 in QApplication::notify (this=0x7fffffffd700,
receiver=0x7e92b0, e=0x7fffffffb270) at kernel/qapplication.cpp:4515
#40 0x00007ffff46deb55 in QCoreApplication::notifyInternal
(this=0x7fffffffd700, receiver=0x7e92b0, event=0x7fffffffb270) at
kernel/qcoreapplication.cpp:876
#41 0x00007ffff50ee5cb in QCoreApplication::sendSpontaneousEvent
(receiver=0x7e92b0, event=0x7fffffffb270)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#42 0x00007ffff513cf4a in QWidgetPrivate::drawWidget (this=0x7e9310,
pdev=0x7f5298, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0x7f5220)
    at kernel/qwidget.cpp:5584
#43 0x00007ffff513de16 in QWidgetPrivate::paintSiblingsRecursive
(this=0x737870, pdev=0x7f5298, siblings=..., index=0, rgn=..., offset=...,
flags=4, sharedPainter=0x0,
    backingStore=0x7f5220) at kernel/qwidget.cpp:5793
#44 0x00007ffff513d36e in QWidgetPrivate::drawWidget (this=0x737870,
pdev=0x7f5298, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0x7f5220)
    at kernel/qwidget.cpp:5637
#45 0x00007ffff513de16 in QWidgetPrivate::paintSiblingsRecursive
(this=0x71b120, pdev=0x7f5298, siblings=..., index=0, rgn=..., offset=...,
flags=4, sharedPainter=0x0,
    backingStore=0x7f5220) at kernel/qwidget.cpp:5793
#46 0x00007ffff513dc9a in QWidgetPrivate::paintSiblingsRecursive
(this=0x71b120, pdev=0x7f5298, siblings=..., index=0, rgn=..., offset=...,
flags=4, sharedPainter=0x0,
    backingStore=0x7f5220) at kernel/qwidget.cpp:5780
#47 0x00007ffff513d36e in QWidgetPrivate::drawWidget (this=0x71b120,
pdev=0x7f5298, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0x7f5220)
    at kernel/qwidget.cpp:5637
#48 0x00007ffff513de16 in QWidgetPrivate::paintSiblingsRecursive
(this=0x7934f0, pdev=0x7f5298, siblings=..., index=0, rgn=..., offset=...,
flags=4, sharedPainter=0x0,
    backingStore=0x7f5220) at kernel/qwidget.cpp:5793
#49 0x00007ffff513d36e in QWidgetPrivate::drawWidget (this=0x7934f0,
pdev=0x7f5298, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0x7f5220)
    at kernel/qwidget.cpp:5637
#50 0x00007ffff513de16 in QWidgetPrivate::paintSiblingsRecursive
(this=0x736a00, pdev=0x7f5298, siblings=..., index=21, rgn=..., offset=...,
flags=4, sharedPainter=0x0,
    backingStore=0x7f5220) at kernel/qwidget.cpp:5793
#51 0x00007ffff513dc9a in QWidgetPrivate::paintSiblingsRecursive
(this=0x736a00, pdev=0x7f5298, siblings=..., index=22, rgn=..., offset=...,
flags=4, sharedPainter=0x0,
    backingStore=0x7f5220) at kernel/qwidget.cpp:5780
#52 0x00007ffff513d36e in QWidgetPrivate::drawWidget (this=0x736a00,
pdev=0x7f5298, rgn=..., offset=..., flags=5, sharedPainter=0x0,
backingStore=0x7f5220)
    at kernel/qwidget.cpp:5637
#53 0x00007ffff5348888 in QWidgetBackingStore::sync (this=0x7f5220) at
painting/qbackingstore.cpp:1373
#54 0x00007ffff5134657 in QWidgetPrivate::syncBackingStore (this=0x736a00)
at kernel/qwidget.cpp:1890
#55 0x00007ffff5145126 in QWidget::event (this=0x735fd0, event=0x9aa7b0) at
kernel/qwidget.cpp:8654
#56 0x00007ffff559acd0 in QMainWindow::event (this=0x735fd0,
event=0x9aa7b0) at widgets/qmainwindow.cpp:1478
#57 0x00007ffff50ec526 in QApplicationPrivate::notify_helper
(this=0x6a33b0, receiver=0x735fd0, e=0x9aa7b0) at
kernel/qapplication.cpp:4550
#58 0x00007ffff50ec387 in QApplication::notify (this=0x7fffffffd700,
receiver=0x735fd0, e=0x9aa7b0) at kernel/qapplication.cpp:4515
#59 0x00007ffff46deb55 in QCoreApplication::notifyInternal
(this=0x7fffffffd700, receiver=0x735fd0, event=0x9aa7b0) at
kernel/qcoreapplication.cpp:876
#60 0x00007ffff66081e7 in QCoreApplication::sendEvent (receiver=0x735fd0,
event=0x9aa7b0) at
../../../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 0x00007ffff46dfab1 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x6a3500) at
kernel/qcoreapplication.cpp:1497
#62 0x00007ffff46df717 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1393
#63 0x00007ffff50c224d in QCoreApplication::sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#64 0x00007ffff4714a91 in postEventSourceDispatch (s=0x6ab1c0) at
kernel/qeventdispatcher_glib.cpp:279
#65 0x00007ffff191abd3 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#66 0x00007ffff191b3b0 in ?? () from /lib64/libglib-2.0.so.0
#67 0x00007ffff191b650 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#68 0x00007ffff47152bb in QEventDispatcherGlib::processEvents
(this=0x6a86b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
---Type <return> to continue, or q <return> to quit---
#69 0x00007ffff517fe66 in QWSEventDispatcherGlib::processEvents
(this=0x6a86b0, flags=...) at kernel/qeventdispatcher_glib_qws.cpp:183
#70 0x00007ffff46dc892 in QEventLoop::processEvents (this=0x7fffffffd6a0,
flags=...) at kernel/qeventloop.cpp:149
#71 0x00007ffff46dca1c in QEventLoop::exec (this=0x7fffffffd6a0, flags=...)
at kernel/qeventloop.cpp:200
#72 0x00007ffff46df1a2 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#73 0x00007ffff50e9a01 in QApplication::exec () at
kernel/qapplication.cpp:3811
#74 0x000000000046af3b in main (argc=3, argv=0x7fffffffd828) at main.cpp:51


-- 
Sriram Neelakandan
Author - Embedded Linux System Design And Development (
http://tinyurl.com/2doosu)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20120112/7b762d45/attachment-0001.html>


More information about the webkit-qt mailing list