Bug 183635 - plasma crashes sometimes when logged in and them "ghost icons" appear on the desktop
Summary: plasma crashes sometimes when logged in and them "ghost icons" appear on the ...
Status: RESOLVED DUPLICATE of bug 188378
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 183780 184528 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-08 00:17 UTC by Malte
Modified: 2009-04-26 04:09 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
This shows what my desktop looks like after login (113.02 KB, image/jpeg)
2009-02-08 09:02 UTC, Malte
Details
Ghost Icons & Zombie Widgets (333.97 KB, image/jpeg)
2009-02-15 14:30 UTC, Mark A. Taff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte 2009-02-08 00:17:58 UTC
Version:           KDE: 4.2.00 (KDE 4.2.0) "release 88.4" (using KDE 4.2.0)
Compiler:          gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] 
OS:                Linux
Installed from:    SuSE RPMs

Anwendung: Plasma-Arbeitsfläche (plasma), Signal SIGSEGV
[Current thread is 1 (Thread 0xb4303730 (LWP 32101))]

Thread 3 (Thread 0xa8958b90 (LWP 32102)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6482c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb64e3872 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb78e00d2 in ?? () from /usr/lib/libQtNetwork.so.4
#4  0xb64e285e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb647f1b5 in start_thread () from /lib/libpthread.so.0
#6  0xb62c23be in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa78ccb90 (LWP 32105)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6482c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb64e3872 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xa8ac780a in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#4  0xb64e285e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb647f1b5 in start_thread () from /lib/libpthread.so.0
#6  0xb62c23be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4303730 (LWP 32101)):
[KCrash Handler]
#6  0xb65e8321 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#7  0xa8ba3e13 in TaskManager::AbstractGroupingStrategy::groupRemoved(TaskManager::TaskGroup*) () from /usr/lib/libtaskmanager.so.4
#8  0xa8ba4ac6 in TaskManager::AbstractGroupingStrategy::closeGroup(TaskManager::TaskGroup*) () from /usr/lib/libtaskmanager.so.4
#9  0xa8bab2e7 in ?? () from /usr/lib/libtaskmanager.so.4
#10 0xa8babb2b in ?? () from /usr/lib/libtaskmanager.so.4
#11 0xb65e7580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb65e8302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0xa8bbc453 in TaskManager::TaskGroup::itemRemoved(TaskManager::AbstractGroupableItem*) () from /usr/lib/libtaskmanager.so.4
#14 0xa8bbcbb0 in TaskManager::TaskGroup::remove(TaskManager::AbstractGroupableItem*) () from /usr/lib/libtaskmanager.so.4
#15 0xa8ba7760 in TaskManager::GroupManager::remove(KSharedPtr<TaskManager::Task>) () from /usr/lib/libtaskmanager.so.4
#16 0xa8ba8c97 in TaskManager::GroupManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libtaskmanager.so.4
#17 0xb65e7580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#18 0xb65e8302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xa8bbf9a3 in TaskManager::TaskManager::taskRemoved(KSharedPtr<TaskManager::Task>) () from /usr/lib/libtaskmanager.so.4
#20 0xa8bc10e7 in TaskManager::TaskManager::windowRemoved(unsigned long) () from /usr/lib/libtaskmanager.so.4
#21 0xa8bc2f34 in TaskManager::TaskManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libtaskmanager.so.4
#22 0xb65e7580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#23 0xb65e8302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#24 0xb776d3d3 in KWindowSystem::windowRemoved(unsigned long) () from /usr/lib/libkdeui.so.5
#25 0xb776fbe6 in ?? () from /usr/lib/libkdeui.so.5
#26 0xb777efa2 in NETRootInfo::update(unsigned long const*) () from /usr/lib/libkdeui.so.5
#27 0xb777f31f in NETRootInfo::event(_XEvent*, unsigned long*, int) () from /usr/lib/libkdeui.so.5
#28 0xb776fe7d in ?? () from /usr/lib/libkdeui.so.5
#29 0xb762cc59 in KApplication::x11EventFilter(_XEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb7edd817 in ?? () from /usr/lib/libkdeinit4_plasma.so
#31 0xb68a0b9e in ?? () from /usr/lib/libQtGui.so.4
#32 0xb68b15f5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb68db0ca in ?? () from /usr/lib/libQtGui.so.4
#34 0xb556d9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0xb5571063 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0xb5571221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0xb65fcfb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb68da7c5 in ?? () from /usr/lib/libQtGui.so.4
#39 0xb65d101a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0xb65d11da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0xb65d3895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#42 0xb6841777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#43 0xb7ecd336 in kdemain () from /usr/lib/libkdeinit4_plasma.so
#44 0x08048782 in _start ()
Comment 1 Malte 2009-02-08 00:18:44 UTC
The used openSUSE version is 11.1 x86
Comment 2 Dario Andres 2009-02-08 00:25:31 UTC
This may be related to bug 178076

If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 3 Malte 2009-02-08 09:02:01 UTC
Created attachment 31112 [details]
This shows what my desktop looks like after login

After logging into my KDE session, this is what I see. The "ghost" icons are zero bytes, cannot be changed, only deleted. Instead of showing my configured program icons, after logging in, plasma shows thiese "ghost" icons and at the right there is a full blown bar with ghost icons, I never created this bar! The only bar I created is the one at the top, this bar is okay, the bar at the right is always created by plasma, after it has crashed and after each login.
Comment 4 Malte 2009-02-08 09:09:31 UTC
I can reproduce the creation of "ghost" icons by invoking "kquitapp plasma && plasma" so plasma quits, restarts and messes my program icons again. When invoking "plasma" again I see this messages:

plasma(7255): Communication problem with  "plasma" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 
Comment 5 Dario Andres 2009-02-09 22:06:31 UTC
Does this happen with a clean new user account ? (just for testing)
If you move "~/.kde4/share/config/plasmarc" and "~/.kde4/share/config/plasma-appletsrc" to another locations (this will revert the Plasma configuration to defaults), do you still experience this bug ?. If you don't, you can try to reconfigure your Plasma desktop to your like (previous config) and see if the problem come back.
Thanks
Comment 6 Malte 2009-02-10 19:53:15 UTC
Dario, it does 

NOT happen with a totally clean and empty ~/.kde4/

but it DOES happen, if I only delete or move ~/.kde4/share/config/plasma*

Thanx for your efforts
Comment 7 pgnet 2009-02-12 17:30:06 UTC
(In reply to comment #4)
> I can reproduce the creation of "ghost" icons by invoking "kquitapp plasma &&
> plasma" so plasma quits, restarts and messes my program icons again. When
> invoking "plasma" again I see this messages:

We're seeing the same (mis)behavior w/ ghost-icons here, on both x86 & x86_64  boxes.
Comment 8 Mark A. Taff 2009-02-15 11:28:20 UTC
*** Bug 183780 has been marked as a duplicate of this bug. ***
Comment 9 Mark A. Taff 2009-02-15 14:30:17 UTC
Created attachment 31327 [details]
Ghost Icons & Zombie Widgets

I had similar issues (See attachment).

OpenSuse 11.1 x86_64, KDE 4.2.0 release 97
Using QT version 4.4.90+4.5.0rc1-33.1

I had libplasma1 4.0.4-24.80 installed.  Removing it made no difference.

Though plasma isn't crashing for me, I can confirm that deleted widgets are being recreated, with some of them becoming the so-called "ghost icons".  Even after deleting plasmarc, letting the default plasmarc be recreated, logging out and logging back in, these deleted items reappear.  The items that reappear were originally created using KDE 4.1.3, then deleted after I upgraded to KDE 4.2.

I also tried logging out, dropping to a cli, deleteing plasmarc, then logging back in.  This produced similar results, the differences being
1) my desktop trash widget moved,
2) the good icons, both on the desktop and in the panel, were not created.  Only their ghosts were created.

