Bug 34255

Summary: [Qt] When showing the web inspector in the browser demo it can crash
Product: WebKit Reporter: qt-info
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: kent.hansen
Priority: P3 Keywords: Qt, QtTriaged
Version: 525.x (Safari 3.2)   
Hardware: PC   
OS: OS X 10.6   

qt-info
Reported 2010-01-28 05:46:28 PST
If you enable the web inspector in the browser demo and then right click on one of the image links in the bar near the top of the qt.nokia.com webpage then it will crash with the following stack trace: Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 QtGui 0x00000001021f15e3 QTextEngine::shapeTextMac(int) const + 1571 1 QtGui 0x00000001021f19cb QTextEngine::shapeText(int) const + 123 2 QtGui 0x00000001021f1d6a QTextEngine::shape(int) const + 138 3 QtGui 0x00000001021f36bb QTextEngine::shapeLine(QScriptLine const&) + 427 4 QtGui 0x000000010210ce8d QPainter::drawText(QPointF const&, QString const&, int, int) + 429 5 QtWebKit 0x000000010071f6ba WebCore::Font::drawComplexText(WebCore::GraphicsContext*, WebCore::TextRun const&, WebCore::FloatPoint const&, int, int) const + 2138 6 QtWebKit 0x00000001005e7bb1 WebCore::GraphicsContext::drawText(WebCore::Font const&, WebCore::TextRun const&, WebCore::IntPoint const&, int, int) + 97 7 QtWebKit 0x00000001006483fd WebCore::paintTextWithShadows(WebCore::GraphicsContext*, WebCore::Font const&, WebCore::TextRun const&, int, int, WebCore::IntPoint const&, int, int, int, int, WebCore::ShadowData*, bool) + 653 8 QtWebKit 0x000000010064b603 WebCore::InlineTextBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 1443 9 QtWebKit 0x0000000100646e08 WebCore::InlineFlowBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 504 10 QtWebKit 0x0000000100646e08 WebCore::InlineFlowBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 504 11 QtWebKit 0x00000001006f0408 WebCore::RootInlineBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 40 12 QtWebKit 0x00000001006a7f1c WebCore::RenderLineBoxList::paint(WebCore::RenderBoxModelObject*, WebCore::RenderObject::PaintInfo&, int, int) const + 1564 13 QtWebKit 0x000000010065c8e1 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&, int, int) + 577 14 QtWebKit 0x0000000100653842 WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&, int, int) + 306 15 QtWebKit 0x0000000100656488 WebCore::RenderBlock::paintChildren(WebCore::RenderObject::PaintInfo&, int, int) + 328 16 QtWebKit 0x000000010065c8e1 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&, int, int) + 577 17 QtWebKit 0x0000000100653842 WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&, int, int) + 306 18 QtWebKit 0x0000000100656488 WebCore::RenderBlock::paintChildren(WebCore::RenderObject::PaintInfo&, int, int) + 328 19 QtWebKit 0x000000010065c8e1 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&, int, int) + 577 20 QtWebKit 0x0000000100653842 WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&, int, int) + 306 21 QtWebKit 0x00000001006a1ebc WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction, WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*, WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::IntRect> >*, unsigned int) + 1372 22 QtWebKit 0x00000001006a2079 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction, WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*, WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::IntRect> >*, unsigned int) + 1817 23 QtWebKit 0x00000001006a2079 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction, WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*, WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::IntRect> >*, unsigned int) + 1817 24 QtWebKit 0x00000001006a2079 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction, WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*, WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::OverlapTestRequestClient*>, WTF::HashTraits<WebCore::IntRect> >*, unsigned int) + 1817 25 QtWebKit 0x00000001006a2763 WebCore::RenderLayer::paint(WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction, WebCore::RenderObject*) + 83 26 QtWebKit 0x00000001005b3340 WebCore::FrameView::paintContents(WebCore::GraphicsContext*, WebCore::IntRect const&) + 256 27 QtWebKit 0x00000001007600e0 QWebFramePrivate::renderPrivate(QPainter*, QWebFrame::RenderLayer, QRegion const&) + 1376 28 QtWebKit 0x00000001007778ed QWebView::paintEvent(QPaintEvent*) + 109 29 QtGui 0x000000010202c286 QWidget::event(QEvent*) + 2294 30 QtWebKit 0x000000010077763e QWebView::event(QEvent*) + 94 31 QtGui 0x0000000101fd742d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189 32 QtGui 0x0000000101fdc2dd QApplication::notify(QObject*, QEvent*) + 349 33 QtCore 0x0000000102d2258c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124 34 QtGui 0x0000000101fd75ac qt_sendSpontaneousEvent(QObject*, QEvent*) + 44 35 QtGui 0x0000000101f8701a -[QCocoaView drawRect:] + 954 36 com.apple.AppKit 0x00007fff81d27fae -[NSView _drawRect:clip:] + 3390 37 com.apple.AppKit 0x00007fff81d26c21 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1325 38 com.apple.AppKit 0x00007fff81d26f8b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199 39 com.apple.AppKit 0x00007fff81d26f8b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199 40 com.apple.AppKit 0x00007fff81d252f3 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 767 41 com.apple.AppKit 0x00007fff81d261bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555 42 com.apple.AppKit 0x00007fff81d24e17 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 254 43 com.apple.AppKit 0x00007fff81d216bf -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683 44 com.apple.AppKit 0x00007fff81c9af37 -[NSView displayIfNeeded] + 969 45 com.apple.AppKit 0x00007fff81c95dde _handleWindowNeedsDisplay + 678 46 com.apple.CoreFoundation 0x00007fff8387b427 __CFRunLoopDoObservers + 519 47 com.apple.CoreFoundation 0x00007fff838572d4 __CFRunLoopRun + 468 48 com.apple.CoreFoundation 0x00007fff83856c2f CFRunLoopRunSpecific + 575 49 com.apple.HIToolbox 0x00007fff8685fa4e RunCurrentEventLoopInMode + 333 50 com.apple.HIToolbox 0x00007fff8685f853 ReceiveNextEventCommon + 310 51 com.apple.HIToolbox 0x00007fff8685f70c BlockUntilNextEventMatchingListInMode + 59 52 com.apple.AppKit 0x00007fff81c6b1f2 _DPSNextEvent + 708 53 com.apple.AppKit 0x00007fff81c6ab41 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155 54 com.apple.AppKit 0x00007fff81c30747 -[NSApplication run] + 395 55 QtGui 0x0000000101f964df QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1519 56 QtCore 0x0000000102dfaf14 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68 57 QtCore 0x0000000102dfb224 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180 58 QtCore 0x0000000102dfc84c QCoreApplication::exec() + 188 59 com.trolltech.DemoBrowser 0x00000001000472e2 main + 66 60 com.trolltech.DemoBrowser 0x00000001000035e8 start + 52 Note this does not happen on Leopard, so it seems to be a Snow Leopard specific problem.
Attachments
Tor Arne Vestbø
Comment 1 2010-03-10 06:39:48 PST
Please follow the QtWebKit bug reporting guidelines when reporting bugs. See http://trac.webkit.org/wiki/QtWebKitBugs Specifically: - The 'QtWebKit' component should only be used for bugs/features in the public QtWebKit API layer, not to signify that the bug is specific to the Qt port of WebKit http://trac.webkit.org/wiki/QtWebKitBugs#Component - Add the keyword 'Qt' to signal that it's a Qt-related bug http://trac.webkit.org/wiki/QtWebKitBugs#Keywords
Kent Hansen
Comment 2 2010-03-15 02:57:16 PDT
Reproduced with QtWebKit from 4.6.
Jocelyn Turcotte
Comment 3 2014-02-03 03:13:21 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.