Bug 258026 - Plasma crashes on login with Smooth Tasks [QList, TaskManager::TaskGroup::members, SmoothTasks::TaskItem::publishIconGeometry]
Summary: Plasma crashes on login with Smooth Tasks [QList, TaskManager::TaskGroup::mem...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 258049 258609 264375 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-26 23:01 UTC by mps
Modified: 2011-01-29 13:02 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.09 KB, text/plain)
2011-01-27 14:28 UTC, 4k1r4.rulez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mps 2010-11-26 23:01:07 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.5.80 (4.6 Beta1)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.6-48.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:

Just installed 4.5.80, on login plasma crashes and does not restart.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6e3242e840 (LWP 2547))]

Thread 2 (Thread 0x7f6e1ccea700 (LWP 2548)):
#0  0x00000038ca6f34ef in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x00000038ca6da868 in poll () from /lib64/libc.so.6
#2  0x00000038ca242374 in g_main_context_poll (context=0x2e2f4f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#3  g_main_context_iterate (context=0x2e2f4f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#4  0x00000038ca2428ad in g_main_context_iteration (context=0x2e2f4f0, may_block=1) at gmain.c:2843
#5  0x00007f6e36d6b916 in QEventDispatcherGlib::processEvents (this=0x2d4b230, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00007f6e36d3fb42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6e36d3fd8c in QEventLoop::exec (this=0x7f6e1cce9d00, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f6e36c54ed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x00007f6e36d215f8 in QInotifyFileSystemWatcherEngine::run (this=0x2e31dc0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f6e36c576ee in QThreadPrivate::start (arg=0x2e31dc0) at thread/qthread_unix.cpp:285
#11 0x00000038cae06d5b in start_thread () from /lib64/libpthread.so.0
#12 0x00000038ca6e427d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6e3242e840 (LWP 2547)):
[KCrash Handler]
#6  ref (this=0x41023e0) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  QList (this=0x41023e0) at /usr/include/QtCore/qlist.h:118
#8  TaskManager::TaskGroup::members (this=0x41023e0) at /usr/src/debug/kdebase-workspace-4.5.80/libs/taskmanager/taskgroup.cpp:292
#9  0x00007f6e1d9ad3da in SmoothTasks::TaskItem::publishIconGeometry (this=0x3f646c0) at /usr/src/debug/smooth-tasks-src-wip-2010-11-05-1/applet/SmoothTasks/TaskItem.cpp:388
#10 0x00007f6e1d9ad620 in SmoothTasks::TaskItem::updateState (this=0x3f646c0) at /usr/src/debug/smooth-tasks-src-wip-2010-11-05-1/applet/SmoothTasks/TaskItem.cpp:404
#11 0x00007f6e1d9ad90f in SmoothTasks::TaskItem::TaskItem (this=0x3f646c0, abstractItem=0x41023e0, applet=<value optimized out>) at /usr/src/debug/smooth-tasks-src-wip-2010-11-05-1/applet/SmoothTasks/TaskItem.cpp:108
#12 0x00007f6e1d9a2917 in SmoothTasks::Applet::itemAdded (this=0x2d71590, groupableItem=0x41023e0) at /usr/src/debug/smooth-tasks-src-wip-2010-11-05-1/applet/SmoothTasks/Applet.cpp:212
#13 0x00007f6e1d9a44d8 in SmoothTasks::Applet::qt_metacall (this=0x2d71590, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffacbb90e0) at /usr/src/debug/smooth-tasks-src-wip-2010-11-05-1/x86_64-redhat-linux-gnu/applet/Applet.moc:121
#14 0x00007f6e36d5504f in QMetaObject::activate (sender=0x2d60530, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffacbb90e0) at kernel/qobject.cpp:3272
#15 0x00007f6e1d76a24f in TaskManager::TaskGroup::itemAdded (this=<value optimized out>, _t1=0x41023e0) at /usr/src/debug/kdebase-workspace-4.5.80/x86_64-redhat-linux-gnu/libs/taskmanager/taskgroup.moc:152
#16 0x00007f6e1d76a82f in TaskManager::TaskGroup::add (this=0x2d60530, item=0x41023e0) at /usr/src/debug/kdebase-workspace-4.5.80/libs/taskmanager/taskgroup.cpp:221
#17 0x00007f6e1d76076e in TaskManager::ProgramGroupingStrategy::handleItem (this=0x39bfb80, item=0x41023e0) at /usr/src/debug/kdebase-workspace-4.5.80/libs/taskmanager/strategies/programgroupingstrategy.cpp:191
#18 0x00007f6e1d75a7a5 in TaskManager::GroupManagerPrivate::addTask (this=0x2c9fee0, task=...) at /usr/src/debug/kdebase-workspace-4.5.80/libs/taskmanager/groupmanager.cpp:308
#19 0x00007f6e1d75bd4f in TaskManager::GroupManager::qt_metacall (this=0x2d71210, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffacbb93d0) at /usr/src/debug/kdebase-workspace-4.5.80/x86_64-redhat-linux-gnu/libs/taskmanager/groupmanager.moc:113
#20 0x00007f6e36d5504f in QMetaObject::activate (sender=0x2c9e7b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffacbb93d0) at kernel/qobject.cpp:3272
#21 0x00007f6e1d76e862 in TaskManager::TaskManager::taskAdded (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.80/x86_64-redhat-linux-gnu/libs/taskmanager/taskmanager.moc:172
#22 0x00007f6e1d76f82c in TaskManager::TaskManager::windowAdded (this=0x2c9e7b0, w=67108915) at /usr/src/debug/kdebase-workspace-4.5.80/libs/taskmanager/taskmanager.cpp:297
#23 0x00007f6e1d7702f0 in TaskManager::TaskManager::qt_metacall (this=0x2c9e7b0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffacbb9690) at /usr/src/debug/kdebase-workspace-4.5.80/x86_64-redhat-linux-gnu/libs/taskmanager/taskmanager.moc:123
#24 0x00007f6e36d5504f in QMetaObject::activate (sender=0x28dd9a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffacbb9690) at kernel/qobject.cpp:3272
#25 0x00007f6e37d78a72 in KWindowSystem::windowAdded (this=<value optimized out>, _t1=67108915) at /usr/src/debug/kdelibs-4.5.80/x86_64-redhat-linux-gnu/kdeui/kwindowsystem.moc:126
#26 0x00007f6e37d7982a in KWindowSystemPrivate::addClient (this=0x28ddcf0, w=67108915) at /usr/src/debug/kdelibs-4.5.80/kdeui/windowmanagement/kwindowsystem_x11.cpp:233
#27 0x00007f6e37d87c9c in NETRootInfo::update (this=0x28ddd18, dirty_props=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/kdeui/windowmanagement/netwm.cpp:2208
#28 0x00007f6e37d88913 in NETRootInfo::event (this=0x28ddd18, event=0x7fffacbba0d0, properties=0x7fffacbb98f0, properties_size=5) at /usr/src/debug/kdelibs-4.5.80/kdeui/windowmanagement/netwm.cpp:2080
#29 0x00007f6e37d7b01b in KWindowSystemPrivate::x11Event (this=0x28ddcf0, ev=0x7fffacbba0d0) at /usr/src/debug/kdelibs-4.5.80/kdeui/windowmanagement/kwindowsystem_x11.cpp:136
#30 0x00007f6e37c5147e in publicx11Event (this=<value optimized out>, _event=0x7fffacbba0d0) at /usr/src/debug/kdelibs-4.5.80/kdeui/kernel/kapplication.cpp:916
#31 KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fffacbba0d0) at /usr/src/debug/kdelibs-4.5.80/kdeui/kernel/kapplication.cpp:967
#32 0x00007f6e3ad031b7 in PlasmaApp::x11EventFilter (this=0x2617aa0, event=0x7fffacbba0d0) at /usr/src/debug/kdebase-workspace-4.5.80/plasma/desktop/shell/plasmaapp.cpp:626
#33 0x00007f6e3617b755 in qt_x11EventFilter (ev=0x7fffacbba0d0) at kernel/qapplication_x11.cpp:436
#34 0x00007f6e36189770 in QApplication::x11ProcessEvent (this=0x2617aa0, event=0x7fffacbba0d0) at kernel/qapplication_x11.cpp:3276
#35 0x00007f6e361b1902 in x11EventSourceDispatch (s=0x266d480, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00000038ca241e33 in g_main_dispatch (context=0x266c1f0) at gmain.c:2149
#37 g_main_context_dispatch (context=0x266c1f0) at gmain.c:2702
#38 0x00000038ca242610 in g_main_context_iterate (context=0x266c1f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#39 0x00000038ca2428ad in g_main_context_iteration (context=0x266c1f0, may_block=1) at gmain.c:2843
#40 0x00007f6e36d6b8bf in QEventDispatcherGlib::processEvents (this=0x25e1270, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#41 0x00007f6e361b159e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f6e36d3fb42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f6e36d3fd8c in QEventLoop::exec (this=0x7fffacbba3e0, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007f6e36d4424b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#45 0x00007f6e3aced298 in kdemain (argc=1, argv=0x7fffacbba7d8) at /usr/src/debug/kdebase-workspace-4.5.80/plasma/desktop/shell/main.cpp:118
#46 0x00000038ca61ee7d in __libc_start_main () from /lib64/libc.so.6
#47 0x0000000000400859 in _start ()

