Bug 203794

Summary: plasma-desktop crash if trying to disable desktop effects with alt+shift+f12 shortcut immediately after login
Product: [Plasma] plasma4 Reporter: Ruchir Brahmbhatt <ruchir.brahmbhatt>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman, finex, lars.scheiter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Ruchir Brahmbhatt 2009-08-14 08:11:02 UTC
Version:            (using KDE 4.3.0)
Installed from:    SuSE RPMs

Steps to reproduce:
1. Make sure to have desktop effects enabled.
2. Login from kdm by entering user/pass.
3. As soon as desktop loads, click ALT+Shift+F12.
4. plasma-desktop crash.
Comment 1 FiNeX 2009-08-15 11:16:15 UTC
On bug #203793 you've wrote that it is kwin crashing, does plasma crash with kwin?
Comment 2 Ruchir Brahmbhatt 2009-08-15 12:13:22 UTC
Well sometimes plasma crashes and sometimes kwin. It's tricky to reproduce as after login, in certain time pressing ALT+Shift+F12 can cause this. However it doesn't trigger drkonqui and can't get backtrace. However I can open konsole(as I've configured a shortcut "win+k") and start the process again.
Comment 3 Lars Scheiter 2009-10-14 11:57:32 UTC
I can reproduce this bug on jaunty with PPAs KDE 4.3.2. I switched off composition and then plasma-desktop disappeared and crashed. For me plasma-desktop is extremely unstable recently because of an Openoffice Bug (or kwin?) which forces me to disable composition now and then, in normal business i cant live without effects ;)

It, by the way, doesnt matter when ich disable composition, it simply crashes most of the time. If not plasma-desktop then kwin, but thats another story i think.


sorry no debug build, but maybe usefull:
(gdb) c
Continuing.
[New Thread 0x7fbd6ffff950 (LWP 27465)]
[Thread 0x7fbd6ffff950 (LWP 27465) exited]

Program received signal SIGBUS, Bus error.
[Switching to Thread 0x7fbd9a398750 (LWP 5634)]
0x00007fbd9861e5b4 in KPixmapCache::Private::invalidateMmapFiles () from /usr/lib/libkdeui.so.5
(gdb) bt
#0  0x00007fbd9861e5b4 in KPixmapCache::Private::invalidateMmapFiles () from /usr/lib/libkdeui.so.5
#1  0x00007fbd9861d371 in KPixmapCache::recreateCacheFiles () from /usr/lib/libkdeui.so.5
#2  0x00007fbd9861dd37 in KPixmapCache::Private::checkFileVersion () from /usr/lib/libkdeui.so.5
#3  0x00007fbd9861e197 in KPixmapCache::Private::init () from /usr/lib/libkdeui.so.5
#4  0x00007fbd9861fc64 in KPixmapCache::discard () from /usr/lib/libkdeui.so.5
#5  0x00007fbd98620345 in KPixmapCache::deleteCache () from /usr/lib/libkdeui.so.5
#6  0x00007fbd918687f2 in ?? () from /usr/lib/libplasma.so.3
#7  0x00007fbd91868ca3 in ?? () from /usr/lib/libplasma.so.3
#8  0x00007fbd9186e721 in Plasma::Theme::qt_metacall () from /usr/lib/libplasma.so.3
#9  0x00007fbd99ee2ea2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0x00007fbd986110dd in ?? () from /usr/lib/libkdeui.so.5
#11 0x00007fbd985a4ed3 in KApplication::x11EventFilter () from /usr/lib/libkdeui.so.5
#12 0x00007fbd8de01907 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#13 0x00007fbd974ef37f in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007fbd9750287e in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#15 0x00007fbd9752c454 in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007fbd95f2620a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007fbd95f298e0 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007fbd95f29a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007fbd99ef6a8f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#20 0x00007fbd9752bbdf in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fbd99ecbf42 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#22 0x00007fbd99ecc314 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#23 0x00007fbd99ece5e4 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#24 0x00007fbd8ddee3eb in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#25 0x0000000000407215 in _start ()
(gdb) c
Continuing.

Program terminated with signal SIGBUS, Bus error.
The program no longer exists.
Comment 4 Lars Scheiter 2009-10-14 12:30:22 UTC
Cant reproduce this currently and it might not even be related, but after manually restarting plasma-desktop, after this crash, it seems to cause the X-Server (xorg 7.4~5ubuntu18) to hog CPU. It has to be plasma-desktop, because after i killed the plasma-desktop process the X Server bahaved as expected and firefox was again top of cycle eater ;)
Comment 5 Jonathan Thomas 2009-12-13 05:17:32 UTC

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