Bug 184526

Summary: plasma crashes randomly (e.g. on login)
Product: [Unmaintained] plasma4 Reporter: Mathias Panzenböck <grosser.meister.morti>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace of a plasma crash

Description Mathias Panzenböck 2009-02-16 17:34:58 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Fedora RPMs

Plasma crashes on me randomly (segmentation fault). This does not happen often but sometimes it happens without any interaction, e.g. on login. I use folderview as background and use the twitter and the nvidia temperature display plasmoids. I'll attach a backtrace.
Comment 1 Mathias Panzenböck 2009-02-16 17:36:00 UTC
Created attachment 31364 [details]
backtrace of a plasma crash
Comment 2 Mathias Panzenböck 2009-02-16 17:44:46 UTC
PS: All crashes I've got with KDE 4.2 (kwin, kded, plasma etc.) have nanosleep () somewhere in the backtrace (even when the backtrace is not complete because of some missing symbols).
Comment 3 Dario Andres 2009-02-17 11:21:13 UTC
Pasted backtrace from comment 1: (it's better to paste than attach a file)

Application: Plasma Workspace (plasma), signal SIGSEGV
0x00007f02b0a27f81 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f02a8d37840 (LWP 2917))]

Thread 3 (Thread 0x7f028fe0d950 (LWP 2924)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f02b170f839 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:82
#2  QWaitCondition::wait (this=0x2b0c070, mutex=0x2b0c068, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:154
#3  0x000000000655feac in QHostInfoAgent::run (this=0x2b0c050) at kernel/qhostinfo.cpp:241
#4  0x00007f02b170e852 in QThreadPrivate::start (arg=0x2b0c050) at thread/qthread_unix.cpp:185
#5  0x00007f02b14a03da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f02b0a662bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 2 (Thread 0x7f028dd80950 (LWP 2954)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f02b170f839 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:82
#2  QWaitCondition::wait (this=0x2837500, mutex=0x28374f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:154
#3  0x00007f029283efa0 in ?? () from /usr/lib64/kde4/plasma_wallpaper_image.so
#4  0x00007f02b170e852 in QThreadPrivate::start (arg=0x28374e8) at thread/qthread_unix.cpp:185
#5  0x00007f02b14a03da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f02b0a662bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently asm

Thread 1 (Thread 0x7f02a8d37840 (LWP 2917)):
[KCrash Handler]
#5  0x00007f0293db8b93 in TaskManager::GroupManager::add () from /usr/lib64/libtaskmanager.so.4
#6  0x00007f0293dba51b in TaskManager::GroupManager::qt_metacall () from /usr/lib64/libtaskmanager.so.4
#7  0x00007f02b180b764 in QMetaObject::activate (sender=0x27f0f30, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x2ca42f0) at kernel/qobject.cpp:3031
#8  0x00007f0293dcebf2 in TaskManager::TaskManager::taskAdded () from /usr/lib64/libtaskmanager.so.4
#9  0x00007f0293dd0c3f in TaskManager::TaskManager::windowAdded () from /usr/lib64/libtaskmanager.so.4
#10 0x00007f0293dd1c2f in TaskManager::TaskManager::qt_metacall () from /usr/lib64/libtaskmanager.so.4
#11 0x00007f02b180b764 in QMetaObject::activate (sender=0x2468820, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x2ca42f0) at kernel/qobject.cpp:3031
#12 0x00000000013d5e52 in KWindowSystem::windowAdded () from /usr/lib64/libkdeui.so.5
#13 0x00000000013d81ac in ?? () from /usr/lib64/libkdeui.so.5
#14 0x00000000013e71cb in NETRootInfo::update () from /usr/lib64/libkdeui.so.5
#15 0x00000000013e752b in NETRootInfo::event () from /usr/lib64/libkdeui.so.5
#16 0x00000000013d862b in ?? () from /usr/lib64/libkdeui.so.5
#17 0x00000000012b3203 in KApplication::x11EventFilter () from /usr/lib64/libkdeui.so.5
#18 0x000000000076cd34 in ?? () from /usr/lib64/libkdeinit4_plasma.so
#19 0x00007f02b1f2049f in qt_x11EventFilter (ev=0x7fffbac9fe40) at kernel/qapplication_x11.cpp:361
#20 0x00007f02b1f31b56 in QApplication::x11ProcessEvent (this=0x2376480, event=0x7fffbac9fe40) at kernel/qapplication_x11.cpp:2922
#21 0x00007f02b1f58ae4 in x11EventSourceDispatch (s=0x2392640, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#22 0x00007f02adaea79b in g_main_dispatch () at gmain.c:2144
#23 IA__g_main_context_dispatch (context=0x2391920) at gmain.c:2697
#24 0x00007f02adaedf6d in g_main_context_iterate (context=0x2391920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#25 0x00007f02adaee12b in IA__g_main_context_iteration (context=0x2391920, may_block=1) at gmain.c:2841
#26 0x00007f02b181f79f in QEventDispatcherGlib::processEvents (this=0x238ec00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#27 0x00007f02b1f5828f in QGuiEventDispatcherGlib::processEvents (this=0x2f36eb0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#28 0x00007f02b17f5cb2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:143
#29 0x00007f02b17f5e3d in QEventLoop::exec (this=0x7fffbaca0170, flags=) at kernel/qeventloop.cpp:194
#30 0x00007f02b17f82ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#31 0x000000000075e9bb in kdemain () from /usr/lib64/libkdeinit4_plasma.so
#32 0x00007f02b099e576 in __libc_start_main (main=0x400830 <_start+240>, argc=1, ubp_av=0x7fffbaca0478, init=0x400860 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffbaca0468) at libc-start.c:220
#33 0x0000000000400769 in _start ()
Current language:  auto; currently c
Comment 4 Dario Andres 2009-02-17 11:22:09 UTC
Can you install the "kdebase-workspace-debuginfo" package and post a new backtrace when Plasma crashes again ? (if the crash is also related to TaskManager:

""
#5  0x00007f0293db8b93 in TaskManager::GroupManager::add () from
/usr/lib64/libtaskmanager.so.4
#6  0x00007f0293dba51b in TaskManager::GroupManager::qt_metacall () from
/usr/lib64/libtaskmanager.so.4
""

Thanks
Comment 5 Mathias Panzenböck 2009-02-17 16:15:20 UTC
Hm, can it be that the $NAME-debuginfo packages are not automatically updated when the $NAME packages are? Because I'm sure I did install kdebase-workspace-debuginfo. However, I run "sudo debuginfo-install kdebase-workspace" anyway and it currently does download several hundreds of Megabyte.

Do the *-debuginfo packages influence the system other than taking up disk space and enabling to generate valid backtraces? Do they cause any performance penalty?
Comment 6 Dario Andres 2009-02-17 23:17:10 UTC
(In reply to comment #5)
> Hm, can it be that the $NAME-debuginfo packages are not automatically updated
> when the $NAME packages are? Because I'm sure I did install
> kdebase-workspace-debuginfo. However, I run "sudo debuginfo-install
> kdebase-workspace" anyway and it currently does download several hundreds of
> Megabyte.
> 

They should be updated as long the -debug packages are updated at the same time the release ones. This is related to the distribution and the install methods

> Do the *-debuginfo packages influence the system other than taking up disk
> space and enabling to generate valid backtraces? Do they cause any performance
> penalty?

No, they are only loaded when it's required (to load the backtrace on a crash), but during normal use they have no incidence. They only take some Mb/Gb :)
Comment 7 Mathias Panzenböck 2009-02-19 15:22:31 UTC
It happened again (plasma crash on login). Here is the backtrace (all kde crashes I experience have nanosleep () in the backtrace!):

Application: Plasma Workspace (plasma), signal SIGSEGV
0x00007fd16a482f81 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7fd162792840 (LWP 2916))]

Thread 3 (Thread 0x7fd149843950 (LWP 2923)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd16b16a839 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:82
#2  QWaitCondition::wait (this=0x27db3f0, mutex=0x27db3e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:154
#3  0x0000000006549eac in QHostInfoAgent::run (this=0x27db3d0) at kernel/qhostinfo.cpp:241
#4  0x00007fd16b169852 in QThreadPrivate::start (arg=0x27db3d0) at thread/qthread_unix.cpp:185
#5  0x00007fd16aefb3da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fd16a4c12bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 2 (Thread 0x7fd148618950 (LWP 2926)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd16b16a839 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:82
#2  QWaitCondition::wait (this=0x26492f0, mutex=0x26492e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:154
#3  0x00007fd14c274fa0 in RenderThread::run (this=0x26492d8) at /usr/src/debug/kdebase-workspace-4.2.0/plasma/wallpapers/image/renderthread.cpp:91
#4  0x00007fd16b169852 in QThreadPrivate::start (arg=0x26492d8) at thread/qthread_unix.cpp:185
#5  0x00007fd16aefb3da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fd16a4c12bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently asm

Thread 1 (Thread 0x7fd162792840 (LWP 2916)):
[KCrash Handler]
#5  QHash<KSharedPtr<TaskManager::Startup>, TaskManager::TaskItem*>::erase () at /usr/include/QtCore/qhash.h:809
#6  QMutableHashIterator<KSharedPtr<TaskManager::Startup>, TaskManager::TaskItem*>::remove () at /usr/include/QtCore/qhash.h:1007
#7  TaskManager::GroupManager::add (this=0x23efa70, task=) at /usr/src/debug/kdebase-workspace-4.2.0/libs/taskmanager/groupmanager.cpp:241
#8  0x00007fd14d7f051b in TaskManager::GroupManager::qt_metacall (this=0x23efa70, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff75c49e30)
    at /usr/src/debug/kdebase-workspace-4.2.0/x86_64-redhat-linux-gnu/libs/taskmanager/groupmanager.moc:90
#9  0x00007fd16b266764 in QMetaObject::activate (sender=0x2455220, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x240ed10) at kernel/qobject.cpp:3031
#10 0x00007fd14d804bf2 in TaskManager::TaskManager::taskAdded (this=0x2e17740, _t1=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.2.0/x86_64-redhat-linux-gnu/libs/taskmanager/taskmanager.moc:150
#11 0x00007fd14d806c3f in TaskManager::TaskManager::windowAdded (this=0x2455220, w=67108967) at /usr/src/debug/kdebase-workspace-4.2.0/libs/taskmanager/taskmanager.cpp:246
#12 0x00007fd14d807c2f in TaskManager::TaskManager::qt_metacall (this=0x2455220, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff75c4a0c0)
    at /usr/src/debug/kdebase-workspace-4.2.0/x86_64-redhat-linux-gnu/libs/taskmanager/taskmanager.moc:106
#13 0x00007fd16b266764 in QMetaObject::activate (sender=0x2379a80, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x240ed10) at kernel/qobject.cpp:3031
#14 0x00007fd16d960e52 in KWindowSystem::windowAdded (this=0x2e17740, _t1=67108967) at /usr/src/debug/kdelibs-4.2.0/x86_64-redhat-linux-gnu/kdeui/kwindowsystem.moc:118
#15 0x00007fd16d9631ac in KWindowSystemPrivate::addClient (this=0x2379cb0, w=67108967) at /usr/src/debug/kdelibs-4.2.0/kdeui/windowmanagement/kwindowsystem_x11.cpp:229
#16 0x00007fd16d9721b8 in NETRootInfo::update (this=0x2379cd8, dirty_props=<value optimized out>) at /usr/src/debug/kdelibs-4.2.0/kdeui/windowmanagement/netwm.cpp:2123
#17 0x00007fd16d97252b in NETRootInfo::event (this=0x2379cd8, event=<value optimized out>, properties=0x7fff75c4a3e0, properties_size=5)
    at /usr/src/debug/kdelibs-4.2.0/kdeui/windowmanagement/netwm.cpp:2052
#18 0x00007fd16d96362b in KWindowSystemPrivate::x11Event (this=0x2379cb0, ev=0x7fff75c4ad00) at /usr/src/debug/kdelibs-4.2.0/kdeui/windowmanagement/kwindowsystem_x11.cpp:136
#19 0x00007fd16d83e203 in KAppX11HackWidget::publicx11Event () at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:935
#20 KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fff75c4ad00) at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:985
#21 0x0000000000b60d34 in PlasmaApp::x11EventFilter (this=0x223d480, event=0x7fff75c4ad00) at /usr/src/debug/kdebase-workspace-4.2.0/plasma/shells/desktop/plasmaapp.cpp:453
#22 0x00007fd16b97b49f in qt_x11EventFilter (ev=0x7fff75c4ad00) at kernel/qapplication_x11.cpp:361
#23 0x00007fd16b98cb56 in QApplication::x11ProcessEvent (this=0x223d480, event=0x7fff75c4ad00) at kernel/qapplication_x11.cpp:2922
#24 0x00007fd16b9b3ae4 in x11EventSourceDispatch (s=0x2259660, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#25 0x00007fd16754579b in g_main_dispatch () at gmain.c:2144
#26 IA__g_main_context_dispatch (context=0x2258920) at gmain.c:2697
#27 0x00007fd167548f6d in g_main_context_iterate (context=0x2258920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#28 0x00007fd16754912b in IA__g_main_context_iteration (context=0x2258920, may_block=1) at gmain.c:2841
#29 0x00007fd16b27a79f in QEventDispatcherGlib::processEvents (this=0x2255bb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#30 0x00007fd16b9b328f in QGuiEventDispatcherGlib::processEvents (this=0x2e17740, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#31 0x00007fd16b250cb2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:143
#32 0x00007fd16b250e3d in QEventLoop::exec (this=0x7fff75c4b030, flags=) at kernel/qeventloop.cpp:194
#33 0x00007fd16b2532ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#34 0x0000000000b529bb in kdemain (argc=1, argv=0x7fff75c4b338) at /usr/src/debug/kdebase-workspace-4.2.0/plasma/shells/desktop/main.cpp:54
#35 0x00007fd16a3f9576 in __libc_start_main (main=0x400830 <main>, argc=1, ubp_av=0x7fff75c4b338, init=0x400860 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff75c4b328) at libc-start.c:220
#36 0x0000000000400769 in _start ()
Current language:  auto; currently c
Comment 8 Dario Andres 2009-02-22 19:00:17 UTC
Thanks

*** This bug has been marked as a duplicate of bug 174787 ***