Bug 300768

Summary: The composition with OpenGL (the default) has sent in KWin crashes in the past.
Product: [Plasma] kwin Reporter: enrico <68mediafire>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash Flags: mgraesslin: nouveau+
Priority: NOR    
Version: 4.8.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.4

Description enrico 2012-05-28 16:17:12 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.8.3 (4.8.3) "release 504"
Qt Version: 4.8.1
Operating System: Linux 3.1.10-1.9-desktop i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
The composition with OpenGL (the default) has sent in KWin crashes in the past.
This is probably due to a driver bug.

The crash can be reproduced every time.

-- Backtrace:
Application: Impostazioni di sistema (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6  0xb1d175ea in nv50_screen_fence_update (pscreen=0x8611220) at nv50_screen.c:269
#7  0xb1d59309 in nouveau_fence_update (screen=0x8611220, flushed=1 '\001') at nouveau_fence.c:141
#8  0xb1d19767 in nv50_default_flush_notify (chan=0x8613e90) at nv50_context.c:68
#9  0xb29b93a1 in nouveau_pushbuf_flush (chan=0x8613e90, min=0) at nouveau_pushbuf.c:276
#10 0xb29b9720 in FIRE_RING (chan=0x8613e90) at nouveau_pushbuf.h:101
#11 nouveau_grobj_free (grobj=0x86114f0) at nouveau_grobj.c:102
#12 0xb1d177ee in nv50_screen_destroy (pscreen=0x8611220) at nv50_screen.c:235
#13 0xb1cda595 in dri_destroy_screen_helper (screen=0x84c5198) at dri_screen.c:352
#14 0xb1cda63c in dri_destroy_screen (sPriv=0x84c57b0) at dri_screen.c:362
#15 0xb1cd60af in driDestroyScreen (psp=0x84c57b0) at ../common/dri_util.c:732
#16 0xb29401d4 in dri2_terminate (drv=0x84c7c28, disp=0x86126b8) at egl_dri2.c:582
#17 0xb29384f5 in eglTerminate (dpy=0x86126b8) at eglapi.c:351
#18 0xb29e3156 in KWin::CompositingPrefs::deleteEGLContext (this=0x83ed7ac) at /usr/src/debug/kde-workspace-4.8.3/kwin/compositingprefs.cpp:372
#19 0xb29e3494 in KWin::CompositingPrefs::detect (this=0x83ed7ac) at /usr/src/debug/kde-workspace-4.8.3/kwin/compositingprefs.cpp:173
#20 0xb29d6212 in KWin::KWinCompositingConfig::updateStatusUI (this=0x83ed678, compositingIsPossible=true) at /usr/src/debug/kde-workspace-4.8.3/kwin/kcmkwin/kwincompositing/main.cpp:369
#21 0xb29d8fe3 in KWin::KWinCompositingConfig::load (this=0x83ed678) at /usr/src/debug/kde-workspace-4.8.3/kwin/kcmkwin/kwincompositing/main.cpp:387
#22 0xb29d56e4 in KWin::KWinCompositingConfig::rearmGlSupport (this=0x83ed678) at /usr/src/debug/kde-workspace-4.8.3/kwin/kcmkwin/kwincompositing/main.cpp:303
#23 0xb6387a0f in QMetaObject::activate (sender=0x840d6c8, m=0xb73038a8, local_signal_index=2, argv=0xbfe0d4b8) at kernel/qobject.cpp:3556
#24 0xb70b1ebd in QAbstractButton::clicked (this=0x840d6c8, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#25 0xb6da3afd in QAbstractButtonPrivate::emitClicked (this=0x84116b0) at widgets/qabstractbutton.cpp:548
#26 0xb6da515b in QAbstractButtonPrivate::click (this=0x84116b0) at widgets/qabstractbutton.cpp:541
#27 0xb6da5416 in QAbstractButton::mouseReleaseEvent (this=0x840d6c8, e=0xbfe0db84) at widgets/qabstractbutton.cpp:1123
#28 0xb69d3a17 in QWidget::event (this=0x840d6c8, event=0xbfe0db84) at kernel/qwidget.cpp:8362
#29 0xb6da46c9 in QAbstractButton::event (this=0x840d6c8, e=0xbfe0db84) at widgets/qabstractbutton.cpp:1082
#30 0xb6e48ac8 in QPushButton::event (this=0x840d6c8, e=0xbfe0db84) at widgets/qpushbutton.cpp:683
#31 0xb6979504 in notify_helper (e=0xbfe0db84, receiver=0x840d6c8, this=0x8087400) at kernel/qapplication.cpp:4554
#32 QApplicationPrivate::notify_helper (this=0x8087400, receiver=0x840d6c8, e=0xbfe0db84) at kernel/qapplication.cpp:4526
#33 0xb697f33c in QApplication::notify (this=0x8087400, receiver=0x840d6c8, e=0xbfe0db84) at kernel/qapplication.cpp:4097
#34 0xb750fbf1 in KApplication::notify (this=0xbfe0e3ec, receiver=0x840d6c8, event=0xbfe0db84) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#35 0xb63711ae in QCoreApplication::notifyInternal (this=0xbfe0e3ec, receiver=0x840d6c8, event=0xbfe0db84) at kernel/qcoreapplication.cpp:876
#36 0xb697a4c0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#37 QApplicationPrivate::sendMouseEvent (receiver=0x840d6c8, event=0xbfe0db84, alienWidget=0x840d6c8, nativeWidget=0x80821a0, buttonDown=0xb730ccb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3165
#38 0xb6a036b4 in QETWidget::translateMouseEvent (this=0x80821a0, event=0xbfe0e03c) at kernel/qapplication_x11.cpp:4513
#39 0xb6a0227e in QApplication::x11ProcessEvent (this=0xbfe0e3ec, event=0xbfe0e03c) at kernel/qapplication_x11.cpp:3636
#40 0xb6a2d93c in x11EventSourceDispatch (s=0x8089fb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0xb5744e2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb5745560 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb57457fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb63a3e57 in QEventDispatcherGlib::processEvents (this=0x8060cd0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#45 0xb6a2d53a in QGuiEventDispatcherGlib::processEvents (this=0x8060cd0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0xb636fd1d in QEventLoop::processEvents (this=0xbfe0e344, flags=...) at kernel/qeventloop.cpp:149
#47 0xb636ffb9 in QEventLoop::exec (this=0xbfe0e344, flags=...) at kernel/qeventloop.cpp:204
#48 0xb637520a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#49 0xb6977374 in QApplication::exec () at kernel/qapplication.cpp:3815
#50 0x08050d18 in ?? ()
#51 0xb5fad003 in __libc_start_main () from /lib/libc.so.6
#52 0x08050d5d in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2012-05-29 05:48:44 UTC
1554ba408633397066d31c3d565c217b5a385fb8 causes the kcm to be build against OpenGL ES. We should consider to revert the change in 4.8.4
Comment 2 Martin Flöser 2012-05-31 06:41:47 UTC
Git commit 08c10bf6961dbb97e3ff0bc5ae14c3e746ca4980 by Martin Gräßlin.
Committed on 29/05/2012 at 07:59.
Pushed by graesslin into branch 'KDE/4.8'.

Fix compilation of KCMs to not link against GLES

If both GL and GLES are present, the KCMs are build against
GLES, which is causing trouble.

This fixes the changes introduced with
1554ba408633397066d31c3d565c217b5a385fb8.
FIXED-IN: 4.8.4
REVIEW: 105098

M  +2    -3    kwin/kcmkwin/kwincompositing/CMakeLists.txt
M  +2    -3    kwin/kcmkwin/kwinscreenedges/CMakeLists.txt

http://commits.kde.org/kde-workspace/08c10bf6961dbb97e3ff0bc5ae14c3e746ca4980