Bug 280723 - kwin crashes when invoking desktop effects in system configuration
Summary: kwin crashes when invoking desktop effects in system configuration
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 280955 281262 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-24 16:41 UTC by Sabourin Gilles
Modified: 2012-04-13 19:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sabourin Gilles 2011-08-24 16:41:07 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.7-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
kwin has crashed once when I selected desktop effects. After ATI driver update , 3D is not activated.

-- Backtrace:
Application: Configuration du système (systemsettings), signal: Aborted
[KCrash Handler]
#6  0x00007ff546907ab5 in raise () from /lib64/libc.so.6
#7  0x00007ff546908fb6 in abort () from /lib64/libc.so.6
#8  0x00007ff546900385 in __assert_fail () from /lib64/libc.so.6
#9  0x00007ff5461b45dd in _XReply (dpy=0x64d120, rep=0x7fff25829be0, extra=0, discard=0) at xcb_io.c:507
#10 0x00007ff53526ab16 in ?? () from /usr/X11R6/lib64/libGL.so.1
#11 0x00007ff535246890 in ?? () from /usr/X11R6/lib64/libGL.so.1
#12 0x00007ff53523fbba in glXQueryVersion () from /usr/X11R6/lib64/libGL.so.1
#13 0x00007ff53544835c in KWin::CompositingPrefs::detect (this=0x9d84f8) at /usr/src/debug/kdebase-workspace-4.6.0/kwin/compositingprefs.cpp:142
#14 0x00007ff535442c9f in KWin::KWinCompositingConfig::KWinCompositingConfig (this=0x9d8310, parent=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.0/kwin/kcmkwin/kwincompositing/main.cpp:152
#15 0x00007ff535447054 in KPluginFactory::createInstance<KWin::KWinCompositingConfig, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /usr/include/kpluginfactory.h:473
#16 0x00007ff5477bec72 in KPluginFactory::create (this=0x9d2560, iface=0x7ff548b2aec0 "KCModule", parentWidget=0x0, parent=0x7d85c0, args=..., keyword=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kdecore/util/kpluginfactory.cpp:203
#17 0x00007ff54901e1d3 in create<KCModule> (this=0x8934c0, parentWidget=0x0, parent=0x7d85c0, args=..., error=0x7fff2582cbe0) at /usr/src/debug/kdelibs-4.6.0/kdecore/util/kpluginfactory.h:527
#18 KService::createInstance<KCModule> (this=0x8934c0, parentWidget=0x0, parent=0x7d85c0, args=..., error=0x7fff2582cbe0) at /usr/src/debug/kdelibs-4.6.0/kdecore/services/kservice.h:557
#19 0x00007ff54900ec1a in createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x7d85c0, args=...) at /usr/src/debug/kdelibs-4.6.0/kdecore/services/kservice.h:534
#20 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x7d85c0, args=...) at /usr/src/debug/kdelibs-4.6.0/kutils/kcmoduleloader.cpp:89
#21 0x00007ff54900f319 in KCModuleProxyPrivate::loadModule (this=0x9c5090) at /usr/src/debug/kdelibs-4.6.0/kutils/kcmoduleproxy.cpp:106
#22 0x00007ff54900ff75 in KCModuleProxy::realModule (this=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kutils/kcmoduleproxy.cpp:83
#23 0x00007ff548de5cec in ModuleView::stateChanged (this=0x7f87d0) at /usr/src/debug/kdebase-workspace-4.6.0/systemsettings/core/ModuleView.cpp:349
#24 0x00007ff548de6bd8 in ModuleView::qt_metacall (this=0x7f87d0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff2582d240) at /usr/src/debug/kdebase-workspace-4.6.0/build/systemsettings/core/ModuleView.moc:99
#25 0x00007ff5470c1def in QMetaObject::activate (sender=0x8eb6e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2582d240) at kernel/qobject.cpp:3272
#26 0x00007ff5489303d8 in KPageWidget::currentPageChanged (this=<value optimized out>, _t1=0x858ec0, _t2=0x0) at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kpagewidget.moc:96
#27 0x00007ff5489eccf8 in KPageWidget::qt_metacall (this=0x8eb6e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2582d360) at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kpagewidget.moc:84
#28 0x00007ff5470c1def in QMetaObject::activate (sender=0x8eb6e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2582d360) at kernel/qobject.cpp:3272
#29 0x00007ff54892f617 in KPageView::currentPageChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kpageview.moc:140
#30 0x00007ff5489eca83 in KPageViewPrivate::_k_pageSelected (this=0x842bb0, index=<value optimized out>, previous=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kdeui/paged/kpageview.cpp:244
#31 0x00007ff5489ecc42 in KPageView::qt_metacall (this=0x8eb6e0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff2582d580) at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kpageview.moc:100
#32 0x00007ff5489eccc0 in KPageWidget::qt_metacall (this=0x8eb6e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2582d580) at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kpagewidget.moc:76
#33 0x00007ff5470c1def in QMetaObject::activate (sender=0x822350, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2582d580) at kernel/qobject.cpp:3272
#34 0x00007ff54821d1a7 in QItemSelectionModel::selectionChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#35 0x00007ff548223d67 in QItemSelectionModel::emitSelectionChanged (this=0x822350, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1525
#36 0x00007ff548223ff7 in QItemSelectionModel::select (this=0x822350, selection=<value optimized out>, command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1088
#37 0x00007ff54821ed01 in QItemSelectionModel::select (this=0x822350, index=<value optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:976
#38 0x00007ff54821d407 in QItemSelectionModel::setCurrentIndex (this=0x822350, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1155
#39 0x00007ff54892eef0 in KPageViewPrivate::_k_rebuildGui (this=0x842bb0) at /usr/src/debug/kdelibs-4.6.0/kdeui/paged/kpageview.cpp:70
#40 0x00007ff5489ce7e5 in KPageViewPrivate::_k_modelChanged (this=0x842bb0) at /usr/src/debug/kdelibs-4.6.0/kdeui/paged/kpageview.cpp:190
#41 0x00007ff5489ecc52 in KPageView::qt_metacall (this=0x8eb6e0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff2582daa0) at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kpageview.moc:99
#42 0x00007ff5489eccc0 in KPageWidget::qt_metacall (this=0x8eb6e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2582daa0) at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kpagewidget.moc:76
#43 0x00007ff5470c1def in QMetaObject::activate (sender=0x8891c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#44 0x00007ff5489a707b in KPageWidgetModel::addPage (this=0x8891c0, item=0x858ec0) at /usr/src/debug/kdelibs-4.6.0/kdeui/paged/kpagewidgetmodel.cpp:401
#45 0x00007ff548de6445 in ModuleView::addModule (this=0x7f87d0, module=0x815a18) at /usr/src/debug/kdebase-workspace-4.6.0/systemsettings/core/ModuleView.cpp:190
#46 0x00007ff548de69a0 in ModuleView::loadModule (this=0x7f87d0, menuItem=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.0/systemsettings/core/ModuleView.cpp:144
#47 0x00007ff53578bb70 in IconMode::changeModule (this=0x8f10b0, activeModule=...) at /usr/src/debug/kdebase-workspace-4.6.0/systemsettings/icons/IconMode.cpp:133
#48 0x00007ff53578bed1 in IconMode::qt_metacall (this=0x8f10b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2582dec0) at /usr/src/debug/kdebase-workspace-4.6.0/build/systemsettings/icons/IconMode.moc:80
#49 0x00007ff5470c1def in QMetaObject::activate (sender=0x88a5b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2582dec0) at kernel/qobject.cpp:3272
#50 0x00007ff5481ca495 in QAbstractItemView::activated (this=<value optimized out>, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:345
#51 0x00007ff5481ca985 in QAbstractItemView::mouseReleaseEvent (this=0x88a5b0, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1796
#52 0x00007ff5481e56be in QListView::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at itemviews/qlistview.cpp:796
#53 0x00007ff5489f1af2 in KCategorizedView::mouseReleaseEvent (this=0x88a5b0, event=0x7fff2582eef0) at /usr/src/debug/kdelibs-4.6.0/kdeui/itemviews/kcategorizedview.cpp:1034
#54 0x00007ff547d13538 in QWidget::event (this=0x88a5b0, event=0x7fff2582eef0) at kernel/qwidget.cpp:8200
#55 0x00007ff5480b7906 in QFrame::event (this=0x88a5b0, e=0x7fff2582eef0) at widgets/qframe.cpp:557
#56 0x00007ff5481c7c23 in QAbstractItemView::viewportEvent (this=0x88a5b0, event=0x7fff2582eef0) at itemviews/qabstractitemview.cpp:1619
#57 0x00007ff5470acd87 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x7d4720, event=0x7fff2582eef0) at kernel/qcoreapplication.cpp:847
#58 0x00007ff547cc1ce1 in QApplicationPrivate::notify_helper (this=0x652420, receiver=0x7d4720, e=0x7fff2582eef0) at kernel/qapplication.cpp:4441
#59 0x00007ff547ccaaac in QApplication::notify (this=<value optimized out>, receiver=0x7d4720, e=0x7fff2582eef0) at kernel/qapplication.cpp:4006
#60 0x00007ff5489219e6 in KApplication::notify (this=0x7fff2582fc20, receiver=0x7d4720, event=0x7fff2582eef0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#61 0x00007ff5470acbfc in QCoreApplication::notifyInternal (this=0x7fff2582fc20, receiver=0x7d4720, event=0x7fff2582eef0) at kernel/qcoreapplication.cpp:732
#62 0x00007ff547cc2d25 in sendEvent (receiver=0x7d4720, event=0x7fff2582eef0, alienWidget=0x7d4720, nativeWidget=0x79a890, buttonDown=0x7ff548791178, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#63 QApplicationPrivate::sendMouseEvent (receiver=0x7d4720, event=0x7fff2582eef0, alienWidget=0x7d4720, nativeWidget=0x79a890, buttonDown=0x7ff548791178, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#64 0x00007ff547d40e08 in QETWidget::translateMouseEvent (this=0x79a890, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#65 0x00007ff547d3f4c9 in QApplication::x11ProcessEvent (this=0x7fff2582fc20, event=0x7fff2582f850) at kernel/qapplication_x11.cpp:3564
#66 0x00007ff547d670f2 in x11EventSourceDispatch (s=0x6493b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x00007ff5445adbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#68 0x00007ff5445ae3b0 in ?? () from /lib64/libglib-2.0.so.0
#69 0x00007ff5445ae650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#70 0x00007ff5470d791f in QEventDispatcherGlib::processEvents (this=0x61ee90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#71 0x00007ff547d66d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007ff5470ac052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007ff5470ac265 in QEventLoop::exec (this=0x7fff2582fb70, flags=...) at kernel/qeventloop.cpp:201
#74 0x00007ff5470b06ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#75 0x00000000004121f9 in main (argc=5, argv=0x7fff2582fee8) at /usr/src/debug/kdebase-workspace-4.6.0/systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-08-25 13:35:51 UTC
Driver bug.
KWin should deny GL compositing from now on (so what you see is expected)
Current versions (4.7) have a GUI way to rearm this lowlevel protection - and this is all we can do in this regard. Sorry.

To rearm compositing support by hand, quit the config dialog, run konsole and call:
kwriteconfig --file kwinrc --group Compositing --key CheckIsSafe true
kwriteconfig --file kwinrc --group Compositing --key OpenGLIsUnsafe false

If you're using fglrx, you can safely expect that the next attempt to activate GL compositing will crash kwin again.
Try xf86-video-ati (the OSS radeon driver) instead.
Comment 2 Sabourin Gilles 2011-08-25 19:13:14 UTC
Thanks for your quick answer, Thomas. I tried the latest ATI/AMD fglrx 8.872 with my openSUSE 11.4 but this is buggy. I'm afraid I won't be able to use ATI OSS driver since my recent HD6870 is not supported.

But I'm patient! I'll be waiting.
Comment 3 Martin Flöser 2011-08-28 20:02:16 UTC
*** Bug 280955 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Lübking 2011-09-03 12:49:09 UTC
*** Bug 281262 has been marked as a duplicate of this bug. ***
Comment 5 Martin Flöser 2012-04-13 19:24:03 UTC
Bulk change: move all KWin kcm bugs to product kwin