Bug 229756 - Crash in Plasma::Webview/QGV when adding info applet.
Summary: Crash in Plasma::Webview/QGV when adding info applet.
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3-GIT
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-07 03:34 UTC by Leo Franchi
Modified: 2010-03-22 12:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.3.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Franchi 2010-03-07 03:34:16 UTC
Version:           2.3-git (using Devel)
Installed from:    Compiled sources

Immediate crash when adding info applet.

when adding info applet from running amarok:


Thread 1 (Thread 0x7fcaa50347a0 (LWP 25138)):
[KCrash Handler]
#5  0x00007fcaa2c28860 in QGraphicsItemPrivate::invalidateParentGraphicsEffectsRecursively (this=0x31002500220000) at graphicsview/qgraphicsitem.cpp:5120
#6  0x00007fcaa2c293c6 in QGraphicsItem::update (this=0x2e38db0, rect=...) at graphicsview/qgraphicsitem.cpp:5390
#7  0x00007fca9c15841a in QGraphicsWebViewPrivate::update(QRect const&) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#8  0x00007fca9c140ebb in WebCore::ChromeClientQt::repaint(WebCore::IntRect const&, bool, bool, bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#9  0x00007fca9bf11fe5 in WebCore::Chrome::repaint(WebCore::IntRect const&, bool, bool, bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#10 0x00007fca9bfb3c7a in WebCore::ScrollView::repaintContentRectangle(WebCore::IntRect const&, bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#11 0x00007fca9bf4670e in WebCore::FrameView::doDeferredRepaints() () from /usr/qt/4.6/lib/libQtWebKit.so.4
#12 0x00007fca9bf4659e in WebCore::FrameView::endDeferredRepaints() () from /usr/qt/4.6/lib/libQtWebKit.so.4
#13 0x00007fca9bf451cb in WebCore::FrameView::layout(bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#14 0x00007fca9bf48f5b in WebCore::FrameView::forceLayout(bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#15 0x00007fca9c162fc0 in QWebPage::setViewportSize(QSize const&) const () from /usr/qt/4.6/lib/libQtWebKit.so.4
#16 0x00007fca9c16166e in QWebPage::setView(QWidget*) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#17 0x00007fca9e2ec03b in Plasma::WebView::itemChange (this=0x5590c70, change=QGraphicsItem::ItemSceneHasChanged, value=...) at /home/leo/kde/kdelibs/plasma/widgets/webview.cpp:266
#18 0x00007fcaa2c5edfe in QGraphicsScene::addItem (this=0x2d6f250, item=0x5590c80) at graphicsview/qgraphicsscene.cpp:2622
#19 0x00007fcaa2c5ecca in QGraphicsScene::addItem (this=0x2d6f250, item=0x55a8e90) at graphicsview/qgraphicsscene.cpp:2609
#20 0x00007fcaa2c1bda5 in QGraphicsItemPrivate::setParentItemHelper (this=0x55a8f10, newParent=0x2e3ac10, newParentVariant=0x7fffd405e670, thisPointerVariant=0x7fffd405e660)
    at graphicsview/qgraphicsitem.cpp:1136
#21 0x00007fcaa2c1e1f3 in QGraphicsItem::setParentItem (this=0x55a8e90, newParent=0x2e3ac10) at graphicsview/qgraphicsitem.cpp:1608
#22 0x00007fca9e1d099b in Plasma::Containment::addApplet (this=0x2e3ac00, applet=0x55a8e80, pos=..., delayInit=false) at /home/leo/kde/kdelibs/plasma/containment.cpp:921
#23 0x00007fca9e1d96be in Plasma::ContainmentPrivate::addApplet (this=0x2e3bf00, name=..., args=..., appletGeometry=..., id=0, delayInit=false) at /home/leo/kde/kdelibs/plasma/containment.cpp:2254
#24 0x00007fca9e1d04ae in Plasma::Containment::addApplet (this=0x2e3ac00, name=..., args=..., appletGeometry=...) at /home/leo/kde/kdelibs/plasma/containment.cpp:873
#25 0x00007fca7473de7a in Context::VerticalToolbarContainment::addApplet (this=0x2e3ac00, pluginName=..., loc=-1)
    at /home/leo/kde/amarok/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:144
