| Summary: | Removing a widget using the context menu over the applet handle crash Plasma (not 100% reproducible) [QGraphicsLayoutItem::geometry, Plasma::AppletHandle::detachApplet, ~AppletHandle] | ||
|---|---|---|---|
| Product: | [Unmaintained] plasma4 | Reporter: | Dario Andres <andresbajotierra> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | notmart |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SVN commit 1035446 by aseigo: handles are now children of the applet, so we don't need to destroy them ourselves; we do need to clear the applet pointer in the handle before it is destroyed, however. BUG:209058 M +0 -1 containment.cpp M +1 -1 private/applethandle.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1035446 |
Application: plasma-desktop (0.3) KDE Version: 4.3.69 (KDE 4.3.69 (KDE 4.4 >= 20090923)) (Compiled from sources) Qt Version: 4.6.0 Operating System: Linux 2.6.30-ARCH i686 Distribution (Platform): Archlinux Packages What I was doing when the application crashed: Here using: Qt: 4.6.0 (Qt git branch 4.6 commit f3d15516572394b6bcd44a89dd66516fa4eba56e Date: Fri Sep 25 10:21:23 2009 +1000) KDE: 4.3.69 (KDE 4.3.69 (KDE 4.4 >= 20090923)) kdelibs svn rev. 1029296 / kdebase svn rev. 1029296 on ArchLinux i686 - Kernel 2.6.30.6 I tried this with a clean configuration and I could reproduce in the third attempt. -- Steps to reproduce: - Place a widget in the Desktop - Hover the widget so its AppletHandle will appear - (optional, wait 1 or 2 seconds?) - Put the mouse over the AppletHandle and right click on it (in an empty space) to show the context menu - Choose "Remove this Widget" I did this three times with different widgets and I could reproduce the crash. So far I could reproduce this bug the most with the FolderView and a time with the bubblemon widget (this one), but I think it is unrelated. -- Backtrace: Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault [Current thread is 0 (LWP 5074)] Thread 4 (Thread 0xa8531b70 (LWP 5083)): #0 0xb7f8a424 in __kernel_vsyscall () #1 0xb5af8b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5b84267 in QWaitConditionPrivate::wait (this=0x8b54e88, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 0xb5b8406b in QWaitCondition::wait (this=0x8b49708, mutex=0x8b49704, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0xb7449b06 in QHostInfoAgent::run (this=0x8b496f8) at kernel/qhostinfo.cpp:252 #5 0xb5b82e28 in QThreadPrivate::start (arg=0x8b496f8) at thread/qthread_unix.cpp:244 #6 0xb5af465c in start_thread () from /lib/libpthread.so.0 #7 0xb593f1fe in clone () from /lib/libc.so.6 Thread 3 (Thread 0xa63c1b70 (LWP 5146)): #0 0xb7f8a424 in __kernel_vsyscall () #1 0xb5af8ec2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xa71aa7e1 in metronom_sync_loop () from /usr/lib/libxine.so.1 Thread 2 (Thread 0xa5b6fb70 (LWP 5147)): #0 0xb4069dd6 in clock_gettime () from /lib/librt.so.1 #1 0xb5cc948a in qt_gettime () at kernel/qcore_unix.cpp:109 #2 0xb5ccfaa1 in QTimerInfoList::updateCurrentTime (this=0x92251d4) at kernel/qeventdispatcher_unix.cpp:340 #3 0xb5ccfe25 in QTimerInfoList::timerWait (this=0x92251d4, tm=@0xa5b6f06c) at kernel/qeventdispatcher_unix.cpp:443 #4 0xb5ccc5a5 in timerSourcePrepare (source=0x92251a0, timeout=0xa5b6f0dc) at kernel/qeventdispatcher_glib.cpp:141 #5 0xb3fedc60 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #6 0xb3fee001 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #7 0xb3fee513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #8 0xb5ccd67a in QEventDispatcherGlib::processEvents (this=0x8c816d8, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:330 #9 0xb5c9364f in QEventLoop::processEvents (this=0xa5b6f288, flags={i = 36}) at kernel/qeventloop.cpp:149 #10 0xb5c93794 in QEventLoop::exec (this=0xa5b6f288, flags={i = 0}) at kernel/qeventloop.cpp:201 #11 0xb5b80434 in QThread::exec (this=0x90f87b0) at thread/qthread.cpp:487 #12 0xa71f945d in Phonon::Xine::XineThread::run () from /home/kde-devel/kde/lib/kde4/plugins/phonon_backend/phonon_xine.so #13 0xb5b82e28 in QThreadPrivate::start (arg=0x90f87b0) at thread/qthread_unix.cpp:244 #14 0xb5af465c in start_thread () from /lib/libpthread.so.0 #15 0xb593f1fe in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb3cd8710 (LWP 5074)): [KCrash Handler] #6 0xb6726887 in QGraphicsLayoutItem::geometry (this=0x85f3a40) at graphicsview/qgraphicslayoutitem.cpp:679 #7 0xb79f2c2f in Plasma::AppletHandle::detachApplet (this=0x95cbb50) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/private/applethandle.cpp:125 #8 0xb79f2ec0 in ~AppletHandle (this=0x95cbb50) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/private/applethandle.cpp:106 #9 0xb65aa511 in qDeleteAll<QList<QGraphicsItem*>::const_iterator> (begin={i = 0x83f76e4}, end={i = 0x83f76ec}) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:333 #10 0xb65aa1cb in qDeleteAll<QList<QGraphicsItem*> > (c=@0xbf8c6504) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:341 #11 0xb66fdf69 in ~QGraphicsItem (this=0x85f3a38) at graphicsview/qgraphicsitem.cpp:1246 #12 0xb671b04d in ~QGraphicsObject (this=0x85f3a30) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:519 #13 0xb6764abd in ~QGraphicsWidget (this=0x85f3a30) at graphicsview/qgraphicswidget.cpp:279 #14 0xb799945b in ~Applet (this=0x85f3a30) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/applet.cpp:202 #15 0xa5bb0615 in ~Bubble (this=0x85f3a30) at /home/kde-devel/kde/src/KDE/kdeplasma-addons/applets/bubblemon/src/bubble.cpp:67 #16 0xb5cb2dd2 in qDeleteInEventHandler (o=0x85f3a30) at kernel/qobject.cpp:4117 #17 0xb5cad846 in QObject::event (this=0x85f3a30, e=0x9181b48) at kernel/qobject.cpp:1221 #18 0xb6767a73 in QGraphicsWidget::event (this=0x85f3a30, event=0x9181b48) at graphicsview/qgraphicswidget.cpp:1341 #19 0xb60003f2 in QApplicationPrivate::notify_helper (this=0x8392e98, receiver=0x85f3a30, e=0x9181b48) at kernel/qapplication.cpp:4162 #20 0xb5ffe4c2 in QApplication::notify (this=0x838a898, receiver=0x85f3a30, e=0x9181b48) at kernel/qapplication.cpp:3646 #21 0xb714cc8a in KApplication::notify (this=0x838a898, receiver=0x85f3a30, event=0x9181b48) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #22 0xb5c961ed in QCoreApplication::notifyInternal (this=0x838a898, receiver=0x85f3a30, event=0x9181b48) at kernel/qcoreapplication.cpp:704 #23 0xb5ff1347 in QCoreApplication::sendEvent (receiver=0x85f3a30, event=0x9181b48) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #24 0xb5c972a1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x835c870) at kernel/qcoreapplication.cpp:1345 #25 0xb5c96f59 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #26 0xb60c01b8 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #27 0xb5ccc7d6 in postEventSourceDispatch (s=0x8395118) at kernel/qeventdispatcher_glib.cpp:210 #28 0xb3fead98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #29 0xb3fee3e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #30 0xb3fee513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #31 0xb5ccd65a in QEventDispatcherGlib::processEvents (this=0x8390578, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:328 #32 0xb60bf0c2 in QGuiEventDispatcherGlib::processEvents (this=0x8390578, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202 #33 0xb5c9364f in QEventLoop::processEvents (this=0xbf8c6ecc, flags={i = 36}) at kernel/qeventloop.cpp:149 #34 0xb5c93794 in QEventLoop::exec (this=0xbf8c6ecc, flags={i = 0}) at kernel/qeventloop.cpp:201 #35 0xb5c968c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #36 0xb5ffe17a in QApplication::exec () at kernel/qapplication.cpp:3567 #37 0xb7f59fd4 in kdemain (argc=1, argv=0xbf8c70d4) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/desktop/shell/main.cpp:112 #38 0x080487db in main (argc=1, argv=0xbf8c70d4) at /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/desktop/shell/plasma-desktop_dummy.cpp:3 Reported using DrKonqi