Version: (using KDE 4.4.1) OS: Linux Installed from: Ubuntu Packages HOW TO REPRODUCE - click on the clock to open the calendar - drag the calendar on the desktop and release the mouse - move the calendar to another place on the desktop This causes plasma to crash and upon restart the calendar widget is all messed up. Here are the crash details: Executable: kdeinit4 PID: 3048 Signal: 11 (Segmentation fault) Application: Plasma Workspace (kdeinit4), signal: Segmentation fault [KCrash Handler] #6 0x033bf17a in Plasma::Calendar::calendarTable() const () from /usr/lib/libplasmaclock.so.4 #7 0x033b5bb3 in ClockApplet::calendar() const () from /usr/lib/libplasmaclock.so.4 #8 0x07c13f55 in ?? () from /usr/lib/kde4/plasma_applet_dig_clock.so #9 0x047bd10b in Plasma::Applet::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () from /usr/lib/libplasma.so.3 #10 0x01fdc39c in ?? () from /usr/lib/libQtGui.so.4 #11 0x01ff6e24 in ?? () from /usr/lib/libQtGui.so.4 #12 0x01ff9471 in ?? () from /usr/lib/libQtGui.so.4 #13 0x01ff9e43 in ?? () from /usr/lib/libQtGui.so.4 #14 0x01ff94fc in ?? () from /usr/lib/libQtGui.so.4 #15 0x01ff9e43 in ?? () from /usr/lib/libQtGui.so.4 #16 0x01ffa556 in ?? () from /usr/lib/libQtGui.so.4 #17 0x0201497b in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4 #18 0x015fdd99 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so #19 0x019a6466 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #20 0x01da1b23 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #21 0x01e3bda2 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #22 0x02010dfb in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #23 0x01e3e695 in ?? () from /usr/lib/libQtGui.so.4 #24 0x0104cf9a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #25 0x01948259 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #26 0x0194ef79 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #27 0x009ed1fa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #28 0x0104dcfb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #29 0x019af666 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #30 0x019b04a5 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #31 0x019af3b5 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #32 0x01b85490 in ?? () from /usr/lib/libQtGui.so.4 #33 0x0199f973 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4 #34 0x019a6c26 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #35 0x01da1b23 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #36 0x01e3c7b7 in QAbstractScrollArea::event(QEvent*) () from /usr/lib/libQtGui.so.4 #37 0x02012fa6 in QGraphicsView::event(QEvent*) () from /usr/lib/libQtGui.so.4 #38 0x015fe583 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so #39 0x0194827c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #40 0x0194ef79 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #41 0x009ed1fa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #42 0x0104dcfb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #43 0x01050733 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #44 0x0105089d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #45 0x01ff65b6 in ?? () from /usr/lib/libQtGui.so.4 #46 0x01ff6b06 in QGraphicsScene::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4 #47 0x047e890a in Plasma::Corona::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libplasma.so.3 #48 0x015ee1ad in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so #49 0x01052f6a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #50 0x0105d626 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4 #51 0x0105e74e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #52 0x01ff27e4 in QGraphicsScene::event(QEvent*) () from /usr/lib/libQtGui.so.4 #53 0x0194827c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #54 0x0194eede in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #55 0x009ed1fa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #56 0x0104dcfb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #57 0x01050733 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #58 0x0105089d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #59 0x01079def in ?? () from /usr/lib/libQtCore.so.4 #60 0x03266648 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #61 0x03269ea3 in ?? () from /lib/libglib-2.0.so.0 #62 0x0326a028 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #63 0x010798e5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #64 0x01a07485 in ?? () from /usr/lib/libQtGui.so.4 #65 0x0104c319 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #66 0x0104c76a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #67 0x0105095f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #68 0x01948317 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #69 0x015f617e in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so #70 0x0804dff7 in _start ()
Created attachment 41356 [details] the calendar after Plasma restarts the calendar is showing nothing and an extra button appeared to its right. (the upright infinity sign). Clicking on that button closes the widget
Created attachment 41357 [details] the calendar widget after the crash and after being closed. Look at the clock.
can you install the debug packages for qt, kdelibs and kdebase-workspace, re-trigger this bug and post an updated backtrace? thanks.
I can trigger it each time I detach and move the calendar. Here the backtrace: Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault [KCrash Handler] #6 0xa7ef6d15 in Plasma::Calendar::calendarTable (this=0x8ad2328) at /usr/local/branch-src/kdebase/workspace/libs/plasmaclock/calendar.cpp:173 #7 0xa7ef7207 in Plasma::Calendar::calendar (this=0x8ad2328) at /usr/local/branch-src/kdebase/workspace/libs/plasmaclock/calendar.cpp:198 #8 0xa7eedf5d in ClockApplet::calendar (this=0x87a76e8) at /usr/local/branch-src/kdebase/workspace/libs/plasmaclock/clockapplet.cpp:735 #9 0xa7ffa6da in Clock::paintInterface (this=0x87a76e8, p=0xbfe9493c, option=0x8664ea8, contentsRect=@0xbfe93280) at /usr/local/branch-src/kdebase/workspace/plasma/generic/applets/digital-clock/clock.cpp:395 #10 0xb7a5e599 in Plasma::Applet::paint (this=0x87a76e8, painter=0xbfe9493c, option=0x8664ea8, widget=0x8aa1060) at /usr/local/branch-src/kdelibs/plasma/applet.cpp:1365 #11 0xb693900d in _q_paintItem (item=0x87a76f0, painter=0xbfe9493c, option=0x8664ea8, widget=0x8aa1060, useWindowOpacity=true, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4243 #12 0xb6939507 in QGraphicsScenePrivate::drawItemHelper (this=0x8664d48, item=0x87a76f0, painter=0xbfe9493c, option=0x8664ea8, widget=0x8aa1060, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4311 #13 0xb693bd7f in QGraphicsScenePrivate::draw (this=0x8664d48, item=0x87a76f0, painter=0xbfe9493c, viewTransform=0xbfe94870, transformPtr=0xbfe93f30, exposedRegion=0x8a971a4, widget=0x8aa1060, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4827 #14 0xb693cacb in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x8664d48, item=0x87a76f0, painter=0xbfe9493c, viewTransform=0xbfe94870, exposedRegion=0x8a971a4, widget=0x8aa1060, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4749 #15 0xb693be72 in QGraphicsScenePrivate::draw (this=0x8664d48, item=0x87b1a60, painter=0xbfe9493c, viewTransform=0xbfe94870, transformPtr=0xbfe94400, exposedRegion=0x8a971a4, widget=0x8aa1060, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4841 #16 0xb693cacb in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x8664d48, item=0x87b1a60, painter=0xbfe9493c, viewTransform=0xbfe94870, exposedRegion=0x8a971a4, widget=0x8aa1060, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4749 #17 0xb694bef0 in QGraphicsScenePrivate::drawItems (this=0x8664d48, painter=0xbfe9493c, viewTransform=0xbfe94870, exposedRegion=0x8a971a4, widget=0x8aa1060) at graphicsview/qgraphicsscene.cpp:4619 #18 0xb696fe6f in QGraphicsView::paintEvent (this=0x8ba50f8, event=0xbfe953c4) at graphicsview/qgraphicsview.cpp:3393 #19 0xb804d6fc in PanelView::paintEvent (this=0x8ba50f8, event=0xbfe953c4) at /usr/local/branch-src/kdebase/workspace/plasma/desktop/shell/panelview.cpp:1310 #20 0xb61e5eda in QWidget::event (this=0x8ba50f8, event=0xbfe953c4) at kernel/qwidget.cpp:8144 #21 0xb669a256 in QFrame::event (this=0x8ba50f8, e=0xbfe953c4) at widgets/qframe.cpp:557 #22 0xb675154b in QAbstractScrollArea::viewportEvent (this=0x8ba50f8, e=0xbfe953c4) at widgets/qabstractscrollarea.cpp:1036 #23 0xb6977667 in QGraphicsView::viewportEvent (this=0x8ba50f8, event=0xbfe953c4) at graphicsview/qgraphicsview.cpp:2787 #24 0xb6754a90 in QAbstractScrollAreaPrivate::viewportEvent (this=0x8a96e40, event=0xbfe953c4) at widgets/qabstractscrollarea_p.h:100 #25 0xb6754abe in QAbstractScrollAreaFilter::eventFilter (this=0x8cc3a90, o=0x8aa1060, e=0xbfe953c4) at widgets/qabstractscrollarea_p.h:116 #26 0xb5e1bcf6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x866bea8, receiver=0x8aa1060, event=0xbfe953c4) at kernel/qcoreapplication.cpp:819 #27 0xb61671c3 in QApplicationPrivate::notify_helper (this=0x866bea8, receiver=0x8aa1060, e=0xbfe953c4) at kernel/qapplication.cpp:4296 #28 0xb616a301 in QApplication::notify (this=0x8661df0, receiver=0x8aa1060, e=0xbfe953c4) at kernel/qapplication.cpp:4265 #29 0xb729988f in KApplication::notify (this=0x8661df0, receiver=0x8aa1060, event=0xbfe953c4) at /usr/local/branch-src/kdelibs/kdeui/kernel/kapplication.cpp:302 #30 0xb5e1e238 in QCoreApplication::notifyInternal (this=0x8661df0, receiver=0x8aa1060, event=0xbfe953c4) at kernel/qcoreapplication.cpp:704 #31 0xb617c1dd in QCoreApplication::sendSpontaneousEvent (receiver=0x8aa1060, event=0xbfe953c4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #32 0xb61e2560 in QWidgetPrivate::drawWidget (this=0x8a91990, pdev=0x8b9f794, rgn=@0xbfe95528, offset=@0xbfe95574, flags=4, sharedPainter=0x0, backingStore=0x8b83408) at kernel/qwidget.cpp:5339 #33 0xb61e2f78 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a96e40, pdev=0x8b9f794, siblings=@0x8a96e4c, index=1, rgn=@0xbfe95840, offset=@0x8b8342c, flags=4, sharedPainter=0x0, backingStore=0x8b83408) at kernel/qwidget.cpp:5452 #34 0xb61e2ab8 in QWidgetPrivate::drawWidget (this=0x8a96e40, pdev=0x8b9f794, rgn=@0xbfe95840, offset=@0x8b8342c, flags=5, sharedPainter=0x0, backingStore=0x8b83408) at kernel/qwidget.cpp:5388 #35 0xb6411c91 in QWidgetBackingStore::sync (this=0x8b83408) at painting/qbackingstore.cpp:1291 #36 0xb61da98e in QWidgetPrivate::syncBackingStore (this=0x8a96e40) at kernel/qwidget.cpp:1672 #37 0xb61e64d8 in QWidget::event (this=0x8ba50f8, event=0x8b31818) at kernel/qwidget.cpp:8291 #38 0xb669a256 in QFrame::event (this=0x8ba50f8, e=0x8b31818) at widgets/qframe.cpp:557 #39 0xb6752818 in QAbstractScrollArea::event (this=0x8ba50f8, e=0x8b31818) at widgets/qabstractscrollarea.cpp:989 #40 0xb69699c8 in QGraphicsView::event (this=0x8ba50f8, event=0x8b31818) at graphicsview/qgraphicsview.cpp:2666 #41 0xb804d6d3 in PanelView::event (this=0x8ba50f8, event=0x8b31818) at /usr/local/branch-src/kdebase/workspace/plasma/desktop/shell/panelview.cpp:1324 #42 0xb61671e6 in QApplicationPrivate::notify_helper (this=0x866bea8, receiver=0x8ba50f8, e=0x8b31818) at kernel/qapplication.cpp:4300 #43 0xb616a301 in QApplication::notify (this=0x8661df0, receiver=0x8ba50f8, e=0x8b31818) at kernel/qapplication.cpp:4265 #44 0xb729988f in KApplication::notify (this=0x8661df0, receiver=0x8ba50f8, event=0x8b31818) at /usr/local/branch-src/kdelibs/kdeui/kernel/kapplication.cpp:302 #45 0xb5e1e238 in QCoreApplication::notifyInternal (this=0x8661df0, receiver=0x8ba50f8, event=0x8b31818) at kernel/qcoreapplication.cpp:704 #46 0xb616419f in QCoreApplication::sendEvent (receiver=0x8ba50f8, event=0x8b31818) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #47 0xb5e1e7c2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x8ba50f8, event_type=77, data=0x864ce68) at kernel/qcoreapplication.cpp:1345 #48 0xb5e1ea57 in QCoreApplication::sendPostedEvents (receiver=0x8ba50f8, event_type=77) at kernel/qcoreapplication.cpp:1238 #49 0xb695a101 in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0x8a96e40) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:184 #50 0xb694e7d9 in QGraphicsScenePrivate::_q_processDirtyItems (this=0x8664d48) at graphicsview/qgraphicsscene.cpp:509 #51 0xb694ea52 in QGraphicsScene::qt_metacall (this=0x8664850, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x8f2ca90) at .moc/debug-shared/moc_qgraphicsscene.cpp:130 #52 0xb7a8cf24 in Plasma::Corona::qt_metacall (this=0x8664850, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x8f2ca90) at /home/branch/build/kdelibs/plasma/corona.moc:107 #53 0xb8039ff6 in DesktopCorona::qt_metacall (this=0x8664850, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x8f2ca90) at /home/branch/build/kdebase/workspace/plasma/desktop/shell/desktopcorona.moc:86 #54 0xb5e25b4b in QMetaObject::metacall (object=0x8664850, cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0x8f2ca90) at kernel/qmetaobject.cpp:237 #55 0xb5e33119 in QMetaCallEvent::placeMetaCall (this=0x8ce1e90, object=0x8664850) at kernel/qobject.cpp:561 #56 0xb5e3518b in QObject::event (this=0x8664850, e=0x8ce1e90) at kernel/qobject.cpp:1248 #57 0xb694a928 in QGraphicsScene::event (this=0x8664850, event=0x8ce1e90) at graphicsview/qgraphicsscene.cpp:3500 #58 0xb61671e6 in QApplicationPrivate::notify_helper (this=0x866bea8, receiver=0x8664850, e=0x8ce1e90) at kernel/qapplication.cpp:4300 #59 0xb6167658 in QApplication::notify (this=0x8661df0, receiver=0x8664850, e=0x8ce1e90) at kernel/qapplication.cpp:3704 #60 0xb729988f in KApplication::notify (this=0x8661df0, receiver=0x8664850, event=0x8ce1e90) at /usr/local/branch-src/kdelibs/kdeui/kernel/kapplication.cpp:302 #61 0xb5e1e238 in QCoreApplication::notifyInternal (this=0x8661df0, receiver=0x8664850, event=0x8ce1e90) at kernel/qcoreapplication.cpp:704 #62 0xb616419f in QCoreApplication::sendEvent (receiver=0x8664850, event=0x8ce1e90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #63 0xb5e1e7c2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x864ce68) at kernel/qcoreapplication.cpp:1345 #64 0xb5e1ea57 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #65 0xb625b22e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #66 0xb5e597fd in postEventSourceDispatch (s=0x866d740) at kernel/qeventdispatcher_glib.cpp:276 #67 0xb41ff7ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #68 0xb4202ee8 in ?? () from /usr/lib/libglib-2.0.so.0 #69 0xb42030a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #70 0xb5e587c6 in QEventDispatcherGlib::processEvents (this=0x864c9c0, flags={i = -1075220696}) at kernel/qeventdispatcher_glib.cpp:412 #71 0xb62596fa in QGuiEventDispatcherGlib::processEvents (this=0x864c9c0, flags={i = -1075220648}) at kernel/qguieventdispatcher_glib.cpp:204 #72 0xb5e1a5ae in QEventLoop::processEvents (this=0xbfe96ff8, flags={i = -1075220572}) at kernel/qeventloop.cpp:149 #73 0xb5e1a820 in QEventLoop::exec (this=0xbfe96ff8, flags={i = -1075220480}) at kernel/qeventloop.cpp:201 #74 0xb5e1eb8d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #75 0xb616a348 in QApplication::exec () at kernel/qapplication.cpp:3579 #76 0xb8044555 in kdemain (argc=1, argv=0xbfe971c4) at /usr/local/branch-src/kdebase/workspace/plasma/desktop/shell/main.cpp:112 #77 0x08048746 in main (argc=141794288, argv=0x8739c40) at /home/branch/build/kdebase/workspace/plasma/desktop/shell/plasma-desktop_dummy.cpp:3 from 4.4 branch
SVN commit 1099727 by aseigo: * record where the mouse was in drag * get the parenting right, prevents crashes BUG:229566 M +1 -1 extender.cpp M +12 -11 extenderitem.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1099727
SVN commit 1100005 by annma: backport Aaron's fixe r1099727 for 229566 CCBUG=229566 M +1 -1 extenders/extender.cpp M +14 -12 extenders/extenderitem.cpp M +10 -0 private/extenderitemmimedata.cpp M +5 -0 private/extenderitemmimedata_p.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1100005
*** Bug 228989 has been marked as a duplicate of this bug. ***