Reported using DrKonqi
Comment 1 mps 2010-11-26 23:23:37 UTC
Occurs on every logon until smooth-tasks section in plasma-desktop-appletsrc is commented out.
Comment 2 Dario Andres 2010-11-27 15:01:40 UTC
[Comment from a bug triager]
If you can confirm that this only happens when using the SmoothTasks plasmoid but not when using the default KDE task manager, then this bug should be reported to the SmoothTasks developers directly
(you can also try to use the latest SmoothTasks code)
Thanks
Comment 3 Dario Andres 2010-11-27 15:02:08 UTC
*** Bug 258049 has been marked as a duplicate of this bug. ***
Comment 4 mps 2010-11-28 01:03:25 UTC
Hi Dario,

I confirm that removing the smoothtasks widget by commenting it out in plasma-desktop-appletsrc solves this bug. So the proximate cause is smooth-tasks.

Clearly it is ALSO a bug in plasma itself - widgets should not be able to crash all of plasma and prevent it from restarting. So maybe this needs splitting into two bugs - 1) why the smoothtasks widget fails and 2) why a crash in smoothtasks is able to cause a non-recoverable crash in plasma. What do you think?

cheers
M.
Comment 5 Dario Andres 2010-11-28 02:23:21 UTC
[Comment from a bug triager]
Of course, Plasma should not crash cause of external widgets' problems, but that is a Plasma design issue which should be evaluated and fixed by Plasma developers (I can't help with that). 
Actually that suggestion is already reported at bug 199754; you can follow that report if you want.
Closing this report as DOWNSTREAM because of the SmoothTasks crash.
Regards
Comment 6 Dario Andres 2010-12-02 22:14:14 UTC
*** Bug 258609 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2011-01-27 00:00:23 UTC
*** Bug 264375 has been marked as a duplicate of this bug. ***
Comment 8 4k1r4.rulez 2011-01-27 14:28:49 UTC
Created attachment 56511 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.1

- What I was doing when the application crashed:
Switched to smooth task plasmoid 
- Custom settings of the application:
Smooth task plasmoid crashes the plasma, also i noticed the same behaviour with Language switcher plasmoid

-- Backtrace (Reduced):
#6  0x00007f89ae364082 in TaskManager::TaskGroup::members() const () from /usr/lib/libtaskmanager.so.4
#7  0x00007f89a64d971a in SmoothTasks::TaskItem::publishIconGeometry() () from /usr/lib/kde4/plasma_applet_smooth-tasks.so
#8  0x00007f89a64d9960 in SmoothTasks::TaskItem::updateState() () from /usr/lib/kde4/plasma_applet_smooth-tasks.so
#9  0x00007f89a64d9c4f in SmoothTasks::TaskItem::TaskItem(TaskManager::AbstractGroupableItem*, SmoothTasks::Applet*) () from /usr/lib/kde4/plasma_applet_smooth-tasks.so
#10 0x00007f89a64cfccf in SmoothTasks::Applet::itemAdded(TaskManager::AbstractGroupableItem*) () from /usr/lib/kde4/plasma_applet_smooth-tasks.so
Comment 9 mps 2011-01-27 15:44:49 UTC
FWIW I reported this upstream. http://kde-look.org/content/show.php/Smooth+Tasks?content=101586

The maintainer seems to suggest that it is a packaging issue...
Comment 10 4k1r4.rulez 2011-01-27 15:52:25 UTC
I compiled fresh smooth task from source, work now. But crashing entire desktop cuz of one gadget its a bug in plasma
Comment 11 Dario Andres 2011-01-29 13:02:40 UTC
Comment 10: that design issue is reported at bug 199754