Application: plasma-desktop (0.4) KDE Platform Version: 4.5.80 (4.6 Beta1) Qt Version: 4.7.1 Operating System: Linux 2.6.37-7-generic x86_64 Distribution: Ubuntu natty (development branch) -- Information about the crash: - What I was doing when the application crashed: plasma-desktop crashed adding/removing new/old activities The crash can be reproduced some of the time. -- Backtrace: Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault [Current thread is 1 (Thread 0x7f8e58c0f7a0 (LWP 4049))] Thread 5 (Thread 0x7f8e33934700 (LWP 4053)): #0 0xffffffffff60017b in ?? () #1 0x00007f8e33933a90 in ?? () #2 0x00007fff393567b2 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 0x7f8e33133700 (LWP 4054)): #0 0xffffffffff60017b in ?? () #1 0x00007f8e33132aa0 in ?? () #2 0x00007fff393567b2 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 3 (Thread 0x7f8e2f9ea700 (LWP 4056)): #0 0xffffffffff60017b in ?? () #1 0x00007f8e2f9e9a90 in ?? () #2 0x00007fff393567b2 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 2 (Thread 0x7f8e2bfbf700 (LWP 4221)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f8e523a72d2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f8e526c0180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007f8e523a7309 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f8e526ce254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007f8e53ff0971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #4 0x00007f8e5832992d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f8e58c0f7a0 (LWP 4049)): [KCrash Handler] #6 0x00007f8e378b2159 in TaskManager::GroupManagerPrivate::currentActivityChanged (this=0x159cb40, newActivity=<value optimized out>) at ../../../libs/taskmanager/groupmanager.cpp:412 #7 0x00007f8e378b5c29 in TaskManager::GroupManager::qt_metacall (this=0x14f2640, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff391feb50) at ./groupmanager.moc:107 #8 0x00007f8e55538098 in QMetaObject::activate (sender=0x15984c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff391feb50) at kernel/qobject.cpp:3280 #9 0x00007f8e378c8035 in TaskManager::TaskManager::activityChanged (this=<value optimized out>, _t1=<value optimized out>) at ./taskmanager.moc:207 #10 0x00007f8e378c999d in TaskManager::TaskManager::qt_metacall (this=0x15984c0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff391fed20) at ./taskmanager.moc:128 #11 0x00007f8e55538098 in QMetaObject::activate (sender=0x1563090, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff391fed20) at kernel/qobject.cpp:3280 #12 0x00007f8e57232d32 in KActivityConsumer::currentActivityChanged (this=<value optimized out>, _t1=<value optimized out>) at moc_kactivityconsumer.cpp:126 #13 0x00007f8e5723300d in KActivityConsumer::qt_metacall (this=0x1563090, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff391fee40) at moc_kactivityconsumer.cpp:87 #14 0x00007f8e55538098 in QMetaObject::activate (sender=0xf63f20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff391fee40) at kernel/qobject.cpp:3280 #15 0x00007f8e57252015 in OrgKdeActivityManagerInterface::CurrentActivityChanged (this=<value optimized out>, _t1=<value optimized out>) at activitymanager_interface.moc:249 #16 0x00007f8e57252413 in OrgKdeActivityManagerInterface::qt_metacall (this=0xf63f20, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff391ff6e0) at activitymanager_interface.moc:145 #17 0x00007f8e57232de0 in KActivityManager::qt_metacall (this=0xf63f20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff391ff6e0) at moc_kactivitymanager_p.cpp:75 #18 0x00007f8e5587705a in QDBusConnectionPrivate::deliverCall (this=0xc59b20, object=0xf63f20, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:919 #19 0x00007f8e5588201f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103 #20 0x00007f8e55536f2a in QObject::event (this=0xf63f20, e=<value optimized out>) at kernel/qobject.cpp:1219 #21 0x00007f8e548d1b04 in QApplicationPrivate::notify_helper (this=0xc86d40, receiver=0xf63f20, e=0x28eb4a0) at kernel/qapplication.cpp:4445 #22 0x00007f8e548d643a in QApplication::notify (this=<value optimized out>, receiver=0xf63f20, e=0x28eb4a0) at kernel/qapplication.cpp:4324 #23 0x00007f8e561d3906 in KApplication::notify (this=0xc58ef0, receiver=0xf63f20, event=0x28eb4a0) at ../../kdeui/kernel/kapplication.cpp:311 #24 0x00007f8e55522f7c in QCoreApplication::notifyInternal (this=0xc58ef0, receiver=0xf63f20, event=0x28eb4a0) at kernel/qcoreapplication.cpp:732 #25 0x00007f8e55526715 in sendEvent (receiver=0x0, event_type=0, data=0xc1d800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xc1d800) at kernel/qcoreapplication.cpp:1373 #27 0x00007f8e5554dd33 in sendPostedEvents (s=0xc89570) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #28 postEventSourceDispatch (s=0xc89570) at kernel/qeventdispatcher_glib.cpp:277 #29 0x00007f8e4c8b7add in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #30 0x00007f8e4c8b82c8 in ?? () from /lib/libglib-2.0.so.0 #31 0x00007f8e4c8b8559 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #32 0x00007f8e5554decf in QEventDispatcherGlib::processEvents (this=0xc1d2d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #33 0x00007f8e549779ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #34 0x00007f8e55522362 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #35 0x00007f8e5552259c in QEventLoop::exec (this=0x7fff392000c0, flags=...) at kernel/qeventloop.cpp:201 #36 0x00007f8e555269bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #37 0x00007f8e58603dd7 in kdemain (argc=1, argv=0x7fff39200488) at ../../../../plasma/desktop/shell/main.cpp:118 #38 0x00007f8e58261d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff39200478) at libc-start.c:226 #39 0x0000000000400669 in _start () Reported using DrKonqi
this "should" have been fixed alongside the fix for #257997 http://websvn.kde.org/trunk/KDE/kdebase/workspace/libs/taskmanager/groupmanager.cpp?r1=1199508&r2=1202304 can you try again with a versin newer than that?
[Comment from a bug triager] Waiting for a reply.
with kde 4.6 rc1, i don't have this issue anymore
[Comment from a bug triager] Marking as FIXED. Thanks for checking.
Created attachment 55768 [details] New crash information added by DrKonqi plasma-desktop (0.4) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1 - What I was doing when the application crashed: i had this crash when i'm switching from an activity to another. -- Backtrace (Reduced): #6 0x00007fe2b7a3f6e2 in TaskManager::GroupManagerPrivate::currentActivityChanged (this=0x2d7dc80, newActivity=<value optimized out>) at ../../../libs/taskmanager/groupmanager.cpp:409 #7 0x00007fe2b7a42e99 in TaskManager::GroupManager::qt_metacall (this=0x2d78e50, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff1cc86440) at ./groupmanager.moc:107 [...] #9 0x00007fe2b7a54fd5 in TaskManager::TaskManager::activityChanged (this=<value optimized out>, _t1=<value optimized out>) at ./taskmanager.moc:207 #10 0x00007fe2b7a5693d in TaskManager::TaskManager::qt_metacall (this=0x2c16d70, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff1cc86610) at ./taskmanager.moc:128 [...] #12 0x00007fe2d2db6cf2 in KActivityConsumer::currentActivityChanged (this=<value optimized out>, _t1=<value optimized out>) at moc_kactivityconsumer.cpp:126
Created attachment 55773 [details] New crash information added by DrKonqi plasma-desktop (0.4) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1 - What I was doing when the application crashed: Plasma crash when manipulating activities -- Backtrace (Reduced): #6 0x00007fc999f276e2 in TaskManager::GroupManagerPrivate::currentActivityChanged (this=0x1bb6900, newActivity=<value optimized out>) at ../../../libs/taskmanager/groupmanager.cpp:409 #7 0x00007fc999f2ae99 in TaskManager::GroupManager::qt_metacall (this=0x1bb1ad0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffdab66b40) at ./groupmanager.moc:107 [...] #9 0x00007fc999f3cfd5 in TaskManager::TaskManager::activityChanged (this=<value optimized out>, _t1=<value optimized out>) at ./taskmanager.moc:207 #10 0x00007fc999f3e93d in TaskManager::TaskManager::qt_metacall (this=0x1b6cac0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffdab66d10) at ./taskmanager.moc:128 [...] #12 0x00007fc9b52a5cf2 in KActivityConsumer::currentActivityChanged (this=<value optimized out>, _t1=<value optimized out>) at moc_kactivityconsumer.cpp:126
*** Bug 262520 has been marked as a duplicate of this bug. ***
Created attachment 56047 [details] New crash information added by DrKonqi plasma-desktop (0.4) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1 - What I was doing when the application crashed: i had this crash when i'm switching from an activity to another. (another bug report) -- Backtrace (Reduced): #6 0x00007f1d94aea6e2 in TaskManager::GroupManagerPrivate::currentActivityChanged (this=0x24239a0, newActivity=<value optimized out>) at ../../../libs/taskmanager/groupmanager.cpp:409 #7 0x00007f1d94aede99 in TaskManager::GroupManager::qt_metacall (this=0x241eb70, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff36b740b0) at ./groupmanager.moc:107 [...] #9 0x00007f1d94afffd5 in TaskManager::TaskManager::activityChanged (this=<value optimized out>, _t1=<value optimized out>) at ./taskmanager.moc:207 #10 0x00007f1d94b0193d in TaskManager::TaskManager::qt_metacall (this=0x2225430, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff36b74280) at ./taskmanager.moc:128 [...] #12 0x00007f1dafe54cf2 in KActivityConsumer::currentActivityChanged (this=<value optimized out>, _t1=<value optimized out>) at moc_kactivityconsumer.cpp:126
a bug in the launcher code; GroupManagerPrivate::launcherAssociations is a QHash<QString, AbstractGroupableItem*> and it seems that the AbstractGroupableItem is being deleted behind its back.
SVN commit 1214724 by aseigo: move all management of the launcher showing or not into LauncherItem and get rid of all the bookkeeping in GroupManager. BUG:258584 M +58 -91 groupmanager.cpp M +6 -4 groupmanager.h M +70 -2 launcheritem.cpp M +13 -2 launcheritem.h M +21 -14 taskactions.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1214724