Bug 214460 - [Fixed in KDE SC 4.4.1] Crash when removing panel that only contains Systray widget [null Plasma::Corona::containments, Plasma::Extender::item/group, SystemTray::Applet::clearAllCompletedJobs]
Summary: [Fixed in KDE SC 4.4.1] Crash when removing panel that only contains Systray ...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: notifications (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
: 219697 222177 226488 226585 226632 226867 226889 227505 227728 228393 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-14 00:43 UTC by Tim
Modified: 2010-02-25 01:08 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi: --- Same here, after a upgrade to KDE 4.4 beta2 - trying to close a (default) panel. (5.48 KB, text/plain)
2009-12-25 15:02 UTC, Daniel Semblano
Details
New crash information added by DrKonqi (7.97 KB, text/plain)
2010-02-11 13:24 UTC, Sputnik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim 2009-11-14 00:43:38 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I was trying to resolve 100% cpu usage by xorg.  Tried numerous things to resolve -- effects, sys monitor widgets, removed all widgets (except one in panel), etc.  Then read in the kde forum that sys tray can cause this problem.  Decided to remove the complete panel, since sys tray was the only widget in this panel.  Upon removal the crash occured.  However, since I removed this my CPU is running normal again.  I installed and put back all prior setting except the panel and sys tray and all seems fine.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fa290287750 (LWP 4095))]

Thread 2 (Thread 0x7fa266165910 (LWP 4479)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa28fcd94fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x416dbc8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x416dbc8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa28c11078c in QHostInfoAgent::run (this=0x416dbb0) at kernel/qhostinfo.cpp:260
#4  0x00007fa28fcd8445 in QThreadPrivate::start (arg=0x416dbb0) at thread/qthread_unix.cpp:188
#5  0x00007fa28ca4ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa28d62e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa290287750 (LWP 4095)):
[KCrash Handler]
#5  QList (this=0x0) at /usr/include/qt4/QtCore/qlist.h:111
#6  Plasma::Corona::containments (this=0x0) at ../../plasma/corona.cpp:404
#7  0x00007fa2878bfa05 in Plasma::Extender::item (this=0x36af860, name=...) at ../../plasma/extender.cpp:213
#8  0x00007fa2878bfdb9 in Plasma::Extender::group (this=0x7fff03fcf470, name=...) at ../../plasma/extender.cpp:235
#9  0x00007fa26e524e74 in SystemTray::Applet::clearAllCompletedJobs (this=0x3334980) at ../../../../plasma/applets/systemtray/ui/applet.cpp:763
#10 0x00007fa26e527400 in ~Applet (this=0x3334980, __in_chrg=<value optimized out>) at ../../../../plasma/applets/systemtray/ui/applet.cpp:196
#11 0x00007fa28789e777 in qDeleteAll<QList<Plasma::Applet*>::const_iterator> (this=0x2fb8650, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:350
#12 qDeleteAll<QList<Plasma::Applet*> > (this=0x2fb8650, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:358
#13 ~ContainmentPrivate (this=0x2fb8650, __in_chrg=<value optimized out>) at ../../plasma/private/containment_p.h:57
#14 ~Containment (this=0x2fb8650, __in_chrg=<value optimized out>) at ../../plasma/containment.cpp:118
#15 0x00007fa26f91b9ab in ~Panel (this=0x2fb8650, __in_chrg=<value optimized out>) at ../../../../plasma/containments/panel/panel.cpp:128
#16 0x00007fa28fdce11d in QObject::event (this=0x2fb8650, e=0x0) at kernel/qobject.cpp:1094
#17 0x00007fa28e34111b in QGraphicsWidget::event (this=0x2fb8650, event=0x41c9f90) at graphicsview/qgraphicswidget.cpp:1340
#18 0x00007fa28dd6eefc in QApplicationPrivate::notify_helper (this=0x2520c00, receiver=0x2fb8650, e=0x41c9f90) at kernel/qapplication.cpp:4056
#19 0x00007fa28dd761ce in QApplication::notify (this=0x2517a20, receiver=0x2fb8650, e=0x41c9f90) at kernel/qapplication.cpp:4021
#20 0x00007fa28e9a5e56 in KApplication::notify (this=0x2517a20, receiver=0x2fb8650, event=0x41c9f90) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007fa28fdbec2c in QCoreApplication::notifyInternal (this=0x2517a20, receiver=0x2fb8650, event=0x41c9f90) at kernel/qcoreapplication.cpp:610
#22 0x00007fa28fdbf80a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x248a340) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x248a340) at kernel/qcoreapplication.cpp:1247
#24 0x00007fa28fde7533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#25 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#26 0x00007fa28cc9fbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007fa28cca3588 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007fa28cca36b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007fa28fde71a6 in QEventDispatcherGlib::processEvents (this=0x248ce70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007fa28de034be in QGuiEventDispatcherGlib::processEvents (this=0x7fff03fcf470, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007fa28fdbd532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007fa28fdbd904 in QEventLoop::exec (this=0x7fff03fcfe90, flags=) at kernel/qeventloop.cpp:201
#33 0x00007fa28fdbfab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x00007fa284a4f4cf in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/shells/desktop/main.cpp:50
#35 0x0000000000406da8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a299 "0") at ../../kinit/kinit.cpp:677
#36 0x0000000000407aa0 in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#37 0x0000000000407f51 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#38 0x0000000000408bb2 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-10 14:05:33 UTC
This is somehow related to bug 213191 / bug 193812. Thanks
Comment 2 Dario Andres 2009-12-22 19:24:11 UTC
Updated backtrace from bug 219697:
---
Thread 1 (Thread 0xb5681700 (LWP 24521)):
[KCrash Handler]
#6  QList (this=0x0) at /usr/include/QtCore/qlist.h:114
#7  Plasma::Corona::containments (this=0x0) at
/home/build/build-i686/kdelibs/src/kdelibs/plasma/corona.cpp:446
#8  0xb534236b in Plasma::Extender::item (this=0x8ebe078, name=...) at
/home/build/build-i686/kdelibs/src/kdelibs/plasma/extenders/extender.cpp:213
#9  0xb5342764 in Plasma::Extender::group (this=0x8ebe078, name=...) at
/home/build/build-i686/kdelibs/src/kdelibs/plasma/extenders/extender.cpp:235
#10 0xa7e9c117 in SystemTray::Applet::clearOldNotifications (this=0x8c2ed30) at
/home/build/build-i686/kdebase-workspace/src/kdebase-workspace/plasma/generic/applets/systemtray/ui/applet.cpp:936
#11 0xa7e9c570 in ~Applet (this=0x8c2ed30, __in_chrg=<value optimized out>) at
/home/build/build-i686/kdebase-workspace/src/kdebase-workspace/plasma/generic/applets/systemtray/ui/applet.cpp:135
#12 0xb5319b46 in qDeleteAll<QList<Plasma::Applet*>::const_iterator>
(this=0x8be29b8, __in_chrg=<value optimized out>) at
/usr/include/QtCore/qalgorithms.h:322
#13 qDeleteAll<QList<Plasma::Applet*> > (this=0x8be29b8, __in_chrg=<value
optimized out>) at /usr/include/QtCore/qalgorithms.h:330
#14 ~ContainmentPrivate (this=0x8be29b8, __in_chrg=<value optimized out>) at
/home/build/build-i686/kdelibs/src/kdelibs/plasma/private/containment_p.h:62
#15 ~Containment (this=0x8be29b8, __in_chrg=<value optimized out>) at
/home/build/build-i686/kdelibs/src/kdelibs/plasma/containment.cpp:142
#16 0xb3766b7b in ~Panel (this=0x8be29b8, __in_chrg=<value optimized out>) at
/home/build/build-i686/kdebase-workspace/src/kdebase-workspace/plasma/desktop/containments/panel/panel.cpp:126
#17 0xb6cf8e45 in qDeleteInEventHandler(QObject*) () from
/usr/lib/libQtCore.so.4
Comment 3 Dario Andres 2009-12-22 19:24:20 UTC
*** Bug 219697 has been marked as a duplicate of this bug. ***
Comment 4 Daniel Semblano 2009-12-25 15:02:55 UTC
Created attachment 39332 [details]
New crash information added by DrKonqi:
---
Same here, after a upgrade to KDE 4.4 beta2 - trying to close a (default) panel.
Comment 5 Jonathan Thomas 2009-12-30 03:22:45 UTC
This is most probably unrelated to bug 213191 / bug 193812. This crash seems to happen when querying a corona for containments turns up null, whereas the other crash is when a specific extender was destroyed but not removed from attachedExtenderItems.