#26 0x00007fca7473e1c7 in Context::VerticalToolbarContainment::qt_metacall (this=0x2e3ac00, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffd405eba0)
    at /home/leo/kde/amarok/build/src/context/containments/verticallayout/VerticalToolbarContainment.moc:89
#27 0x00007fcaa3421465 in QMetaObject::metacall (object=0x2e3ac00, cl=QMetaObject::InvokeMetaMethod, idx=89, argv=0x7fffd405eba0) at kernel/qmetaobject.cpp:237
#28 0x00007fcaa34378e0 in QMetaObject::activate (sender=0x2e79d80, m=0x7fcaa48280c0, local_signal_index=0, argv=0x7fffd405eba0) at kernel/qobject.cpp:3287
#29 0x00007fcaa3ea0090 in Context::AppletExplorer::addAppletToContainment (this=0x2e79d80, _t1=..., _t2=-1) at /home/leo/kde/amarok/build/src/AppletExplorer.moc:95
#30 0x00007fcaa3e9f28f in Context::AppletExplorer::addApplet (this=0x2e79d80, appletItem=0x2ef9300) at /home/leo/kde/amarok/src/context/widgets/appletexplorer/AppletExplorer.cpp:64
#31 0x00007fcaa3ea0016 in Context::AppletExplorer::qt_metacall (this=0x2e79d80, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffd405edb0) at /home/leo/kde/amarok/build/src/AppletExplorer.moc:82
#32 0x00007fcaa3421465 in QMetaObject::metacall (object=0x2e79d80, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0x7fffd405edb0) at kernel/qmetaobject.cpp:237
#33 0x00007fcaa34378e0 in QMetaObject::activate (sender=0x2ef9010, m=0x7fcaa4828a20, local_signal_index=0, argv=0x7fffd405edb0) at kernel/qobject.cpp:3287
#34 0x00007fcaa3ea5aaf in Context::AppletsListWidget::appletClicked (this=0x2ef9010, _t1=0x2ef9300) at /home/leo/kde/amarok/build/src/AppletsList.moc:95
#35 0x00007fcaa3ea42f3 in Context::AppletsListWidget::appletIconClicked (this=0x2ef9010) at /home/leo/kde/amarok/src/context/widgets/appletexplorer/AppletsList.cpp:99
#36 0x00007fcaa3ea5a39 in Context::AppletsListWidget::qt_metacall (this=0x2ef9010, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffd405ef00) at /home/leo/kde/amarok/build/src/AppletsList.moc:81
#37 0x00007fcaa3421465 in QMetaObject::metacall (object=0x2ef9010, cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0x7fffd405ef00) at kernel/qmetaobject.cpp:237
#38 0x00007fcaa34378e0 in QMetaObject::activate (sender=0x2de6a50, m=0x7fca9e63cf80, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3287
#39 0x00007fca9e2bdacb in Plasma::IconWidget::clicked (this=0x2de6a50) at /home/leo/kde/kdelibs-build/plasma/iconwidget.moc:279
#40 0x00007fca9e2bc37a in Plasma::IconWidget::mouseReleaseEvent (this=0x2de6a50, event=0x7fffd405fc80) at /home/leo/kde/kdelibs/plasma/widgets/iconwidget.cpp:1315
#41 0x00007fcaa2c2ce31 in QGraphicsItem::sceneEvent (this=0x2de6a60, event=0x7fffd405fc80) at graphicsview/qgraphicsitem.cpp:6506
#42 0x00007fcaa2c9dc3b in QGraphicsWidget::sceneEvent (this=0x2de6a50, event=0x7fffd405fc80) at graphicsview/qgraphicswidget.cpp:1129
#43 0x00007fcaa2c59838 in QGraphicsScenePrivate::sendEvent (this=0x2d6f7f0, item=0x2de6a60, event=0x7fffd405fc80) at graphicsview/qgraphicsscene.cpp:1182
#44 0x00007fcaa2c5a257 in QGraphicsScenePrivate::sendMouseEvent (this=0x2d6f7f0, mouseEvent=0x7fffd405fc80) at graphicsview/qgraphicsscene.cpp:1256
#45 0x00007fcaa2c63185 in QGraphicsScene::mouseReleaseEvent (this=0x2d6f250, mouseEvent=0x7fffd405fc80) at graphicsview/qgraphicsscene.cpp:4058
#46 0x00007fcaa2c60f4c in QGraphicsScene::event (this=0x2d6f250, event=0x7fffd405fc80) at graphicsview/qgraphicsscene.cpp:3399
#47 0x00007fcaa246c0ec in QApplicationPrivate::notify_helper (this=0x2131860, receiver=0x2d6f250, e=0x7fffd405fc80) at kernel/qapplication.cpp:4300
#48 0x00007fcaa246958a in QApplication::notify (this=0x7fffd40619a0, receiver=0x2d6f250, e=0x7fffd405fc80) at kernel/qapplication.cpp:3704
#49 0x00007fcaa424dcee in App::notify (this=0x7fffd40619a0, receiver=0x2d6f250, event=0x7fffd405fc80) at /home/leo/kde/amarok/src/App.cpp:917
#50 0x00007fcaa341941c in QCoreApplication::notifyInternal (this=0x7fffd40619a0, receiver=0x2d6f250, event=0x7fffd405fc80) at kernel/qcoreapplication.cpp:704
#51 0x00007fcaa246e791 in QCoreApplication::sendSpontaneousEvent (receiver=0x2d6f250, event=0x7fffd405fc80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#52 0x00007fcaa246c43d in qt_sendSpontaneousEvent (receiver=0x2d6f250, event=0x7fffd405fc80) at kernel/qapplication.cpp:5279
#53 0x00007fcaa2c95f1f in QGraphicsView::mouseReleaseEvent (this=0x2e38da0, event=0x7fffd4060a00) at graphicsview/qgraphicsview.cpp:3259
#54 0x00007fcaa24df71f in QWidget::event (this=0x2e38da0, event=0x7fffd4060a00) at kernel/qwidget.cpp:8021
#55 0x00007fcaa29b8b0f in QFrame::event (this=0x2e38da0, e=0x7fffd4060a00) at widgets/qframe.cpp:557
#56 0x00007fcaa2a71971 in QAbstractScrollArea::viewportEvent (this=0x2e38da0, e=0x7fffd4060a00) at widgets/qabstractscrollarea.cpp:1036
#57 0x00007fcaa2c93ef0 in QGraphicsView::viewportEvent (this=0x2e38da0, event=0x7fffd4060a00) at graphicsview/qgraphicsview.cpp:2787
#58 0x00007fcaa2a725f1 in QAbstractScrollAreaPrivate::viewportEvent (this=0x2e3fce0, event=0x7fffd4060a00) at widgets/qabstractscrollarea_p.h:100
#59 0x00007fcaa2a726fa in QAbstractScrollAreaFilter::eventFilter (this=0x2e54910, o=0x2e750e0, e=0x7fffd4060a00) at widgets/qabstractscrollarea_p.h:116
#60 0x00007fcaa3419737 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x2131860, receiver=0x2e750e0, event=0x7fffd4060a00) at kernel/qcoreapplication.cpp:819
#61 0x00007fcaa246c0c3 in QApplicationPrivate::notify_helper (this=0x2131860, receiver=0x2e750e0, e=0x7fffd4060a00) at kernel/qapplication.cpp:4296
#62 0x00007fcaa2469f6f in QApplication::notify (this=0x7fffd40619a0, receiver=0x2e750e0, e=0x7fffd4060a00) at kernel/qapplication.cpp:3865
#63 0x00007fcaa424dcee in App::notify (this=0x7fffd40619a0, receiver=0x2e750e0, event=0x7fffd4060a00) at /home/leo/kde/amarok/src/App.cpp:917
#64 0x00007fcaa341941c in QCoreApplication::notifyInternal (this=0x7fffd40619a0, receiver=0x2e750e0, event=0x7fffd4060a00) at kernel/qcoreapplication.cpp:704
#65 0x00007fcaa246e791 in QCoreApplication::sendSpontaneousEvent (receiver=0x2e750e0, event=0x7fffd4060a00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#66 0x00007fcaa24683f8 in QApplicationPrivate::sendMouseEvent (receiver=0x2e750e0, event=0x7fffd4060a00, alienWidget=0x2e750e0, nativeWidget=0x2e60e90, buttonDown=0x7fcaa324dbb8,
    lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2963
