[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kwin] [Bug 293209] Kwin crash on startup
From:       Andreas Demmer <mail () andreas-demmer ! de>
Date:       2013-02-20 13:09:23
Message-ID: bug-293209-17878-BNLx66gafY () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=293209

--- Comment #38 from Andreas Demmer <mail@andreas-demmer.de> ---
Patched the file:

--------------------
diff --git a/kwin/events.cpp b/kwin/events.cpp
index 281f9e7..f5492e7 100644
--- a/kwin/events.cpp
+++ b/kwin/events.cpp
@@ -462,6 +462,7 @@ bool Workspace::workspaceEvent(XEvent * e)
     default:
         if (e->type == Extensions::randrNotifyEvent() &&
Extensions::randrAvailable()) {
             XRRUpdateConfiguration(e);
+           XSync(display(),false);
             if (compositing()) {
                 // desktopResized() should take care of when the size or
                 // shape of the desktop has changed, but we also want to
--------------------

Then cmake, make and make install. Afterwards kwin --replace.

Unfortunally, KWin stills crashes when unplugging:

--------------------

Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f16586f5780 (LWP 15862))]

Thread 3 (Thread 0x7f1636ffd700 (LWP 15891)):
#0  0x00007f1652b1a964 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f16549c7307 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f1654cd4660 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f16549c7339 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f1652b16e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f1650ab77dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f162ffff700 (LWP 15893)):
#0  0x00007f1652b1a964 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f16349b7543 in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007f1652b16e0f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f1650ab77dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f16586f5780 (LWP 15862)):
[KCrash Handler]
#5  0x00007f1650a4d634 in free () from /lib64/libc.so.6
#6  0x00007f1656bc3089 in XFree (data=<optimized out>) at XlibInt.c:1701
#7  0x00007f1655f2fad6 in XRRUpdateConfiguration (event=<optimized out>) at
Xrandr.c:509
#8  0x00007f165824c998 in KWin::Workspace::workspaceEvent (this=0xa3a8e0,
e=0x7fffe2452380) at
/home/ademmer/Source/own/KDE/kde-workspace/kwin/events.cpp:464
#9  0x00007f165823e2e8 in KWin::Application::x11EventFilter
(this=0x7fffe24528e0, e=0x7fffe2452380) at
/home/ademmer/Source/own/KDE/kde-workspace/kwin/main.cpp:362
#10 0x00007f16520a2bfc in qt_x11EventFilter (ev=0x7fffe2452380) at
kernel/qapplication_x11.cpp:435
#11 qt_x11EventFilter (ev=0x7fffe2452380) at kernel/qapplication_x11.cpp:423
#12 0x00007f16520b01eb in QApplication::x11ProcessEvent (this=0x7fffe24528e0,
event=0x7fffe2452380) at kernel/qapplication_x11.cpp:3362
#13 0x00007f16520d79d9 in QEventDispatcherX11::processEvents (this=0x8b8fe0,
flags=...) at kernel/qeventdispatcher_x11.cpp:132
#14 0x00007f1652ea79bf in QEventLoop::processEvents
(this=this@entry=0x7fffe24525f0, flags=...) at kernel/qeventloop.cpp:149
#15 0x00007f1652ea7c48 in QEventLoop::exec (this=0x7fffe24525f0, flags=...) at
kernel/qeventloop.cpp:204
#16 0x00007f1652eac8e8 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#17 0x00007f165824089a in kdemain (argc=3, argv=0x7fffe2452a28) at
/home/ademmer/Source/own/KDE/kde-workspace/kwin/main.cpp:537
#18 0x00007f16509f0a15 in __libc_start_main () from /lib64/libc.so.6
#19 0x00000000004009c1 in _start () at ../sysdeps/x86_64/start.S:123

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic