Bug 256037

Summary: kwin crashes when enabling shadows (radeon)
Product: [Plasma] kwin Reporter: Jesús Guerrero Botella <jesus.guerrero.botella>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jesús Guerrero Botella 2010-11-04 11:43:48 UTC
Application: kwin (4.5.3 (KDE 4.5.3))
KDE Platform Version: 4.5.3 (KDE 4.5.3) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.36 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

1. open systemsettings
2. go into desktop effects
3. make sure they are enabled
4. click to enable shadows
5. click apply

For me it crashes. It seems to be something related to the radeon GL stuff. I am using mesa 7.8.2 and xorg-server 1.9.2, with the open source radeon driver. My gpu info is:

01:05.0 VGA compatible controller: ATI Technologies Inc RS880 [Radeon HD 4200

I can provide any extra info you need.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fa1a7b7e1a0 in dri2DrawableGetMSC () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
#7  0x00007fa1a7b58062 in __glXGetVideoSyncSGI () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
#8  0x00007fa1aa1c9a21 in KWin::SceneOpenGL::waitSync() () from /usr/lib/libkdeinit4_kwin.so
#9  0x00007fa1aa1cdd6e in KWin::SceneOpenGL::flushBuffer(int, QRegion) () from /usr/lib/libkdeinit4_kwin.so
#10 0x00007fa1aa1ced06 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib/libkdeinit4_kwin.so
#11 0x00007fa1aa1b967c in KWin::Workspace::performCompositing() () from /usr/lib/libkdeinit4_kwin.so
#12 0x00007fa1aa13d722 in KWin::Workspace::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeinit4_kwin.so
#13 0x00007fa1a66b2166 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fa1a66ae9b6 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007fa1a5821e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fa1a582836b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fa1a995c348 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0x00007fa1a669eecb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fa1a66cb9da in QTimerInfoList::activateTimers() () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007fa1a66cbbeb in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fa1a58d1c55 in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fa1a669d7f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007fa1a669dbbd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fa1a66a27fb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fa1aa15837b in kdemain () from /usr/lib/libkdeinit4_kwin.so
#26 0x00007fa1a9d9ed2d in __libc_start_main () from /lib/libc.so.6
#27 0x0000000000400789 in _start ()

Possible duplicates by query: bug 253698, bug 253664, bug 252999, bug 252853, bug 249159.

Reported using DrKonqi
Comment 1 Thomas Lübking 2010-11-04 13:34:23 UTC
upstream bug, update mesa or disable vsync'ing (advanced tab)
to work around, suspend compositing (shift+alt+f12) around changing _any_ window manager related settings...

randomly picking one of the dupes (they all are)

*** This bug has been marked as a duplicate of bug 241263 ***
Comment 2 Jesús Guerrero Botella 2010-11-04 17:08:30 UTC
Upgrading to mesa 7.9 seems to have helped indeed. Thank you.