#67 0x00007fcaa251b3e3 in QETWidget::translateMouseEvent (this=0x2e60e90, event=0x7fffd4061550) at kernel/qapplication_x11.cpp:4370
#68 0x00007fcaa2517c96 in QApplication::x11ProcessEvent (this=0x7fffd40619a0, event=0x7fffd4061550) at kernel/qapplication_x11.cpp:3381
#69 0x00007fcaa2552f13 in x11EventSourceDispatch (s=0x21481d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0x00007fca993ae26e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#71 0x00007fca993b1c28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#72 0x00007fca993b1d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#73 0x00007fcaa34562f7 in QEventDispatcherGlib::processEvents (this=0x1fb9b10, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#74 0x00007fcaa255361c in QGuiEventDispatcherGlib::processEvents (this=0x1fb9b10, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007fcaa3416414 in QEventLoop::processEvents (this=0x7fffd4061930, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007fcaa341656a in QEventLoop::exec (this=0x7fffd4061930, flags=...) at kernel/qeventloop.cpp:201
#77 0x00007fcaa3419b1e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#78 0x00007fcaa24690fc in QApplication::exec () at kernel/qapplication.cpp:3579
#79 0x000000000040af72 in main (argc=2, argv=0x7fffd4063908) at /home/leo/kde/amarok/src/main.cpp:237