I tried logging out, restoring a version of plasmarc as it was when things looked good, rebooting, removing everything in /tmp, then logging in again, and it *still* created all the deleted widgets!

To fix this, I had to manually remove all references to the offending widgets in both plasmarc and plasma-appletsrc.
Comment 10 Norbert Blobel 2009-02-15 21:09:39 UTC
(In reply to comment #0)
> Version:           KDE: 4.2.00 (KDE 4.2.0) "release 88.4" (using KDE 4.2.0)
> Compiler:          gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] 
> OS:                Linux
> Installed from:    SuSE RPMs
> 
> Anwendung: Plasma-Arbeitsfläche (plasma), Signal SIGSEGV
> [Current thread is 1 (Thread 0xb4303730 (LWP 32101))]
> 
> Thread 3 (Thread 0xa8958b90 (LWP 32102)):
> #0  0xffffe424 in __kernel_vsyscall ()
> #1  0xb6482c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
> #2  0xb64e3872 in QWaitCondition::wait(QMutex*, unsigned long) () from
> /usr/lib/libQtCore.so.4
> #3  0xb78e00d2 in ?? () from /usr/lib/libQtNetwork.so.4
> #4  0xb64e285e in ?? () from /usr/lib/libQtCore.so.4
> #5  0xb647f1b5 in start_thread () from /lib/libpthread.so.0
> #6  0xb62c23be in clone () from /lib/libc.so.6
> 
> Thread 2 (Thread 0xa78ccb90 (LWP 32105)):
> #0  0xffffe424 in __kernel_vsyscall ()
> #1  0xb6482c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
> #2  0xb64e3872 in QWaitCondition::wait(QMutex*, unsigned long) () from
> /usr/lib/libQtCore.so.4
> #3  0xa8ac780a in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
> #4  0xb64e285e in ?? () from /usr/lib/libQtCore.so.4
> #5  0xb647f1b5 in start_thread () from /lib/libpthread.so.0
> #6  0xb62c23be in clone () from /lib/libc.so.6
> 
> Thread 1 (Thread 0xb4303730 (LWP 32101)):
> [KCrash Handler]
> #6  0xb65e8321 in QMetaObject::activate(QObject*, QMetaObject const*, int,
> void**) () from /usr/lib/libQtCore.so.4
> #7  0xa8ba3e13 in
> TaskManager::AbstractGroupingStrategy::groupRemoved(TaskManager::TaskGroup*) ()
> from /usr/lib/libtaskmanager.so.4
> #8  0xa8ba4ac6 in
> TaskManager::AbstractGroupingStrategy::closeGroup(TaskManager::TaskGroup*) ()
> from /usr/lib/libtaskmanager.so.4
> #9  0xa8bab2e7 in ?? () from /usr/lib/libtaskmanager.so.4
> #10 0xa8babb2b in ?? () from /usr/lib/libtaskmanager.so.4
> #11 0xb65e7580 in QMetaObject::activate(QObject*, int, int, void**) () from
> /usr/lib/libQtCore.so.4
> #12 0xb65e8302 in QMetaObject::activate(QObject*, QMetaObject const*, int,
> void**) () from /usr/lib/libQtCore.so.4
> #13 0xa8bbc453 in
> TaskManager::TaskGroup::itemRemoved(TaskManager::AbstractGroupableItem*) ()
> from /usr/lib/libtaskmanager.so.4
> #14 0xa8bbcbb0 in
> TaskManager::TaskGroup::remove(TaskManager::AbstractGroupableItem*) () from
> /usr/lib/libtaskmanager.so.4
> #15 0xa8ba7760 in
> TaskManager::GroupManager::remove(KSharedPtr<TaskManager::Task>) () from
> /usr/lib/libtaskmanager.so.4
> #16 0xa8ba8c97 in TaskManager::GroupManager::qt_metacall(QMetaObject::Call,
> int, void**) () from /usr/lib/libtaskmanager.so.4
> #17 0xb65e7580 in QMetaObject::activate(QObject*, int, int, void**) () from
> /usr/lib/libQtCore.so.4
> #18 0xb65e8302 in QMetaObject::activate(QObject*, QMetaObject const*, int,
> void**) () from /usr/lib/libQtCore.so.4
> #19 0xa8bbf9a3 in
> TaskManager::TaskManager::taskRemoved(KSharedPtr<TaskManager::Task>) () from
> /usr/lib/libtaskmanager.so.4
> #20 0xa8bc10e7 in TaskManager::TaskManager::windowRemoved(unsigned long) ()
> from /usr/lib/libtaskmanager.so.4
> #21 0xa8bc2f34 in TaskManager::TaskManager::qt_metacall(QMetaObject::Call, int,
> void**) () from /usr/lib/libtaskmanager.so.4
> #22 0xb65e7580 in QMetaObject::activate(QObject*, int, int, void**) () from
> /usr/lib/libQtCore.so.4
> #23 0xb65e8302 in QMetaObject::activate(QObject*, QMetaObject const*, int,
> void**) () from /usr/lib/libQtCore.so.4
> #24 0xb776d3d3 in KWindowSystem::windowRemoved(unsigned long) () from
> /usr/lib/libkdeui.so.5
> #25 0xb776fbe6 in ?? () from /usr/lib/libkdeui.so.5
> #26 0xb777efa2 in NETRootInfo::update(unsigned long const*) () from
> /usr/lib/libkdeui.so.5
> #27 0xb777f31f in NETRootInfo::event(_XEvent*, unsigned long*, int) () from
> /usr/lib/libkdeui.so.5
> #28 0xb776fe7d in ?? () from /usr/lib/libkdeui.so.5
> #29 0xb762cc59 in KApplication::x11EventFilter(_XEvent*) () from
> /usr/lib/libkdeui.so.5
> #30 0xb7edd817 in ?? () from /usr/lib/libkdeinit4_plasma.so
> #31 0xb68a0b9e in ?? () from /usr/lib/libQtGui.so.4
> #32 0xb68b15f5 in QApplication::x11ProcessEvent(_XEvent*) () from
> /usr/lib/libQtGui.so.4
> #33 0xb68db0ca in ?? () from /usr/lib/libQtGui.so.4
> #34 0xb556d9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #35 0xb5571063 in ?? () from /usr/lib/libglib-2.0.so.0
> #36 0xb5571221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
> #37 0xb65fcfb8 in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/libQtCore.so.4
> #38 0xb68da7c5 in ?? () from /usr/lib/libQtGui.so.4
> #39 0xb65d101a in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/libQtCore.so.4
> #40 0xb65d11da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/libQtCore.so.4
> #41 0xb65d3895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
> #42 0xb6841777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
> #43 0xb7ecd336 in kdemain () from /usr/lib/libkdeinit4_plasma.so
> #44 0x08048782 in _start ()
> 

