Bug 170003 - Plasma crasched using compiz
Summary: Plasma crasched using compiz
Status: RESOLVED FIXED
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:
: 169598 175268 179886 182031 182088 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-28 20:32 UTC by cedrik guilbaud
Modified: 2009-02-28 02:59 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cedrik guilbaud 2008-08-28 20:32:47 UTC
Version:            (using KDE 4.1.0)
OS:                Linux
Installed from:    Fedora RPMs

I'm using fedora with KDE4.1. Everything is OK when I am using Kwin window manager , but when i want to enable Compiz window manager and want to use the Cube selector, plasma crasched and caused the signal 11 (SIGSEGV).
Everytime I want to reproduce the crasch, the same error message appear.

Here are the versions of KDE and Compiz-kde :
-kdebase : -kdebase-runtime-4.1.0-1.fc9.x86_64
           -kdebase-workspace-libs-4.1.0-8.fc9.x86_64
           -kdebase-4.1.0-1.fc9.1.x86_64
           -kdebase-workspace-4.1.0-8.fc9.x86_64
           -kdebase3-pim-ioslaves-3.5.9-16.fc9.x86_64
           -kdebase-libs-4.1.0-1.fc9.1.x86_64

-compiz-kde : -compiz-kde-0.7.6-3.fc9.1.x86_64

The report from "kgdb" :
Application : Espace de travail Plasma (plasma), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f8b54ccb840 (LWP 2705)]
[New Thread 0x427be950 (LWP 2711)]
[New Thread 0x41d24950 (LWP 2710)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x0000000002d5887b in QRectF::contains () from /usr/lib64/libQtCore.so.4
#6  0x00007f8b497d809b in ?? () from /usr/lib64/kde4/plasma_applet_pager.so
#7  0x000000383d497804 in Plasma::Applet::paint ()
   from /usr/lib64/libplasma.so.2
#8  0x00007f8b5539811b in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007f8b5539b9a5 in ?? () from /usr/lib64/libQtGui.so.4
#10 0x00007f8b5539bdf5 in QGraphicsScene::drawItems ()
   from /usr/lib64/libQtGui.so.4
#11 0x00007f8b553b9f9b in QGraphicsView::paintEvent ()
   from /usr/lib64/libQtGui.so.4
#12 0x00007f8b54eb65b8 in QWidget::event () from /usr/lib64/libQtGui.so.4
#13 0x00007f8b553b497b in QGraphicsView::viewportEvent ()
   from /usr/lib64/libQtGui.so.4
#14 0x0000000002e12028 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/libQtCore.so.4
#15 0x00007f8b54e641ec in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#16 0x00007f8b54e6bfca in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#17 0x0000003c219fadab in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#18 0x0000000002e12d51 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#19 0x00007f8b54eb4fef in QWidgetPrivate::drawWidget ()
   from /usr/lib64/libQtGui.so.4
#20 0x00007f8b54eb56d5 in QWidgetPrivate::paintSiblingsRecursive ()
   from /usr/lib64/libQtGui.so.4
#21 0x00007f8b54eb4ca8 in QWidgetPrivate::drawWidget ()
   from /usr/lib64/libQtGui.so.4
#22 0x00007f8b5500d369 in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007f8b5500e097 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007f8b54eb63d5 in QWidget::event () from /usr/lib64/libQtGui.so.4
#25 0x00007f8b5523e779 in QAbstractScrollArea::event ()
   from /usr/lib64/libQtGui.so.4
#26 0x00007f8b54e6421d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#27 0x00007f8b54e6bfca in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#28 0x0000003c219fadab in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#29 0x0000000002e12d51 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#30 0x0000000002e139fa in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#31 0x0000000002e3b5c3 in ?? () from /usr/lib64/libQtCore.so.4
#32 0x0000003c15a374db in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#33 0x0000003c15a3acbd in ?? () from /lib64/libglib-2.0.so.0
#34 0x0000003c15a3ae7b in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#35 0x0000000002e3b24f in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#36 0x00007f8b54ef4a0f in ?? () from /usr/lib64/libQtGui.so.4
#37 0x0000000002e11662 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#38 0x0000000002e117ed in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#39 0x0000000002e13cbd in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#40 0x000000380b619763 in kdemain () from /usr/lib64/libkdeinit4_plasma.so
#41 0x0000003c1421e32a in __libc_start_main () from /lib64/libc.so.6
#42 0x0000000000400849 in _start ()

These are all elements I have to report the bug.
Comment 1 George Kiagiadakis 2008-08-28 21:22:41 UTC
Unfortunately, this backtrace is not so useful to us. Can you please read the following instructions and provide us a better backtrace of this crash? Here are the instructions: http://techbase.kde.org/Contribute/Bugsquad/How_to_create_useful_crash_reports

Thank you.
Comment 2 Aaron J. Seigo 2008-08-28 23:07:59 UTC
so what's probably happening here is that the pager isn't getting properly notified of the number of desktops; my guess is that it's being told there are now zero desktops but that it is on desktop 1 (or even desktop 0) and then it goes *boom*.

that would imply something is either rather wrong with KWindowSystem or compiz. or, possibly, KWindowSystem says "no desktops" when kwin exits and will later say "N desktops" when compiz starts after that.
Comment 3 Aaron J. Seigo 2008-09-02 19:03:51 UTC
*** Bug 169598 has been marked as a duplicate of this bug. ***
Comment 4 compman7 2008-10-06 06:03:17 UTC
I've had this same problem under FreeBSD, and I think I may have a solution for you.

Plasma would always crash exactly once per session with any desktop changing feature when I enabled compiz after startup.

Here's what I did.

Go to System Settings > Advanced > Session Manager.
Go down to the "Window Manager" section and switch it from KWin to Compiz.

Now, we just need to write a script to run emerald, for example:

#! /bin/sh
emerald --replace &

Place it in your .kde4/Autorun folder (or whatever it is in Linux), or go to Advanced > Autostart and have it run at startup (same effect). Setting it to run before startup didn't work for me.

The desktop count in the pager looks right now, and I haven't had any more crashes.

Hopefully, this will work for you as well.
Comment 5 Aaron J. Seigo 2008-11-16 21:55:36 UTC
*** Bug 175268 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-01-07 15:12:00 UTC
*** Bug 179886 has been marked as a duplicate of this bug. ***
Comment 7 Mathieu Zhang 2009-01-14 07:58:55 UTC
I am still having exact same problem and I have always set my windows manager to be 'compiz'. Plasma crashes exactly ONCE at the beginning. Here's what usually happen:

1) log in to KDE. On the lowest left, there is ONE icon for workspace.
2) switch workspace once or twice (I am using Desktop Wall, but I suppose cube is the same) and plasma crashes.
3) The ONE icon now become FOUR icons, one per workspace and everything is working and good.

So, it's not a serious problem for me but kind of annoying. Usually when I log in, I would induce a crash just to get it out of the way.

I am recompiling plasma-workspace with debugging symbols. I will upload them when I get them.
Comment 8 Dario Andres 2009-01-28 02:53:51 UTC
*** Bug 182088 has been marked as a duplicate of this bug. ***
Comment 9 Nicolas L. 2009-02-28 02:59:16 UTC
*** Bug 182031 has been marked as a duplicate of this bug. ***