Curious that this doesn't happen on the standard panel, if you remove it, though, or with a desktop containment that only has a systray widget.
Comment 6 Dario Andres 2010-01-11 13:34:26 UTC
*** Bug 222177 has been marked as a duplicate of this bug. ***
Comment 7 Aaron J. Seigo 2010-02-10 09:47:31 UTC
SVN commit 1088122 by aseigo:

catch the case where we have a containment, but the containment is not in a corona
BUG:214460


 M  +8 -1      extender.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1088122
Comment 8 Sputnik 2010-02-11 13:24:44 UTC
Created attachment 40673 [details]
New crash information added by DrKonqi

The crash happened after the first login in KDE 4.4 final on Kubuntu. There have been 3 task bars. The crash happened after the second closing. It does not seem to be fixed for Kubuntu at least... 'hope this bug report helps!
Comment 9 Dario Andres 2010-02-11 13:30:18 UTC
The bug is fixed in KDE SC 4.4.1 (too late for 4.4.0).
Regards
Comment 10 Dario Andres 2010-02-12 12:55:31 UTC
*** Bug 226488 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-02-12 19:32:57 UTC
*** Bug 226585 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-02-13 13:13:13 UTC
*** Bug 226632 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-02-15 03:48:19 UTC
*** Bug 226889 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2010-02-15 03:48:21 UTC
*** Bug 226867 has been marked as a duplicate of this bug. ***
Comment 15 Dario Andres 2010-02-18 16:41:52 UTC
*** Bug 227505 has been marked as a duplicate of this bug. ***
Comment 16 Dario Andres 2010-02-19 22:15:51 UTC
*** Bug 227728 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2010-02-25 01:08:12 UTC
*** Bug 228393 has been marked as a duplicate of this bug. ***