(In reply to comment #9)
> Created an attachment (id=31327) [details]
> Ghost Icons & Zombie Widgets
> 
> I had similar issues (See attachment).
> 
> OpenSuse 11.1 x86_64, KDE 4.2.0 release 97
> Using QT version 4.4.90+4.5.0rc1-33.1
> 
> I had libplasma1 4.0.4-24.80 installed.  Removing it made no difference.
> 
> Though plasma isn't crashing for me, I can confirm that deleted widgets are
> being recreated, with some of them becoming the so-called "ghost icons".  Even
> after deleting plasmarc, letting the default plasmarc be recreated, logging out
> and logging back in, these deleted items reappear.  The items that reappear
> were originally created using KDE 4.1.3, then deleted after I upgraded to KDE
> 4.2.
> 
> I also tried logging out, dropping to a cli, deleteing plasmarc, then logging
> back in.  This produced similar results, the differences being
> 1) my desktop trash widget moved,
> 2) the good icons, both on the desktop and in the panel, were not created. 
> Only their ghosts were created.
> 
> I tried logging out, restoring a version of plasmarc as it was when things
> looked good, rebooting, removing everything in /tmp, then logging in again, and
> it *still* created all the deleted widgets!
> 
> To fix this, I had to manually remove all references to the offending widgets
> in both plasmarc and plasma-appletsrc.
> 

