Application: plasma-desktop (0.3) KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) (Compiled from sources) Qt Version: 4.6.0 Operating System: Linux 2.6.31.6-desktop-2mnb x86_64 Distribution: "Mandriva Linux 2010.0" -- Information about the crash: since update to beta1 i see the taskbar then all crash The crash can be reproduced everytime. -- Backtrace: Application: Espace de travail Plasma (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0x7fbb54c26720 (LWP 6321))] Thread 2 (Thread 0x7fbb323c9710 (LWP 6322)): #0 0x00007fbb543bf0bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fbb546441db in QWaitCondition::wait (this=<value optimized out>, mutex=0x1a3e1e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 0x00007fbb5097d8bc in QHostInfoAgent::run (this=0x1a3e1d0) at kernel/qhostinfo.cpp:252 #3 0x00007fbb54643225 in QThreadPrivate::start (arg=0x1a3e1d0) at thread/qthread_unix.cpp:244 #4 0x00007fbb543baa5d in start_thread () from /lib64/libpthread.so.0 #5 0x00007fbb51c7c0dd in clone () from /lib64/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fbb54c26720 (LWP 6321)): [KCrash Handler] #5 0x00007fbb331d72fd in TaskGroupItem::reload (this=0x1f7d910) at /home/neoclust/rpm/BUILD/kdebase-workspace-4.3.80/plasma/desktop/applets/tasks/taskgroupitem.cpp:299 #6 0x00007fbb331d7658 in TaskGroupItem::setGroup (this=0x1f7d910, group=<value optimized out>) at /home/neoclust/rpm/BUILD/kdebase-workspace-4.3.80/plasma/desktop/applets/tasks/taskgroupitem.cpp:357 #7 0x00007fbb331d6d9e in TaskGroupItem::createAbstractItem (this=0x1b0e200, groupableItem=0x1f7c990) at /home/neoclust/rpm/BUILD/kdebase-workspace-4.3.80/plasma/desktop/applets/tasks/taskgroupitem.cpp:429 #8 0x00007fbb331d6f33 in TaskGroupItem::itemAdded (this=0x1b0e200, groupableItem=0x1f7c990) at /home/neoclust/rpm/BUILD/kdebase-workspace-4.3.80/plasma/desktop/applets/tasks/taskgroupitem.cpp:462 #9 0x00007fbb331d7bb4 in TaskGroupItem::qt_metacall (this=0x1b0e200, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eaa4f70) at /home/neoclust/rpm/BUILD/kdebase-workspace-4.3.80/build/plasma/desktop/applets/tasks/taskgroupitem.moc:119 #10 0x00007fbb54748ec3 in QMetaObject::activate (sender=0x1b0dbe0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3286 #11 0x00007fbb3361a82f in TaskManager::TaskGroup::itemAdded (this=0x11b5c5f8, _t1=0x1f7c990) at /home/neoclust/Documents/KDE/kdebase/workspace/build/libs/taskmanager/taskgroup.moc:151 #12 0x00007fbb3361c10f in TaskManager::TaskGroup::add (this=0x1b0dbe0, item=0x1f7c990) at /home/neoclust/Documents/KDE/kdebase/workspace/libs/taskmanager/taskgroup.cpp:138 #13 0x00007fbb3360510e in TaskManager::GroupManagerPrivate::addTask (this=0x1b05040, task=) at /home/neoclust/Documents/KDE/kdebase/workspace/libs/taskmanager/groupmanager.cpp:290 #14 0x00007fbb33605d2e in TaskManager::GroupManager::qt_metacall (this=0x1998380, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff9eaa5210) at /home/neoclust/Documents/KDE/kdebase/workspace/build/libs/taskmanager/groupmanager.moc:109 #15 0x00007fbb54748ec3 in QMetaObject::activate (sender=0x1b03150, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3286 #16 0x00007fbb3361df92 in TaskManager::TaskManager::taskAdded (this=0x11b5c5f8, _t1=<value optimized out>) at /home/neoclust/Documents/KDE/kdebase/workspace/build/libs/taskmanager/taskmanager.moc:161 #17 0x00007fbb3361ef5b in TaskManager::TaskManager::windowAdded (this=0x1b03150, w=14680089) at /home/neoclust/Documents/KDE/kdebase/workspace/libs/taskmanager/taskmanager.cpp:262 #18 0x00007fbb3361f567 in TaskManager::TaskManager::qt_metacall (this=0x1b03150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eaa54e0) at /home/neoclust/Documents/KDE/kdebase/workspace/build/libs/taskmanager/taskmanager.moc:115 #19 0x00007fbb54748ec3 in QMetaObject::activate (sender=0x16d56b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3286 #20 0x00007fbb531e6652 in KWindowSystem::windowAdded (this=0x11b5c5f8, _t1=14680089) at /usr/src/debug/kdelibs-4.3.80/build/kdeui/kwindowsystem.moc:126 #21 0x00007fbb531e926a in KWindowSystemPrivate::addClient (this=0x16c8fd0, w=14680089) at /usr/src/debug/kdelibs-4.3.80/kdeui/windowmanagement/kwindowsystem_x11.cpp:229 #22 0x00007fbb531f73bd in NETRootInfo::update (this=0x16c8ff8, dirty_props=<value optimized out>) at /usr/src/debug/kdelibs-4.3.80/kdeui/windowmanagement/netwm.cpp:2196 #23 0x00007fbb531f80a3 in NETRootInfo::event (this=0x16c8ff8, event=<value optimized out>, properties=0x7fff9eaa5820, properties_size=5) at /usr/src/debug/kdelibs-4.3.80/kdeui/windowmanagement/netwm.cpp:2068 #24 0x00007fbb531e96bc in KWindowSystemPrivate::x11Event (this=0x16c8fd0, ev=0x7fff9eaa5fe0) at /usr/src/debug/kdelibs-4.3.80/kdeui/windowmanagement/kwindowsystem_x11.cpp:136 #25 0x00007fbb530ae136 in KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fff9eaa5fe0) at /usr/src/debug/kdelibs-4.3.80/kdeui/kernel/kapplication.cpp:909 #26 0x00007fbb4657ae03 in PlasmaApp::x11EventFilter (this=0x1352a60, event=0x7fff9eaa5fe0) at /home/neoclust/rpm/BUILD/kdebase-workspace-4.3.80/plasma/desktop/shell/plasmaapp.cpp:539 #27 0x00007fbb52437d11 in qt_x11EventFilter (ev=0x7fff9eaa5fe0) at kernel/qapplication_x11.cpp:399 #28 0x00007fbb52446841 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff9eaa5fe0) at kernel/qapplication_x11.cpp:3231 #29 0x00007fbb52471a82 in x11EventSourceDispatch (s=0x136ca90, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #30 0x00007fbb510ef4be in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #31 0x00007fbb510f2e88 in ?? () from /usr/lib64/libglib-2.0.so.0 #32 0x00007fbb510f2fb0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #33 0x00007fbb5475f723 in QEventDispatcherGlib::processEvents (this=0x1368fb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407 #34 0x00007fbb5247166e in QGuiEventDispatcherGlib::processEvents (this=0x11b5c5f8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #35 0x00007fbb54734a92 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #36 0x00007fbb54734e6c in QEventLoop::exec (this=0x7fff9eaa6310, flags=) at kernel/qeventloop.cpp:201 #37 0x00007fbb54738bab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #38 0x00007fbb4656650a in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/neoclust/rpm/BUILD/kdebase-workspace-4.3.80/plasma/desktop/shell/main.cpp:112 #39 0x0000000000406aa8 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=0x40a005 "0") at /usr/src/debug/kdelibs-4.3.80/kinit/kinit.cpp:705 #40 0x00000000004077a0 in handle_launcher_request (sock=7, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.80/kinit/kinit.cpp:1197 #41 0x0000000000407d2f in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.3.80/kinit/kinit.cpp:1390 #42 0x000000000040893a in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.3.80/kinit/kinit.cpp:1825 Reported using DrKonqi
if i start KDE on Konsole, i have a lot of : plasma-desktop(6803)/plasma TaskGroupItem::reload: invalid Item plasma-desktop(6803)/plasma TaskGroupItem::reload: invalid Item plasma-desktop(6803)/plasma TaskGroupItem::reload: invalid Item plasma-desktop(6803)/plasma TaskGroupItem::reload: invalid Item and then the crash
- Is this with an existant user account ? Have you tried with a clean account ? - What are your taskbar settings ? So far I haven't experienced this crash while running 4.4trunk... Thanks
i am trying with a fresh user and with kde vanilla configuration
i put the output of the start of plasma-desktop on a file, and i have more than 330 000 times "plasma-desktop(6803)/plasma TaskGroupItem::reload: invalid Item"
in fact 8620364 times "plasma-desktop(6803)/plasma TaskGroupItem::reload: invalid Item"
i rebuilded KDE with latest trunk and this is still valid
I wonder what's wrong in your config/build as I never experienced such crash. Could it be related to the type of windows you have when Plasma start? (some applications being restarted by sessionmanagement or may be some Mandriva specific app) You could try to manually edit the plasmarc files and remove the taskbar to try to load Plasma without crashing and "playing" with it to help you determine the real cause... :-\
the taskbar is the culprit because the last time i had the time to remove the taskbar when kde started ( before the bug ) and after no crashes. I tried to add back the taskbar and it crashed immediatly
Have you tried adding the taskbar to different sized panels or even on desktop. What about loading plasmoidviewer with it ? - Will it crash on all the situations ?
to be sure this wasn't an extern issue, i removed mandriva custom config files to use KDE defaults and it was the same but i have not tried with different sizes. if really needed i can try
I'm just guessing as I'm not an expert in this things... but well.. let's wait for a Plasma dev.
SVN commit 1062470 by mart: use a weak pointer and guard m_group everywhere BUG:217392 M +48 -43 taskgroupitem.cpp M +1 -1 taskgroupitem.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1062470
i just rebuilded and it still crash at start
the crash seems a little different : Thread 1 (Thread 0x7fc353926720 (LWP 27838)): [KCrash Handler] #5 QMimeData::setData (this=0xfffffffd, mimeType=@0x7fff4e8d8c10, data=@0x7fff4e8d8c20) at kernel/qmimedata.h:97 #6 0x00007fc331c4a3a5 in TaskManager::Task::addMimeData (this=<value optimized out>, mimeData=0xfffffffd) at /home/neoclust/Documents/KDE/kdebase/workspace/libs/taskmanager/task.cpp:837 #7 0x00007fc3317fcc6d in WindowTaskItem::updateTask (this=0x19ca420, changes=) at /home/neoclust/Documents/trunk/KDE/kdebase/workspace/plasma/desktop/applets/tasks/windowtaskitem.cpp:151 #8 0x00007fc3317fc3f1 in WindowTaskItem::setWindowTask (this=0x19ca420, taskItem=<value optimized out>) at /home/neoclust/Documents/trunk/KDE/kdebase/workspace/plasma/desktop/applets/tasks/windowtaskitem.cpp:286 #9 0x00007fc3317fc8cb in WindowTaskItem::setTask (this=0x19ca420, taskItem=0x19af510) at /home/neoclust/Documents/trunk/KDE/kdebase/workspace/plasma/desktop/applets/tasks/windowtaskitem.cpp:302 #10 0x00007fc33180f308 in TaskGroupItem::createAbstractItem (this=0x14efb90, groupableItem=0x19af510) at /home/neoclust/Documents/trunk/KDE/kdebase/workspace/plasma/desktop/applets/tasks/taskgroupitem.cpp:434 #11 0x00007fc33180f473 in TaskGroupItem::itemAdded (this=0x14efb90, groupableItem=0x19af510) at /home/neoclust/Documents/trunk/KDE/kdebase/workspace/plasma/desktop/applets/tasks/taskgroupitem.cpp:463 #12 0x00007fc33181014c in TaskGroupItem::qt_metacall (this=0x14efb90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4e8d9050) at /home/neoclust/Documents/trunk/KDE/kdebase/build/workspace/plasma/desktop/applets/tasks/taskgroupitem.moc:119 #13 0x00007fc34deb01b3 in QMetaObject::activate (sender=0x14eea30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x186149e) at kernel/qobject.cpp:3286 #14 0x00007fc331c5282f in TaskManager::TaskGroup::itemAdded (this=0xfffffffd, _t1=0x19af510) at /home/neoclust/Documents/KDE/kdebase/workspace/build/libs/taskmanager/taskgroup.moc:151 #15 0x00007fc331c5410f in TaskManager::TaskGroup::add (this=0x14eea30, item=0x19af510) at /home/neoclust/Documents/KDE/kdebase/workspace/libs/taskmanager/taskgroup.cpp:138 #16 0x00007fc331c3d10e in TaskManager::GroupManagerPrivate::addTask (this=0x14e3b10, task=) at /home/neoclust/Documents/KDE/kdebase/workspace/libs/taskmanager/groupmanager.cpp:290 #17 0x00007fc331c3dd2e in TaskManager::GroupManager::qt_metacall (this=0x1362ab0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff4e8d92f0) at /home/neoclust/Documents/KDE/kdebase/workspace/build/libs/taskmanager/groupmanager.moc:109 #18 0x00007fc34deb01b3 in QMetaObject::activate (sender=0x1358b10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x186149e) at kernel/qobject.cpp:3286 #19 0x00007fc331c55f92 in TaskManager::TaskManager::taskAdded (this=0xfffffffd, _t1=<value optimized out>) at /home/neoclust/Documents/KDE/kdebase/workspace/build/libs/taskmanager/taskmanager.moc:161 #20 0x00007fc331c56f5b in TaskManager::TaskManager::windowAdded (this=0x1358b10, w=37748774) at /home/neoclust/Documents/KDE/kdebase/workspace/libs/taskmanager/taskmanager.cpp:262 #21 0x00007fc331c57567 in TaskManager::TaskManager::qt_metacall (this=0x1358b10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4e8d95c0) at /home/neoclust/Documents/KDE/kdebase/workspace/build/libs/taskmanager/taskmanager.moc:115 #22 0x00007fc34deb01b3 in QMetaObject::activate (sender=0x1022510, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x186149e) at kernel/qobject.cpp:3286 #23 0x00007fc35106d6f2 in KWindowSystem::windowAdded (this=0xfffffffd, _t1=37748774) at /home/neoclust/Documents/trunk/KDE/kdelibs/build/kdeui/kwindowsystem.moc:126 #24 0x00007fc35106fa42 in KWindowSystemPrivate::addClient (this=0x1022af0, w=37748774) at /home/neoclust/Documents/trunk/KDE/kdelibs/kdeui/windowmanagement/kwindowsystem_x11.cpp:229 #25 0x00007fc35107c097 in NETRootInfo::update (this=0x1022b18, dirty_props=<value optimized out>) at /home/neoclust/Documents/trunk/KDE/kdelibs/kdeui/windowmanagement/netwm.cpp:2196 #26 0x00007fc35107d328 in NETRootInfo::event (this=0x1022b18, event=<value optimized out>, properties=0x7fff4e8d98f0, properties_size=5) at /home/neoclust/Documents/trunk/KDE/kdelibs/kdeui/windowmanagement/netwm.cpp:2068 #27 0x00007fc35106fd86 in KWindowSystemPrivate::x11Event (this=0x1022af0, ev=0x7fff4e8da0f0) at /home/neoclust/Documents/trunk/KDE/kdelibs/kdeui/windowmanagement/kwindowsystem_x11.cpp:136 #28 0x00007fc350f5a122 in KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fff4e8da0f0) at /home/neoclust/Documents/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:959 #29 0x00007fc353534e43 in PlasmaApp::x11EventFilter (this=0xca1920, event=0x7fff4e8da0f0) at /home/neoclust/Documents/trunk/KDE/kdebase/workspace/plasma/desktop/shell/plasmaapp.cpp:539 #30 0x00007fc34e647d31 in qt_x11EventFilter (ev=0x7fff4e8da0f0) at kernel/qapplication_x11.cpp:399 #31 0x00007fc34e656861 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff4e8da0f0) at kernel/qapplication_x11.cpp:3231 #32 0x00007fc34e681aa2 in x11EventSourceDispatch (s=0xcbc850, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #33 0x00007fc3483bf65e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #34 0x00007fc3483c3028 in ?? () from /usr/lib64/libglib-2.0.so.0 #35 0x00007fc3483c3150 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #36 0x00007fc34dec6a13 in QEventDispatcherGlib::processEvents (this=0xc88860, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407 #37 0x00007fc34e68168e in QGuiEventDispatcherGlib::processEvents (this=0xfffffffd, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #38 0x00007fc34de9bd82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #39 0x00007fc34de9c15c in QEventLoop::exec (this=0x7fff4e8da420, flags=) at kernel/qeventloop.cpp:201 #40 0x00007fc34de9fe9b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #41 0x00007fc35352054a in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/neoclust/Documents/trunk/KDE/kdebase/workspace/plasma/desktop/shell/main.cpp:112 #42 0x00007fc34d028afd in __libc_start_main () from /lib64/libc.so.6 #43 0x00000000004007a9 in _start () at ../sysdeps/x86_64/elf/start.S:113
SVN commit 1063320 by mart: actually delete the tasks when the corresponding window closes. this solves ghost entries as well as some memory wasting BUG:217392 M +8 -6 groupmanager.cpp M +1 -1 groupmanager.h M +37 -38 taskitem.cpp M +1 -0 taskmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1063320
wrokng bug # in the commit
the last backtrace is a bit weird i.e at line 151 of windowtaskitem.cpp Task::addMimeData is -not- called this could mean the applet is still trying to use an old incompatible version of libtaskmanager
sorry, i reinstalled my mandriva and now all is OK, i think some of my previous manual kde compile were the culprit
*** Bug 321438 has been marked as a duplicate of this bug. ***