when trying to start amarok with the info applet loaded:

Thread 1 (Thread 0x7f7dd018c7a0 (LWP 4681)):
[KCrash Handler]
#5  0x00007f7dcdd97126 in QScopedPointer<QGraphicsItemPrivate, QScopedPointerDeleter<QGraphicsItemPrivate> >::operator-> (this=0x8)
    at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:112
#6  0x00007f7dcdd9568a in qt_closestItemFirst (item1=0x27d9270, item2=0x26a58b0) at graphicsview/qgraphicsitem_p.h:685
#7  0x00007f7dcdd999ce in QAlgorithmsPrivate::qSortHelper<QList<QGraphicsItem*>::iterator, QGraphicsItem*, bool (*)(QGraphicsItem const*, QGraphicsItem const*)> (start=..., end=..., t=@0x281c328, 
    lessThan=0x7f7dcdd9549c <qt_closestItemFirst(QGraphicsItem const*, QGraphicsItem const*)>) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:351
#8  0x00007f7dcdd975a8 in qSort<QList<QGraphicsItem*>::iterator, bool (*)(QGraphicsItem const*, QGraphicsItem const*)> (start=..., end=..., 
    lessThan=0x7f7dcdd9549c <qt_closestItemFirst(QGraphicsItem const*, QGraphicsItem const*)>) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:187
#9  0x00007f7dcddd7d96 in QGraphicsSceneBspTreeIndexPrivate::sortItems (itemList=0x7fff9cb25300, order=Qt::DescendingOrder, sortCacheEnabled=false, onlyTopLevelItems=false)
    at graphicsview/qgraphicsscenebsptreeindex.cpp:434