Had the same issue on our opensSUSE 11.1 86_64 machines after updating KDE 4.2. The only way to get rid of this ghost icons was to start with a fresh .kde4. 
Comment 11 Hanno 2009-03-05 11:41:29 UTC
*** Bug 184528 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2009-03-09 12:37:43 UTC
Everybody, check if the issue is solved when using Qt4.5.0(final) and KDE4.2.1. Thanks a lot :)
Comment 13 Diederik van der Boor 2009-03-24 09:36:33 UTC
I still got this crash with KDE 4.2.1, Qt 4.4.3, openSUSE 11.0.

The relevant line numbers in my backtrace:

[KCrash Handler]
#6  0xb67b64e1 in QMetaObject::activate (sender=0x8362da8, m=0xa9057bdc, local_signal_index=0, argv=0xbfdd5eac) at kernel/qobject.cpp:3097
#7  0xa9032db3 in TaskManager::AbstractGroupingStrategy::groupRemoved (this=0x8362da8, _t1=0x84209b0) at /usr/src/debug/kdebase-workspace-4.2.1/build/libs/taskmanager/abstractgroupingstrategy.moc:87
#8  0xa9033a76 in TaskManager::AbstractGroupingStrategy::closeGroup (this=0x8362da8, group=0x84209b0) at /usr/src/debug/kdebase-workspace-4.2.1/libs/taskmanager/abstractgroupingstrategy.cpp:143

The crash itself seams to happen pretty much 'out of the blue' while you're busy with other applications.
Comment 14 Dario Andres 2009-03-29 22:47:24 UTC
The crash is probably bug 188378
Is anyone else still experiencing the "ghost" icons ? Thanks
Comment 15 Aaron J. Seigo 2009-04-26 04:09:29 UTC

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