Bug 265351

Summary: Kwin Crash every time when I reboot or shut down my computer and when change the desktop effect settings.
Product: [Plasma] kwin Reporter: sz.zoli1990
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sz.zoli1990 2011-02-04 00:26:06 UTC
Application: kwin (4.6.00 (4.6.0) "release 375")
KDE Platform Version: 4.6.00 (4.6.0) "release 375"
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.7-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I reboot my system or shut down my system. 
I have an amilo pi2540 laptop with hdradeon 2400.
I use open source driver. Operating system opensuse 11.3 with KDR46. 
This bug is also happened in kubuntu 10.10 with kde4.6.
And another machine with kde4.6 & kubuntu 10.10 with nvidia card with restricted driver. 
Disable an active desktop effect.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2597710 (LWP 2634))]

Thread 2 (Thread 0xaee1db70 (LWP 2685)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb62b5125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb764824c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb6cd0167 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb6df01a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb6cd01af in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb6df01a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb62b0b25 in start_thread () from /lib/libpthread.so.0
#6  0xb763a46e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2597710 (LWP 2634)):
[KCrash Handler]
#7  0xb690327b in dri2DrawableGetMSC (psc=0x811b240, pdraw=0x0, ust=0xbfd84ce8, msc=0xbfd84ce0, sbc=0xbfd84cd8) at dri2_glx.c:226
#8  0xb68dc107 in __glXGetVideoSyncSGI (count=0xbfd84d2c) at glxcmds.c:2317
#9  0xb77a6cd4 in KWin::SceneOpenGL::waitSync (this=0x8164888) at /usr/src/debug/kdebase-workspace-4.6.0/kwin/scene_opengl.cpp:810
#10 0xb77ae7e0 in KWin::SceneOpenGL::flushBuffer (this=0x8164888, mask=8, damage=...) at /usr/src/debug/kdebase-workspace-4.6.0/kwin/scene_opengl.cpp:822
#11 0xb77af03f in KWin::SceneOpenGL::paint (this=0x8164888, damage=..., toplevels=...) at /usr/src/debug/kdebase-workspace-4.6.0/kwin/scene_opengl.cpp:789
#12 0xb7793f6f in KWin::Workspace::performCompositing (this=0x816d7e0) at /usr/src/debug/kdebase-workspace-4.6.0/kwin/composite.cpp:442
#13 0xb643f9c4 in QObject::event (this=0x816d7e0, e=0xbfd8541c) at kernel/qobject.cpp:1175
#14 0xb5927414 in QApplicationPrivate::notify_helper (this=0x8071500, receiver=0x816d7e0, e=0xbfd8541c) at kernel/qapplication.cpp:4445
#15 0xb5930137 in QApplication::notify (this=0xbfd85754, receiver=0x816d7e0, e=0xbfd8541c) at kernel/qapplication.cpp:3845
#16 0xb727a6c1 in KApplication::notify (this=0xbfd85754, receiver=0x816d7e0, event=0xbfd8541c) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#17 0xb7720121 in KWin::Application::notify (this=0xbfd85754, o=0x816d7e0, e=0xbfd8541c) at /usr/src/debug/kdebase-workspace-4.6.0/kwin/main.cpp:376
#18 0xb642a5be in QCoreApplication::notifyInternal (this=0xbfd85754, receiver=0x816d7e0, event=0xbfd8541c) at kernel/qcoreapplication.cpp:732
#19 0xb645b9a8 in sendEvent (this=0x8071c88) at kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0x8071c88) at kernel/qeventdispatcher_unix.cpp:618
#21 0xb645c10d in QEventDispatcherUNIX::processEvents (this=0x8054d88, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#22 0xb59dea9a in QEventDispatcherX11::processEvents (this=0x8054d88, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#23 0xb642989d in QEventLoop::processEvents (this=0xbfd85684, flags=...) at kernel/qeventloop.cpp:149
#24 0xb6429ac9 in QEventLoop::exec (this=0xbfd85684, flags=...) at kernel/qeventloop.cpp:201
#25 0xb642e570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#26 0xb5925114 in QApplication::exec () at kernel/qapplication.cpp:3719
#27 0xb7722bb7 in kdemain (argc=3, argv=0xbfd859c4) at /usr/src/debug/kdebase-workspace-4.6.0/kwin/main.cpp:542
#28 0x0804860b in main (argc=3, argv=0xbfd859c4) at /usr/src/debug/kdebase-workspace-4.6.0/build/kwin/kwin_dummy.cpp:3

Possible duplicates by query: bug 265174, bug 263190, bug 260952, bug 259557, bug 258774.

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-02-04 16:47:44 UTC
driver bug, disable vsync

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