#10 0x00007f7dcddd8888 in QGraphicsSceneBspTreeIndex::items (this=0x2523260, order=Qt::DescendingOrder) at graphicsview/qgraphicsscenebsptreeindex.cpp:572
#11 0x00007f7dcddb4db3 in QGraphicsScene::items (this=0x2523230) at graphicsview/qgraphicsscene.cpp:1901
#12 0x00007f7dcddb4c1a in QGraphicsScene::itemsBoundingRect (this=0x2523230) at graphicsview/qgraphicsscene.cpp:1888
#13 0x00007f7dcddb3f07 in QGraphicsScene::sceneRect (this=0x2523230) at graphicsview/qgraphicsscene.cpp:1637
#14 0x00007f7dcdde7793 in QGraphicsView::sceneRect (this=0x25f1de0) at graphicsview/qgraphicsview.cpp:1625
#15 0x00007f7dc937ddbe in Plasma::viewFor (item=0x27b9fc0) at /home/leo/kde/kdelibs/plasma/plasma.cpp:101
#16 0x00007f7dc9444019 in Plasma::WebView::itemChange (this=0x27b9fb0, change=QGraphicsItem::ItemSceneHasChanged, value=...) at /home/leo/kde/kdelibs/plasma/widgets/webview.cpp:266
#17 0x00007f7dcddb6dfe in QGraphicsScene::addItem (this=0x2523230, item=0x27b9fc0) at graphicsview/qgraphicsscene.cpp:2622
#18 0x00007f7dcddb6cca in QGraphicsScene::addItem (this=0x2523230, item=0x275c650) at graphicsview/qgraphicsscene.cpp:2609
#19 0x00007f7dcdd73da5 in QGraphicsItemPrivate::setParentItemHelper (this=0x275c6d0, newParent=0x26a58b0, newParentVariant=0x7fff9cb25a40, thisPointerVariant=0x7fff9cb25a30)
    at graphicsview/qgraphicsitem.cpp:1136
#20 0x00007f7dcdd761f3 in QGraphicsItem::setParentItem (this=0x275c650, newParent=0x26a58b0) at graphicsview/qgraphicsitem.cpp:1608
#21 0x00007f7dc932899b in Plasma::Containment::addApplet (this=0x26a58a0, applet=0x275c640, pos=..., delayInit=false) at /home/leo/kde/kdelibs/plasma/containment.cpp:921
#22 0x00007f7dc93316be in Plasma::ContainmentPrivate::addApplet (this=0x25eceb0, name=..., args=..., appletGeometry=..., id=0, delayInit=false) at /home/leo/kde/kdelibs/plasma/containment.cpp:2254
#23 0x00007f7dc93284ae in Plasma::Containment::addApplet (this=0x26a58a0, name=..., args=..., appletGeometry=...) at /home/leo/kde/kdelibs/plasma/containment.cpp:873
#24 0x00007f7d9f50ee7a in Context::VerticalToolbarContainment::addApplet (this=0x26a58a0, pluginName=..., loc=-1)
    at /home/leo/kde/amarok/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:144
#25 0x00007f7d9f50ec30 in Context::VerticalToolbarContainment::loadConfig (this=0x26a58a0, conf=...) at /home/leo/kde/amarok/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:110
#26 0x00007f7dcefd7422 in Context::ContextView::loadConfig (this=0x25f1de0) at /home/leo/kde/amarok/src/context/ContextView.cpp:224
#27 0x00007f7dcefd7163 in Context::ContextView::showHome (this=0x25f1de0) at /home/leo/kde/amarok/src/context/ContextView.cpp:205
#28 0x00007f7dcf3ca9cc in MainWindow::createContextView (this=0x1cedf00, containment=0x26a58a0) at /home/leo/kde/amarok/src/MainWindow.cpp:408
#29 0x00007f7dcf3d4acc in MainWindow::qt_metacall (this=0x1cedf00, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7fff9cb261f0) at /home/leo/kde/amarok/build/src/MainWindow.moc:156
#30 0x00007f7dce579465 in QMetaObject::metacall (object=0x1cedf00, cl=QMetaObject::InvokeMetaMethod, idx=72, argv=0x7fff9cb261f0) at kernel/qmetaobject.cpp:237
#31 0x00007f7dce58f8e0 in QMetaObject::activate (sender=0x2523230, m=0x7f7dc978d540, local_signal_index=0, argv=0x7fff9cb261f0) at kernel/qobject.cpp:3287
#32 0x00007f7dc9340f93 in Plasma::Corona::containmentAdded (this=0x2523230, _t1=0x26a58a0) at /home/leo/kde/kdelibs-build/plasma/corona.moc:149
#33 0x00007f7dc9342342 in Plasma::CoronaPrivate::addContainment (this=0x2523af0, name=..., args=..., id=0, delayedInit=false) at /home/leo/kde/kdelibs/plasma/corona.cpp:248
#34 0x00007f7dc933ee37 in Plasma::Corona::addContainment (this=0x2523230, name=..., args=...) at /home/leo/kde/kdelibs/plasma/corona.cpp:547
#35 0x00007f7dcefd4561 in Context::ContextScene::loadDefaultSetup (this=0x2523230) at /home/leo/kde/amarok/src/context/ContextScene.cpp:45
#36 0x00007f7dcf3c917e in MainWindow::init (this=0x1cedf00) at /home/leo/kde/amarok/src/MainWindow.cpp:303
#37 0x00007f7dcf3c61b3 in MainWindow (this=0x1cedf00) at /home/leo/kde/amarok/src/MainWindow.cpp:182
#38 0x00007f7dcf3a4424 in App::continueInit (this=0x7fff9cb27030) at /home/leo/kde/amarok/src/App.cpp:664
#39 0x00007f7dcf39fbb6 in App (this=0x7fff9cb27030) at /home/leo/kde/amarok/src/App.cpp:211
#40 0x000000000040af52 in main (argc=2, argv=0x7fff9cb28f98) at /home/leo/kde/amarok/src/main.cpp:235
Comment 1 Leo Franchi 2010-03-07 03:43:33 UTC
additional backtrace with qgraphics scene item index mode set to NoIndex:

