Bug 69822 - [Qt] webkit eats 100% cpu when clicked selectall
Summary: [Qt] webkit eats 100% cpu when clicked selectall
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified All
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 01:16 PDT by mero
Modified: 2011-10-13 07:35 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mero 2011-10-11 01:16:44 PDT
when I click selectall webkit eats 100% cpu.
bug exists in webkit-2.1really2.0.2

^C
Program received signal SIGINT, Interrupt.
0x017d029d in PolygonRegion (Pts=0x202, Count=3, rule=0) at painting/qregion.cpp:3659
3659    painting/qregion.cpp: Nie ma takiego pliku ani katalogu.
        in painting/qregion.cpp
(gdb) bt
#0  0x017d029d in PolygonRegion (Pts=0x202, Count=3, rule=0) at painting/qregion.cpp:3659
#1  0x017d04ee in QRegion::QRegion (this=0xbfffcb78, a=..., fillRule=Qt::OddEvenFill) at painting/qregion.cpp:3856
#2  0x0177c4e1 in QPainter::clipRegion (this=0xbfffe0ac) at painting/qpainter.cpp:2584
#3  0x0177d1d3 in QPainter::clipPath (this=0xbfffe0ac) at painting/qpainter.cpp:2698
#4  0x0184260e in QX11PaintEngine::updateState (this=0x8303118, state=...) at painting/qpaintengine_x11.cpp:1089
#5  0x0177aa24 in QPainterPrivate::updateStateImpl (this=0x8a13028, newState=0x8dea0c0) at painting/qpainter.cpp:906
#6  0x0177aaec in QPainterPrivate::updateState (this=0x8a13028, newState=0x8dea0c0) at painting/qpainter.cpp:934
#7  0x01780115 in QPainter::setClipPath (this=0xbfffe0ac, path=..., op=<value optimized out>) at painting/qpainter.cpp:3258
#8  0x00bbbb03 in WebCore::GraphicsContext::clipOut (this=0xbfffe068, rect=...) at platform/graphics/qt/GraphicsContextQt.cpp:1081
#9  0x00ae18a9 in WebCore::RenderBlock::fillSelectionGaps (this=0xa81e27d4, rootBlock=0xb45b55d0, blockX=0, blockY=0, tx=0, ty=9814, lastTop=@0xbfffd66c, 
    lastLeft=@0xbfffd668, lastRight=@0xbfffd664, paintInfo=0xbfffd7c8) at rendering/RenderBlock.cpp:2015
#10 0x00ae162e in WebCore::RenderBlock::fillBlockSelectionGaps (this=0xb45b5644, rootBlock=0xb45b55d0, blockX=0, blockY=0, tx=0, ty=0, lastTop=@0xbfffd66c, 
    lastLeft=@0xbfffd668, lastRight=@0xbfffd664, paintInfo=0xbfffd7c8) at rendering/RenderBlock.cpp:2155
#11 0x00ae1b83 in WebCore::RenderBlock::fillSelectionGaps (this=0xb45b5644, rootBlock=0xb45b55d0, blockX=0, blockY=0, tx=0, ty=0, lastTop=@0xbfffd66c, 
    lastLeft=@0xbfffd668, lastRight=@0xbfffd664, paintInfo=0xbfffd7c8) at rendering/RenderBlock.cpp:2038
#12 0x00ae162e in WebCore::RenderBlock::fillBlockSelectionGaps (this=0xb45b55d0, rootBlock=0xb45b55d0, blockX=0, blockY=0, tx=0, ty=0, lastTop=@0xbfffd66c, 
    lastLeft=@0xbfffd668, lastRight=@0xbfffd664, paintInfo=0xbfffd7c8) at rendering/RenderBlock.cpp:2155
#13 0x00ae1b83 in WebCore::RenderBlock::fillSelectionGaps (this=0xb45b55d0, rootBlock=0xb45b55d0, blockX=0, blockY=0, tx=0, ty=0, lastTop=@0xbfffd66c, 
    lastLeft=@0xbfffd668, lastRight=@0xbfffd664, paintInfo=0xbfffd7c8) at rendering/RenderBlock.cpp:2038
#14 0x00ae1c81 in WebCore::RenderBlock::paintSelection (this=0xb45b55d0, paintInfo=..., tx=0, ty=0) at rendering/RenderBlock.cpp:1968
#15 0x00aec90d in WebCore::RenderBlock::paintObject (this=0xb45b55d0, paintInfo=..., tx=0, ty=0) at rendering/RenderBlock.cpp:1751
#16 0x00addd0b in WebCore::RenderBlock::paint (this=0xb45b55d0, paintInfo=..., tx=0, ty=0) at rendering/RenderBlock.cpp:1536
#17 0x00adf722 in WebCore::RenderBlock::paintChildren (this=0xb45b54a0, paintInfo=..., tx=0, ty=0) at rendering/RenderBlock.cpp:1678
#18 0x00aec885 in WebCore::RenderBlock::paintObject (this=0xb45b54a0, paintInfo=..., tx=0, ty=0) at rendering/RenderBlock.cpp:1744
---Type <return> to continue, or q <return> to quit---
#19 0x00addd0b in WebCore::RenderBlock::paint (this=0xb45b54a0, paintInfo=..., tx=0, ty=0) at rendering/RenderBlock.cpp:1536
#20 0x00b3cf4e in WebCore::RenderLayer::paintLayer (this=0xb45b5514, rootLayer=0xb45b53e4, p=0xbfffe068, paintDirtyRect=..., paintBehavior=0, paintingRoot=0x0, 
    overlapTestRequests=0xbfffde8c, paintFlags=0) at rendering/RenderLayer.cpp:2358
