KWin Crashes with Parallels Tools 5 (a little off topic)
Hi!
I have Parallels Desktop 5 with an openSUSE 11.2 x86_64 guest. Before installing Parallels Tools I figured out which packages were needed (it would have helped if I had seen this thread earlier) and installed them as required.
However, after installation of Parallels Tools I found that KWin kept crashing with a segmentation fault. Having looked through the trace of the error, I manage to narrow down the problem to the libGL.so and libglx.so replacements provided by the Parallels Tools installer. I wrote the below script to revert the libraries to the original versions and just thought I would post it here in case anyone else has the same problems:
#!/bin/bash
mkdir ~/parallelsfixbackup
cp /usr/lib/parallels-tools/.backup/.libgl/libGL.so.1.2 /usr/lib/
cp /usr/lib/parallels-tools/.backup/.libgl/libGL.so.1.2 /usr/lib64/
ln -fs /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
ln -fs /usr/lib64/libGL.so.1.2 /usr/lib64/libGL.so.1
cp -f /usr/lib/parallels-tools/.backup/.libgl/libglx.so /usr/lib64/xorg/modules/extensions/libglx.so
cp /usr/lib64/xorg/modules/extensions/libglx.so.5.0.9220.531002 ~/parallelsfixbackup/
This copies the original libraries back to their original locations and changes the relevant symlinks to point to the original libraries. It keeps all of the Parallels libraries in case this works again later. Please note that this is relevant to my installation but I suspect it should be the same for a plain openSUSE 11.2 x86_64 installation with KDE (the kind that seems to have caused this problem).
I just thought I would also point this out so this could perhaps be fixed. The problem is (courtesy of snapshots):
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#5 0x0000000000000000 in ?? ()
#6 0x00007f82eedad8ef in InitPrlDisplay (dpy=0x62b3f0) at ../libgl/glx_display.cpp:1126
#7 0x00007f82eeda8e18 in glXQueryExtension (dpy=0x62b3f0, errorBase=0x7fffb3c23f6c, eventBase=0x7fffb3c23f68) at ../libgl/glx_funcs.cpp:488
#8 0x00007f82ed62e770 in KWin::Extensions::init() () from /usr/lib64/libkwineffects.so.1
#9 0x00007f82eead7a1e in ?? () from /usr/lib64/libkdeinit4_kwin.so
#10 0x00007f82eead92d8 in ?? () from /usr/lib64/libkdeinit4_kwin.so
#11 0x00007f82eea7a051 in ?? () from /usr/lib64/libkdeinit4_kwin.so
#12 0x00007f82eea68f1b in ?? () from /usr/lib64/libkdeinit4_kwin.so
#13 0x00007f82eea69e5c in kdemain () from /usr/lib64/libkdeinit4_kwin.so
#14 0x00007f82ee6e8a7d in __libc_start_main () from /lib64/libc.so.6
#15 0x0000000000400699 in _start ()
I hope this helps!
Virtual Machine:
openSUSE 11.2
Linux <hostname> 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux ('uname -a' after installation of Parallels Tools)
4 processors
2GB RAM
64MB Video Memory
Host System:
Mac Pro Early 2008, Snow Leopard 10.6.1 (I will upgrade to 10.6.2 and test I suppose), 8GB RAM, 8 cores, NVIDIA GeForce 8800 GT 512MB
N.B. If this post is deemed to be in the wrong place, please do move it as appropriate. Thank you.