Bug 299933 - KWIN reported a crash after restarting.
Summary: KWIN reported a crash after restarting.
Status: RESOLVED DUPLICATE of bug 282933
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-13 11:44 UTC by John
Modified: 2012-05-13 18:56 UTC (History)
0 users

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 John 2012-05-13 11:44:16 UTC
Application: kwin (4.8.2 (4.8.2))
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Windows could not be dragged or resized. This happens every time I start KDE.
To correct this, I restarted kwin with 'kwin --replace'.

- Unusual behavior I noticed:
As mentioned above, when KDE starts, all applications open at the top left of the screen, and cannot be moved or resized. After restarting kwin the windows seem to behave as expected, including special effects, despite the error.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1a79740 (LWP 3246))]

Thread 2 (Thread 0xac720b40 (LWP 3250)):
#0  0xb772d424 in __kernel_vsyscall ()
#1  0xb2a1a96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75103dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb661f029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb661f06f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb2a16d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb7502ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1a79740 (LWP 3246)):
[KCrash Handler]
#7  ref (this=0x70) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#8  QRegion::operator= (this=0x9c55180, r=...) at painting/qregion.cpp:3934
#9  0xb767fa0c in KWin::Toplevel::copyToDeleted (this=0x9c55118, c=0x9bfe1f8) at ../../kwin/toplevel.cpp:131
#10 0xb76a25dc in KWin::Deleted::copyToDeleted (this=0x9c55118, c=0x9bfe1f8) at ../../kwin/deleted.cpp:68
#11 0xb76a28cb in KWin::Deleted::create (c=0x9bfe1f8) at ../../kwin/deleted.cpp:53
#12 0xb7680f6a in KWin::Unmanaged::release (this=0x9bfe1f8) at ../../kwin/unmanaged.cpp:85
#13 0xb760bfde in KWin::Workspace::~Workspace (this=0x98b5378, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#14 0xb760c8a2 in KWin::Workspace::~Workspace (this=0x98b5378, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
#15 0xb762643e in KWin::Application::~Application (this=0xbfa8b478, __in_chrg=<optimized out>) at ../../kwin/main.cpp:340
#16 0xb762961d in kdemain (argc=2, argv=0xbfa8b724) at ../../kwin/main.cpp:541
#17 0x0804850b in main (argc=2, argv=0xbfa8b724) at kwin_dummy.cpp:3

Possible duplicates by query: bug 299076, bug 297893, bug 286637, bug 282933.

Reported using DrKonqi
Comment 1 Martin Flöser 2012-05-13 11:52:20 UTC

*** This bug has been marked as a duplicate of bug 282933 ***
Comment 2 John 2012-05-13 16:39:34 UTC
You may wish to ignore this bug report, since all my kwin problems have now gone away.
My solution was to completely remove compiz. 
Obviously, I no longer have the Ubuntu 3D desktop, but since I neither liked nor used it I have no problem with that.
Comment 3 Thomas Lübking 2012-05-13 18:56:22 UTC
Thanks for the hint.

It *may* have been the case that the compiz decorator (emerald/kde4-window-decorator) was running next to kwin - just the on disk presence of anything should not cause any trouble.

If you consider to re-install compiz and such issues re-occur, check the process list for those processes and kill them - they might cause random other trouble as well (esp. kde4-window-decorator, emerald will likely just slow things down)