#21 0x00b3c8f1 in WebCore::RenderLayer::paintLayer (this=0xb45b53e4, rootLayer=0xb45b53e4, p=0xbfffe068, paintDirtyRect=..., paintBehavior=0, paintingRoot=0x0, 
    overlapTestRequests=0xbfffde8c, paintFlags=0) at rendering/RenderLayer.cpp:2383
#22 0x00b3d051 in WebCore::RenderLayer::paint (this=0xb45b53e4, p=0xbfffe068, damageRect=..., paintBehavior=0, paintingRoot=0x0) at rendering/RenderLayer.cpp:2162
#23 0x00a42ef6 in WebCore::FrameView::paintContents (this=0xb45941c0, p=0xbfffe068, rect=...) at page/FrameView.cpp:1878
#24 0x00bfa945 in QWebFramePrivate::renderRelativeCoords (this=0x8976b18, context=0xbfffe068, layer=QWebFrame::AllLayers, clip=...)
    at ../WebKit/qt/Api/qwebframe.cpp:498
#25 0x00bfab22 in QWebFrame::render (this=0x8846e18, painter=0xbfffe0ac, clip=...) at ../WebKit/qt/Api/qwebframe.cpp:1236
#26 0x00c14ba2 in QWebView::paintEvent (this=0x895e4d0, ev=0xbfffe644) at ../WebKit/qt/Api/qwebview.cpp:927
#27 0x0167b18e in QWidget::event (this=0x895e4d0, event=0xbfffe644) at kernel/qwidget.cpp:8405
#28 0x00c14c79 in QWebView::event (this=0x895e4d0, e=0xbfffe644) at ../WebKit/qt/Api/qwebview.cpp:831
#29 0x01622d24 in QApplicationPrivate::notify_helper (this=0x8209038, receiver=0x895e4d0, e=0xbfffe644) at kernel/qapplication.cpp:4462
#30 0x0162797b in QApplication::notify (this=0xbffff260, receiver=0x895e4d0, e=0xbfffe644) at kernel/qapplication.cpp:4427
#31 0x026bf0bb in QCoreApplication::notifyInternal (this=0xbffff260, receiver=0x895e4d0, event=0xbfffe644) at kernel/qcoreapplication.cpp:731
#32 0x01677f0c in sendSpontaneousEvent (this=0x89c2640, pdev=0x82a95ac, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x8298b68)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#33 QWidgetPrivate::drawWidget (this=0x89c2640, pdev=0x82a95ac, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x8298b68)
    at kernel/qwidget.cpp:5492
#34 0x01856329 in QWidgetBackingStore::sync (this=0x8298b68) at painting/qbackingstore.cpp:1325
#35 0x0166d843 in QWidgetPrivate::syncBackingStore (this=0x82a9f00) at kernel/qwidget.cpp:1842
#36 0x0167b7e5 in QWidget::event (this=0x82a9440, event=0x8ed5938) at kernel/qwidget.cpp:8552
#37 0x01a8c527 in QMainWindow::event (this=0x82a9440, event=0x8ed5938) at widgets/qmainwindow.cpp:1480
---Type <return> to continue, or q <return> to quit---
#38 0x01622d24 in QApplicationPrivate::notify_helper (this=0x8209038, receiver=0x82a9440, e=0x8ed5938) at kernel/qapplication.cpp:4462
#39 0x0162797b in QApplication::notify (this=0xbffff260, receiver=0x82a9440, e=0x8ed5938) at kernel/qapplication.cpp:4427
#40 0x026bf0bb in QCoreApplication::notifyInternal (this=0xbffff260, receiver=0x82a9440, event=0x8ed5938) at kernel/qcoreapplication.cpp:731
#41 0x026c2c79 in sendEvent (receiver=0x0, event_type=0, data=0x8209148) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8209148) at kernel/qcoreapplication.cpp:1372
#43 0x026c2e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#44 0x026ec3c4 in sendPostedEvents (s=0x820c100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0x820c100) at kernel/qeventdispatcher_glib.cpp:277
#46 0x02e24aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x02e25270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x02e25524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x026ec53c in QEventDispatcherGlib::processEvents (this=0x8209ce0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#50 0x016d91e5 in QGuiEventDispatcherGlib::processEvents (this=0x8209ce0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x026be289 in QEventLoop::processEvents (this=0xbffff1e4, flags=...) at kernel/qeventloop.cpp:149
#52 0x026be522 in QEventLoop::exec (this=0xbffff1e4, flags=...) at kernel/qeventloop.cpp:201
#53 0x026c2ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#54 0x016208e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#55 0x0809a732 in main (argc=2, argv=0xbffff3a4) at /home/mero/scc/src/core/main.cpp:127
Comment 1 mero 2011-10-13 07:35:45 PDT
webkit dont like float and clear, after removed float and clear from css webkit dont hangup app;