Thread 1 (Thread 0x7f64eb5577a0 (LWP 8282)):
[KCrash Handler]
#5  0x00007f64e914b860 in QGraphicsItemPrivate::invalidateParentGraphicsEffectsRecursively (this=0x31002500220000) at graphicsview/qgraphicsitem.cpp:5120
#6  0x00007f64e914c3c6 in QGraphicsItem::update (this=0x2022b20, rect=...) at graphicsview/qgraphicsitem.cpp:5390
#7  0x00007f64e267b41a in QGraphicsWebViewPrivate::update(QRect const&) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#8  0x00007f64e2663ebb in WebCore::ChromeClientQt::repaint(WebCore::IntRect const&, bool, bool, bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#9  0x00007f64e2434fe5 in WebCore::Chrome::repaint(WebCore::IntRect const&, bool, bool, bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#10 0x00007f64e24d6c7a in WebCore::ScrollView::repaintContentRectangle(WebCore::IntRect const&, bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#11 0x00007f64e246970e in WebCore::FrameView::doDeferredRepaints() () from /usr/qt/4.6/lib/libQtWebKit.so.4
#12 0x00007f64e246959e in WebCore::FrameView::endDeferredRepaints() () from /usr/qt/4.6/lib/libQtWebKit.so.4
#13 0x00007f64e24681cb in WebCore::FrameView::layout(bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#14 0x00007f64e2469411 in WebCore::FrameView::visibleContentsResized() () from /usr/qt/4.6/lib/libQtWebKit.so.4
#15 0x00007f64e24d5312 in WebCore::ScrollView::updateScrollbars(WebCore::IntSize const&) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#16 0x00007f64e24d48bc in WebCore::ScrollView::setContentsSize(WebCore::IntSize const&) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#17 0x00007f64e2467629 in WebCore::FrameView::setContentsSize(WebCore::IntSize const&) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#18 0x00007f64e2467748 in WebCore::FrameView::adjustViewSize() () from /usr/qt/4.6/lib/libQtWebKit.so.4
#19 0x00007f64e2468181 in WebCore::FrameView::layout(bool) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#20 0x00007f64e2469411 in WebCore::FrameView::visibleContentsResized() () from /usr/qt/4.6/lib/libQtWebKit.so.4
#21 0x00007f64e24d5312 in WebCore::ScrollView::updateScrollbars(WebCore::IntSize const&) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#22 0x00007f64e24d69db in WebCore::ScrollView::setFrameRect(WebCore::IntRect const&) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#23 0x00007f64e2685faf in QWebPage::setViewportSize(QSize const&) const () from /usr/qt/4.6/lib/libQtWebKit.so.4
#24 0x00007f64e268466e in QWebPage::setView(QWidget*) () from /usr/qt/4.6/lib/libQtWebKit.so.4
#25 0x00007f64e480f03b in Plasma::WebView::itemChange (this=0x2436ab0, change=QGraphicsItem::ItemSceneHasChanged, value=...) at /home/leo/kde/kdelibs/plasma/widgets/webview.cpp:266
#26 0x00007f64e9181dfe in QGraphicsScene::addItem (this=0x1f70c60, item=0x2436ac0) at graphicsview/qgraphicsscene.cpp:2622
#27 0x00007f64e9181cca in QGraphicsScene::addItem (this=0x1f70c60, item=0x2401590) at graphicsview/qgraphicsscene.cpp:2609
#28 0x00007f64e913eda5 in QGraphicsItemPrivate::setParentItemHelper (this=0x2401610, newParent=0x2399280, newParentVariant=0x7fff2c57b3b0, thisPointerVariant=0x7fff2c57b3a0)
    at graphicsview/qgraphicsitem.cpp:1136
