Bug 299717 - System Setting crash when I try to open Effects settings
Summary: System Setting crash when I try to open Effects settings
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.8.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 300722 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-10 04:47 UTC by RussianNeuroMancer
Modified: 2012-07-03 12:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9
Sentry Crash Report:
mgraesslin: Catalyst+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RussianNeuroMancer 2012-05-10 04:47:56 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

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

System Setting crash every time for me when I try to open Effects settings. I doesn't get this crash before upgrade to KDE 4.8.3, but this may be unrelated.

The crash can be reproduced every time.

-- Backtrace:
Application: Параметры системы (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb9901a9780 (LWP 2451))]

Thread 2 (Thread 0x7fb979d59700 (LWP 2468)):
#0  0x00007fb98d63eb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb98ae26ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb98ae27124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb98ddbf426 in QEventDispatcherGlib::processEvents (this=0x7fb9740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb98dd8ec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb98dd8eed7 in QEventLoop::exec (this=0x7fb979d58dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb98dc8dfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fb98dd6e9ff in QInotifyFileSystemWatcherEngine::run (this=0x1e96d40) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb98dc90fcb in QThreadPrivate::start (arg=0x1e96d40) at thread/qthread_unix.cpp:298
#9  0x00007fb98b2f3e9a in start_thread (arg=0x7fb979d59700) at pthread_create.c:308
#10 0x00007fb98d64a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb9901a9780 (LWP 2451)):
[KCrash Handler]
#6  0x00007fb972963f0b in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#7  0x00007fb9731fe6ea in eglReleaseThread () from /usr/lib/fglrx/dri/fglrx_dri.so
#8  0x00007fb97934913b in KWin::CompositingPrefs::deleteEGLContext (this=0x2011e98) at ../../../../kwin/compositingprefs.cpp:374
#9  0x00007fb9793493e4 in KWin::CompositingPrefs::detect (this=0x2011e98) at ../../../../kwin/compositingprefs.cpp:174
#10 0x00007fb97933db2c in KWin::KWinCompositingConfig::updateStatusUI (this=0x2011c30, compositingIsPossible=<optimized out>) at ../../../../kwin/kcmkwin/kwincompositing/main.cpp:369
#11 0x00007fb979340317 in KWin::KWinCompositingConfig::load (this=0x2011c30) at ../../../../kwin/kcmkwin/kwincompositing/main.cpp:387
#12 0x00007fb979342260 in KWin::KWinCompositingConfig::KWinCompositingConfig (this=0x2011c30, parent=<optimized out>) at ../../../../kwin/kcmkwin/kwincompositing/main.cpp:140
#13 0x00007fb979347a84 in KPluginFactory::createInstance<KWin::KWinCompositingConfig, QWidget> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#14 0x00007fb98e582351 in KPluginFactory::create (this=0x1b2f6e0, iface=0x7fb98f8be700 "KCModule", parentWidget=0x0, parent=0x1f9c260, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#15 0x00007fb98fd9f708 in create<KCModule> (parent=0x1f9c260, this=0x1b2f6e0, args=..., keyword=..., parentWidget=0x0) at ../../kdecore/util/kpluginfactory.h:531
#16 createInstance<KCModule> (error=0x7fff113c9840, args=..., parent=0x1f9c260, parentWidget=0x0, this=0x1b59890) at ../../kdecore/services/kservice.h:559
#17 createInstance<KCModule> (error=0x7fff113c9840, args=..., parent=0x1f9c260, this=0x1b59890) at ../../kdecore/services/kservice.h:536
#18 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x1f9c260, args=...) at ../../kutils/kcmoduleloader.cpp:89
#19 0x00007fb98fda45f8 in KCModuleProxyPrivate::loadModule (this=0x1fb4df0) at ../../kutils/kcmoduleproxy.cpp:106
#20 0x00007fb98fda5315 in KCModuleProxy::realModule (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:83
#21 0x00007fb98fda5352 in KCModuleProxy::showEvent (this=0x1f9c260, ev=0x7fff113ca6d0) at ../../kutils/kcmoduleproxy.cpp:197
#22 0x00007fb98ea533f5 in QWidget::event (this=0x1f9c260, event=0x7fff113ca6d0) at kernel/qwidget.cpp:8569
#23 0x00007fb98ea02894 in notify_helper (e=0x7fff113ca6d0, receiver=0x1f9c260, this=0x17a70d0) at kernel/qapplication.cpp:4559
#24 QApplicationPrivate::notify_helper (this=0x17a70d0, receiver=0x1f9c260, e=0x7fff113ca6d0) at kernel/qapplication.cpp:4531
#25 0x00007fb98ea07713 in QApplication::notify (this=0x7fff113cd1b0, receiver=0x1f9c260, e=0x7fff113ca6d0) at kernel/qapplication.cpp:4420
#26 0x00007fb98f73bbb6 in KApplication::notify (this=0x7fff113cd1b0, receiver=0x1f9c260, event=0x7fff113ca6d0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007fb98dd8fe9c in QCoreApplication::notifyInternal (this=0x7fff113cd1b0, receiver=0x1f9c260, event=0x7fff113ca6d0) at kernel/qcoreapplication.cpp:876
#28 0x00007fb98ea55810 in sendEvent (event=0x7fff113ca6d0, receiver=0x1f9c260) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QWidgetPrivate::show_helper (this=0x1fb4eb0) at kernel/qwidget.cpp:7542
#30 0x00007fb98ea55607 in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7850
#31 0x00007fb98ea556fd in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7489
#32 0x00007fb98ea55b02 in QWidget::setVisible (this=0x1f9ac30, visible=<optimized out>) at kernel/qwidget.cpp:7764
#33 0x00007fb98ea55676 in show (this=0x1f9ac30) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#34 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7852
#35 0x00007fb98ea556fd in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7489
#36 0x00007fb98ea55b02 in QWidget::setVisible (this=0x1f9c2a0, visible=<optimized out>) at kernel/qwidget.cpp:7764
#37 0x00007fb98ea37389 in show (this=0x1f9c2a0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#38 QStackedLayout::setCurrentIndex (this=0x1bfeca0, index=1) at kernel/qstackedlayout.cpp:311
#39 0x00007fb98f76b387 in KPageViewPrivate::_k_pageSelected (this=0x1bfdd60, index=..., previous=...) at ../../kdeui/paged/kpageview.cpp:235
#40 0x00007fb98dda4281 in QMetaObject::activate (sender=0x1fa66c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff113cabc0) at kernel/qobject.cpp:3547
#41 0x00007fb98ef7f8b7 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#42 0x00007fb98ef85714 in QItemSelectionModel::emitSelectionChanged (this=0x1fa66c0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#43 0x00007fb98ef866a1 in QItemSelectionModel::select (this=0x1fa66c0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#44 0x00007fb98ef818ea in QItemSelectionModel::select (this=0x1fa66c0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#45 0x00007fb98ef7fb27 in QItemSelectionModel::setCurrentIndex (this=0x1fa66c0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#46 0x00007fb98f76a0d7 in KPageViewPrivate::_k_rebuildGui (this=0x1bfdd60) at ../../kdeui/paged/kpageview.cpp:70
#47 0x00007fb98f76b0d5 in KPageViewPrivate::_k_modelChanged (this=0x1bfdd60) at ../../kdeui/paged/kpageview.cpp:190
#48 0x00007fb98dda4281 in QMetaObject::activate (sender=0x1c4fb20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#49 0x00007fb98f770450 in KPageWidgetModel::addPage (this=0x1c4fb20, item=0x1e9e7c0) at ../../kdeui/paged/kpagewidgetmodel.cpp:401
#50 0x00007fb98fb7ddbc in ModuleView::addModule (this=0x1bf34e0, module=0x1bba4f8) at ../../../systemsettings/core/ModuleView.cpp:191
#51 0x00007fb98fb7e232 in ModuleView::loadModule (this=0x1bf34e0, menuItem=...) at ../../../systemsettings/core/ModuleView.cpp:144
#52 0x00007fb97ada9678 in IconMode::changeModule (this=0x1c28730, activeModule=...) at ../../../systemsettings/icons/IconMode.cpp:134
#53 0x00007fb98dda4281 in QMetaObject::activate (sender=0x198b050, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff113cb590) at kernel/qobject.cpp:3547
#54 0x00007fb98ef28b05 in QAbstractItemView::activated (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:362
#55 0x00007fb98ef2900f in QAbstractItemView::mouseReleaseEvent (this=0x198b050, event=0x7fff113cc4d0) at itemviews/qabstractitemview.cpp:1821
#56 0x00007fb98ef47f8e in QListView::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at itemviews/qlistview.cpp:799
#57 0x00007fb98f70ef8c in KCategorizedView::mouseReleaseEvent (this=0x198b050, event=0x7fff113cc4d0) at ../../kdeui/itemviews/kcategorizedview.cpp:1059
#58 0x00007fb98ea53144 in QWidget::event (this=0x198b050, event=0x7fff113cc4d0) at kernel/qwidget.cpp:8362
#59 0x00007fb98ee133b6 in QFrame::event (this=0x198b050, e=0x7fff113cc4d0) at widgets/qframe.cpp:557
#60 0x00007fb98ef2789b in QAbstractItemView::viewportEvent (this=0x198b050, event=0x7fff113cc4d0) at itemviews/qabstractitemview.cpp:1644
#61 0x00007fb98dd90028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1bfb7c0, event=0x7fff113cc4d0) at kernel/qcoreapplication.cpp:986
#62 0x00007fb98ea0285f in notify_helper (e=0x7fff113cc4d0, receiver=0x1bfb7c0, this=0x17a70d0) at kernel/qapplication.cpp:4555
#63 QApplicationPrivate::notify_helper (this=0x17a70d0, receiver=0x1bfb7c0, e=0x7fff113cc4d0) at kernel/qapplication.cpp:4531
#64 0x00007fb98ea080bf in QApplication::notify (this=<optimized out>, receiver=0x1bfb7c0, e=0x7fff113cc4d0) at kernel/qapplication.cpp:4102
#65 0x00007fb98f73bbb6 in KApplication::notify (this=0x7fff113cd1b0, receiver=0x1bfb7c0, event=0x7fff113cc4d0) at ../../kdeui/kernel/kapplication.cpp:311
#66 0x00007fb98dd8fe9c in QCoreApplication::notifyInternal (this=0x7fff113cd1b0, receiver=0x1bfb7c0, event=0x7fff113cc4d0) at kernel/qcoreapplication.cpp:876
#67 0x00007fb98ea03862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#68 QApplicationPrivate::sendMouseEvent (receiver=0x1bfb7c0, event=0x7fff113cc4d0, alienWidget=0x1bfb7c0, nativeWidget=0x1798c10, buttonDown=0x1bfb7c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#69 0x00007fb98ea82bf5 in QETWidget::translateMouseEvent (this=0x1798c10, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#70 0x00007fb98ea81bae in QApplication::x11ProcessEvent (this=0x7fff113cd1b0, event=0x7fff113ccda0) at kernel/qapplication_x11.cpp:3732
#71 0x00007fb98eaab0d2 in x11EventSourceDispatch (s=0x17a86f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#72 0x00007fb98ae26c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007fb98ae27060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007fb98ae27124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007fb98ddbf3bf in QEventDispatcherGlib::processEvents (this=0x17704b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#76 0x00007fb98eaaad5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x00007fb98dd8ec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#78 0x00007fb98dd8eed7 in QEventLoop::exec (this=0x7fff113cd140, flags=...) at kernel/qeventloop.cpp:204
#79 0x00007fb98dd93f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#80 0x000000000040a7e5 in main (argc=5, argv=0x7fff113cd478) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 RussianNeuroMancer 2012-05-10 04:52:35 UTC
This maybe related: I run KWin with KWIN_DIRECT_GL=1.
Comment 2 Jekyll Wu 2012-05-27 20:53:40 UTC
*** Bug 300722 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Lübking 2012-05-27 21:32:20 UTC
CompositingPrefs (ie. all OpenGL testing) was dropped from the kcm for 4.9
crash was in fglrx dri code, so yes:  KWIN_DIRECT_GL=1 *is related*
Comment 4 Sergey Mescherin 2012-05-28 07:08:11 UTC
Um, how can I fix this behaviour? Unfortunately, I don't know what does KWIN_DIRECT_GL=1 mean
Comment 5 Thomas Lübking 2012-05-28 07:19:04 UTC
That is an environment variable forcing the usage of direct rendering (which was denied for fglrx for being far too crashy in the past) - iff you experience *precisely* this crash (with the same backtrace!) you only have to not export it, direct rendering should be disabled automatically then.
If it still crashes, try exporting LIBGL_ALWAYS_INDIRECT=1 instead (such can be done eg. by scripts in /etc/profile or ~/.kde/env - KWIN_DIRECT_GL is stronger than LIBGL_ALWAYS_INDIRECT so if it shows up with "env | grep KWIN_DIRECT_GL" and you don't find where it's set, you'd have to explicitly disable it by exporting KWIN_DIRECT_GL=0 later on)
Comment 6 Sergey Mescherin 2012-05-28 19:06:43 UTC
Thank you, LIBGL_ALWAYS_INDIRECT=1 did the trick. Now Desktop Effects settings are opening well. Also, videos now run smoothly.