#29 0x00007f64e91411f3 in QGraphicsItem::setParentItem (this=0x2401590, newParent=0x2399280) at graphicsview/qgraphicsitem.cpp:1608
#30 0x00007f64e46f399b in Plasma::Containment::addApplet (this=0x2399270, applet=0x2401580, pos=..., delayInit=false) at /home/leo/kde/kdelibs/plasma/containment.cpp:921
#31 0x00007f64e46fc6be in Plasma::ContainmentPrivate::addApplet (this=0x2025a60, name=..., args=..., appletGeometry=..., id=0, delayInit=false) at /home/leo/kde/kdelibs/plasma/containment.cpp:2254
#32 0x00007f64e46f34ae in Plasma::Containment::addApplet (this=0x2399270, name=..., args=..., appletGeometry=...) at /home/leo/kde/kdelibs/plasma/containment.cpp:873
#33 0x00007f64bac3fe7a in Context::VerticalToolbarContainment::addApplet (this=0x2399270, pluginName=..., loc=-1)
    at /home/leo/kde/amarok/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:144
#34 0x00007f64bac3fc30 in Context::VerticalToolbarContainment::loadConfig (this=0x2399270, conf=...) at /home/leo/kde/amarok/src/context/containments/verticallayout/VerticalToolbarContainment.cpp:110
#35 0x00007f64ea3a244a in Context::ContextView::loadConfig (this=0x2022b10) at /home/leo/kde/amarok/src/context/ContextView.cpp:224
#36 0x00007f64ea3a218b in Context::ContextView::showHome (this=0x2022b10) at /home/leo/kde/amarok/src/context/ContextView.cpp:205
#37 0x00007f64ea7959f4 in MainWindow::createContextView (this=0x1bb7410, containment=0x2399270) at /home/leo/kde/amarok/src/MainWindow.cpp:408
#38 0x00007f64ea79faf4 in MainWindow::qt_metacall (this=0x1bb7410, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7fff2c57bb60) at /home/leo/kde/amarok/build/src/MainWindow.moc:156
#39 0x00007f64e9944465 in QMetaObject::metacall (object=0x1bb7410, cl=QMetaObject::InvokeMetaMethod, idx=72, argv=0x7fff2c57bb60) at kernel/qmetaobject.cpp:237
#40 0x00007f64e995a8e0 in QMetaObject::activate (sender=0x1f70c60, m=0x7f64e4b58540, local_signal_index=0, argv=0x7fff2c57bb60) at kernel/qobject.cpp:3287
#41 0x00007f64e470bf93 in Plasma::Corona::containmentAdded (this=0x1f70c60, _t1=0x2399270) at /home/leo/kde/kdelibs-build/plasma/corona.moc:149
#42 0x00007f64e470d342 in Plasma::CoronaPrivate::addContainment (this=0x1f713e0, name=..., args=..., id=0, delayedInit=false) at /home/leo/kde/kdelibs/plasma/corona.cpp:248
#43 0x00007f64e4709e37 in Plasma::Corona::addContainment (this=0x1f70c60, name=..., args=...) at /home/leo/kde/kdelibs/plasma/corona.cpp:547
#44 0x00007f64ea39f589 in Context::ContextScene::loadDefaultSetup (this=0x1f70c60) at /home/leo/kde/amarok/src/context/ContextScene.cpp:46
#45 0x00007f64ea7941a6 in MainWindow::init (this=0x1bb7410) at /home/leo/kde/amarok/src/MainWindow.cpp:303
#46 0x00007f64ea7911db in MainWindow (this=0x1bb7410) at /home/leo/kde/amarok/src/MainWindow.cpp:182
#47 0x00007f64ea76f44c in App::continueInit (this=0x7fff2c57c9a0) at /home/leo/kde/amarok/src/App.cpp:664
#48 0x00007f64ea76abde in App (this=0x7fff2c57c9a0) at /home/leo/kde/amarok/src/App.cpp:211
#49 0x000000000040af52 in main (argc=2, argv=0x7fff2c57e908) at /home/leo/kde/amarok/src/main.cpp:235
Comment 2 Myriam Schweingruber 2010-03-07 09:02:06 UTC
Isn't this a Qt bug, and a duplicate of bug 227639?
Comment 3 Paulo Dias 2010-03-08 19:48:53 UTC
It might be a duplicate but amarok crashes on startup in bug 227639 most probably because the info applet is already active, remove it and amarok will start.

it might be  a good idea not to ship info applet in 2.3.0 if this bug cant be fixed in amarok, cause thie minute the users activate it and restart amarok they wont be able to start it. very annoying :(
Comment 4 Paulo Dias 2010-03-16 21:36:17 UTC
still there in 2.3.0 final AND 2.3.1 git from today (btw coberbling is awesome) :), any idea when this will be fixed?

best regards
Comment 5 Nikolaj Hald Nielsen 2010-03-22 09:51:20 UTC
commit a62fed8c667a076daa21fdf8360708813f1bf9e0
Author: Nikolaj Hald Nielsen <nhn@kde.org>
Date:   Mon Mar 22 09:46:32 2010 +0100

    Work around crash in the Info applet caused by a bug in certain versions of Qt.
    
    BUG: 229756
    BUG: 227639

diff --git a/src/context/applets/info/InfoApplet.cpp b/src/context/applets/info/InfoApplet.cpp
index 166da4c..e415e98 100644
--- a/src/context/applets/info/InfoApplet.cpp
+++ b/src/context/applets/info/InfoApplet.cpp
@@ -40,18 +40,30 @@ QString InfoApplet::s_defaultHtml = "<html>"
 
 InfoApplet::InfoApplet( QObject* parent, const QVariantList& args )
     : Context::Applet( parent, args )
+    , m_webView( 0 )
     , m_initialized( false )
     , m_currentPlaylist( 0 )
+   
 {
     setHasConfigurationInterface( false );
     setBackgroundHints( Plasma::Applet::NoBackground );
+}
+
+InfoApplet::~InfoApplet()
+{
+    delete m_webView;
+}
+
+
+void  InfoApplet::init()
+{
 
     dataEngine( "amarok-info" )->connectSource( "info", this );
 
     m_webView = new AmarokWebView( this );
 
     resize( 500, -1 );
-    
+
     QPalette p = m_webView->palette();
     p.setColor( QPalette::Dark, QColor( 255, 255, 255, 0)  );
     p.setColor( QPalette::Window, QColor( 255, 255, 255, 0)  );
@@ -62,11 +74,6 @@ InfoApplet::InfoApplet( QObject* parent, const QVariantList& args )
     constraintsEvent();
 }
 
-InfoApplet::~InfoApplet()
-{
-    delete m_webView;
-}
-
 void InfoApplet::constraintsEvent( Plasma::Constraints constraints )
 {
     Q_UNUSED( constraints )
diff --git a/src/context/applets/info/InfoApplet.h b/src/context/applets/info/InfoApplet.h
index 4be28fc..775ea7c 100644
--- a/src/context/applets/info/InfoApplet.h
+++ b/src/context/applets/info/InfoApplet.h
@@ -48,6 +48,8 @@ public:
     InfoApplet( QObject* parent, const QVariantList& args );
     virtual ~InfoApplet();
 
+    void init();
+
     void paintInterface( QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect &contentsRect );
     void constraintsEvent( Plasma::Constraints constraints = Plasma::AllConstraints );