Bug 374648

Summary: Systemsettting5 crash when exiting Screen Locking tab
Product: [Applications] systemsettings Reporter: Marian Kyral <mkyral>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: heri+kde, mkyral
Priority: NOR Keywords: drkonqi
Version: 5.8.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Marian Kyral 2017-01-06 18:29:07 UTC
Application: systemsettings5 (5.8.4)
 (Compiled from sources)
Qt Version: 5.7.1
Frameworks Version: 5.29.0
Operating System: Linux 4.9.0-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
I started systemsettings5, clicked to Desktop behavior and then Screen Locking tab. Then I wanted to go back, so I clicked to "All Settings" and program crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Nastavení systému (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f69e750b740 (LWP 24120))]

Thread 4 (Thread 0x7f69e46c6700 (LWP 24122)):
#0  0x00007f69f0c793ed in poll () from /lib64/libc.so.6
#1  0x00007f69ee9928f2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007f69ee9946df in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f69e725f2a9 in ?? ()
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f69d1184700 (LWP 24136)):
#0  0x00007f69f0c793ed in poll () from /lib64/libc.so.6
#1  0x00007f69ec417fec in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f69ec4180fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f69f1526e2c in QEventDispatcherGlib::processEvents (this=0x7f69cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f69f14da46a in QEventLoop::exec (this=this@entry=0x7f69d1183e60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f69f13321a4 in QThread::exec (this=this@entry=0x25f5a30) at thread/qthread.cpp:507
#6  0x00007f69efccd9f5 in QQmlThreadPrivate::run (this=0x25f5a30) at qml/ftw/qqmlthread.cpp:147
#7  0x00007f69f133673c in QThreadPrivate::start (arg=0x25f5a30) at thread/qthread_unix.cpp:368
#8  0x00007f69ee118434 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f69f0c8250d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f69bffff700 (LWP 24248)):
#0  0x00007f69d99f0e72 in ?? () from /usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#1  0x00007f69d9a620c5 in ?? () from /usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#2  0x00007f69f443a885 in _dl_fini () from /lib64/ld-linux-x86-64.so.2
#3  0x00007f69f0bceb78 in __run_exit_handlers () from /lib64/libc.so.6
#4  0x00007f69f0bcebc5 in exit () from /lib64/libc.so.6
#5  0x00007f69eebf3be5 in _XDefaultIOError () from /usr/lib64/libX11.so.6
#6  0x00007f69e7257ede in ?? ()
#7  0x0000000000000002 in ?? ()
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f69e750b740 (LWP 24120)):
[KCrash Handler]
#6  QV4::Value::as<QV4::QObjectWrapper> (this=0x3474be0) at jsruntime/qv4value_p.h:428
#7  QV4::Value::as<QV4::QObjectWrapper> (this=0x3474be0) at jsruntime/qv4value_p.h:434
#8  QV4::WeakValue::free (this=this@entry=0x313f8d0) at jsruntime/qv4persistent.cpp:425
#9  0x00007f69efc0ba34 in QV4::WeakValue::clear (this=0x313f8d0) at ../../include/QtQml/5.7.1/QtQml/private/../../../../../src/qml/jsruntime/qv4persistent_p.h:187
#10 QV4::QObjectWrapper::destroyObject (this=<optimized out>, lastCall=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1051
#11 0x00007f69efa93e15 in QV4::MemoryManager::sweep (this=this@entry=0x2af3a80, lastSweep=lastSweep@entry=true) at memory/qv4mm.cpp:440
#12 0x00007f69efa95107 in QV4::MemoryManager::~MemoryManager (this=0x2af3a80, __in_chrg=<optimized out>) at memory/qv4mm.cpp:642
#13 0x00007f69efb79b06 in QV4::ExecutionEngine::~ExecutionEngine (this=0x2af3910, __in_chrg=<optimized out>) at jsruntime/qv4engine.cpp:452
#14 0x00007f69efccf44b in QV8Engine::~QV8Engine (this=0x2af38a0, __in_chrg=<optimized out>) at qml/v8/qv8engine.cpp:167
#15 0x00007f69efccf569 in QV8Engine::~QV8Engine (this=0x2af38a0, __in_chrg=<optimized out>) at qml/v8/qv8engine.cpp:168
#16 0x00007f69efb16f76 in QJSEngine::~QJSEngine (this=0x2af1780, __in_chrg=<optimized out>) at jsapi/qjsengine.cpp:308
#17 0x00007f69efc38c6d in QQmlEngine::~QQmlEngine (this=0x2af1780, __in_chrg=<optimized out>) at qml/qqmlengine.cpp:950
#18 0x00007f69efc38d09 in QQmlEngine::~QQmlEngine (this=0x2af1780, __in_chrg=<optimized out>) at qml/qqmlengine.cpp:972
#19 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x2af2480) at kernel/qobject.cpp:1970
#20 0x00007f69f1509f93 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1041
#21 0x00007f69f2413b83 in QWindow::~QWindow (this=0x2af1950, __in_chrg=<optimized out>) at kernel/qwindow.cpp:209
#22 0x00007f69effad3a4 in QQuickWindow::~QQuickWindow (this=0x2af1950, __in_chrg=<optimized out>) at items/qquickwindow.cpp:1229
#23 0x00007f69f00608a9 in QQuickView::~QQuickView (this=0x2af1950, __in_chrg=<optimized out>) at items/qquickview.cpp:211
#24 0x00007f69f297bcd5 in QWindowContainer::~QWindowContainer (this=0x2b2da40, __in_chrg=<optimized out>) at kernel/qwindowcontainer.cpp:241
#25 0x00007f69f297bcf9 in QWindowContainer::~QWindowContainer (this=0x2b2da40, __in_chrg=<optimized out>) at kernel/qwindowcontainer.cpp:242
#26 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x27a1120) at kernel/qobject.cpp:1970
#27 0x00007f69f2957b26 in QWidget::~QWidget (this=0x31898c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#28 0x00007f69f2958719 in QWidget::~QWidget (this=0x31898c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1714
#29 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x2c09180) at kernel/qobject.cpp:1970
#30 0x00007f69f2957b26 in QWidget::~QWidget (this=0x2bb09d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#31 0x00007f69f2958719 in QWidget::~QWidget (this=0x2bb09d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1714
#32 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x2be4b60) at kernel/qobject.cpp:1970
#33 0x00007f69f2957b26 in QWidget::~QWidget (this=0x278f890, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#34 0x00007f69f2aa7849 in QStackedWidget::~QStackedWidget (this=0x278f890, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:149
#35 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x32b2840) at kernel/qobject.cpp:1970
#36 0x00007f69f2957b26 in QWidget::~QWidget (this=0x2be0e30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#37 0x00007f69f2ab6889 in QTabWidget::~QTabWidget (this=0x2be0e30, __in_chrg=<optimized out>) at widgets/qtabwidget.cpp:363
#38 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x343ac80) at kernel/qobject.cpp:1970
#39 0x00007f69f2957b26 in QWidget::~QWidget (this=0x313f870, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#40 0x00007f69c79f8d4e in KDecoration2::Configuration::ConfigurationForm::~ConfigurationForm (this=0x313f870, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.8.4/work/kwin-5.8.4/kcmkwin/kwindecoration/kcm.h:41
#41 KDecoration2::Configuration::ConfigurationForm::~ConfigurationForm (this=0x313f870, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.8.4/work/kwin-5.8.4/kcmkwin/kwindecoration/kcm.h:41
#42 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x339f070) at kernel/qobject.cpp:1970
#43 0x00007f69f2957b26 in QWidget::~QWidget (this=0x2aec1b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#44 0x00007f69f3616b7d in KCModule::~KCModule() () from /usr/lib64/libKF5ConfigWidgets.so.5
#45 0x00007f69c79f3881 in KDecoration2::Configuration::ConfigurationModule::~ConfigurationModule (this=0x2aec1b0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.8.4/work/kwin-5.8.4/kcmkwin/kwindecoration/kcm.h:47
#46 KDecoration2::Configuration::ConfigurationModule::~ConfigurationModule (this=0x2aec1b0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.8.4/work/kwin-5.8.4/kcmkwin/kwindecoration/kcm.h:47
#47 0x00007f69f3feace4 in KCModuleProxy::deleteClient() () from /usr/lib64/libKF5KCMUtils.so.5
#48 0x00007f69f3feadc6 in KCModuleProxy::~KCModuleProxy() () from /usr/lib64/libKF5KCMUtils.so.5
#49 0x00007f69f3feaec9 in KCModuleProxy::~KCModuleProxy() () from /usr/lib64/libKF5KCMUtils.so.5
#50 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x343c610) at kernel/qobject.cpp:1970
#51 0x00007f69f2957b26 in QWidget::~QWidget (this=0x343b150, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#52 0x00007f69f2958719 in QWidget::~QWidget (this=0x343b150, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1714
#53 0x00007f69f15029ac in QObjectPrivate::deleteChildren (this=this@entry=0x343c370) at kernel/qobject.cpp:1970
#54 0x00007f69f2957b26 in QWidget::~QWidget (this=0x27a5db0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#55 0x00007f69f2ad49d9 in QScrollArea::~QScrollArea (this=0x27a5db0, __in_chrg=<optimized out>) at widgets/qscrollarea.cpp:174
#56 0x00007f69f2f29383 in KPageWidgetItem::~KPageWidgetItem() () from /usr/lib64/libKF5WidgetsAddons.so.5
#57 0x00007f69f2f29e84 in PageItem::~PageItem() () from /usr/lib64/libKF5WidgetsAddons.so.5
#58 0x00007f69f2f2abdd in KPageWidgetModel::removePage(KPageWidgetItem*) () from /usr/lib64/libKF5WidgetsAddons.so.5
#59 0x00007f69f42230cd in ModuleView::closeModules() () from /usr/lib64/libsystemsettingsview.so.3
#60 0x00007f69d8bed33e in IconMode::backToOverview() () from /usr/lib64/qt5/plugins/icon_mode.so
#61 0x00007f69f150178f in QMetaObject::activate (sender=sender@entry=0x24873e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd5dd0d200) at kernel/qobject.cpp:3740
#62 0x00007f69f1502397 in QMetaObject::activate (sender=sender@entry=0x24873e0, m=m@entry=0x7f69f2e07780 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd5dd0d200) at kernel/qobject.cpp:3602
#63 0x00007f69f290cc02 in QAction::triggered (this=this@entry=0x24873e0, _t1=false) at .moc/moc_qaction.cpp:369
#64 0x00007f69f290f82d in QAction::activate (this=0x24873e0, event=<optimized out>) at kernel/qaction.cpp:1170
#65 0x00007f69f29ff4dd in QAbstractButtonPrivate::click (this=0x2550500) at widgets/qabstractbutton.cpp:393
#66 0x00007f69f29ff704 in QAbstractButton::mouseReleaseEvent (this=0x2550430, e=0x7ffd5dd0d720) at widgets/qabstractbutton.cpp:1009
#67 0x00007f69f2acecda in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:616
#68 0x00007f69f295cac8 in QWidget::event (this=0x2550430, event=0x7ffd5dd0d720) at kernel/qwidget.cpp:9161
#69 0x00007f69f2a00973 in QAbstractButton::event (this=this@entry=0x2550430, e=e@entry=0x7ffd5dd0d720) at widgets/qabstractbutton.cpp:966
#70 0x00007f69f2acedb9 in QToolButton::event (this=0x2550430, event=0x7ffd5dd0d720) at widgets/qtoolbutton.cpp:982
#71 0x00007f69f2913dfc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x2550430, e=0x7ffd5dd0d720) at kernel/qapplication.cpp:3799
#72 0x00007f69f291bc43 in QApplication::notify (this=<optimized out>, receiver=0x2550430, e=0x7ffd5dd0d720) at kernel/qapplication.cpp:3273
#73 0x00007f69f14db790 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x2550430, event=event@entry=0x7ffd5dd0d720) at kernel/qcoreapplication.cpp:988
#74 0x00007f69f291a831 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#75 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2550430, event=event@entry=0x7ffd5dd0d720, alienWidget=alienWidget@entry=0x2550430, nativeWidget=0x227f420, buttonDown=buttonDown@entry=0x7f69f2e36620 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#76 0x00007f69f2978f4b in QWidgetWindow::handleMouseEvent (this=this@entry=0x22b1070, event=event@entry=0x7ffd5dd0db30) at kernel/qwidgetwindow.cpp:617
#77 0x00007f69f297b5c3 in QWidgetWindow::event (this=0x22b1070, event=0x7ffd5dd0db30) at kernel/qwidgetwindow.cpp:239
#78 0x00007f69f2913dfc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x22b1070, e=0x7ffd5dd0db30) at kernel/qapplication.cpp:3799
#79 0x00007f69f291b2e0 in QApplication::notify (this=0x7ffd5dd0e000, receiver=0x22b1070, e=0x7ffd5dd0db30) at kernel/qapplication.cpp:3556
#80 0x00007f69f14db790 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x22b1070, event=event@entry=0x7ffd5dd0db30) at kernel/qcoreapplication.cpp:988
#81 0x00007f69f2409605 in QCoreApplication::sendSpontaneousEvent (event=0x7ffd5dd0db30, receiver=0x22b1070) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#82 QGuiApplicationPrivate::processMouseEvent (e=0x3827a40) at kernel/qguiapplication.cpp:1903
#83 0x00007f69f240b575 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x3827a40) at kernel/qguiapplication.cpp:1687
#84 0x00007f69f23ec1e3 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:659
#85 0x00007f69e728f040 in ?? ()
#86 0x0000000000000000 in ?? ()

Possible duplicates by query: bug 374534.

Reported using DrKonqi
Comment 1 Marian Kyral 2017-01-06 18:41:36 UTC
Created attachment 103239 [details]
New crash information added by DrKonqi

systemsettings5 (5.8.4) using Qt 5.7.1

I can confirm this.

I terminal, I can see following output:

$ LANG=C systemsettings5 
Fontconfig error: "local.conf", line 13: junk after document element
Plugin changed to:  "org.kde.breeze"
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib64/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead.
Factory:  true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
file:///usr/share/kwin/kcm_kwindecoration/Buttons.qml:42:16: Unable to assign [undefined] to QColor
file:///usr/share/kwin/kcm_kwindecoration/Buttons.qml:54:24: Unable to assign [undefined] to QColor
file:///usr/share/kwin/kcm_kwindecoration/Buttons.qml:149: ReferenceError: iconLabel is not defined
file:///usr/share/kwin/kcm_kwindecoration/Buttons.qml:197:24: Unable to assign [undefined] to QColor
Plugin changed to:  "org.kde.kwin.aurorae"
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib64/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead.
Factory:  true
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
Setting  width : -8
Setting  height : -30
Setting  width : -8
Setting  height : -30
Setting  width : 272
Setting  height : 145
Setting  width : 272
Setting  height : 145
Setting  caption : "Plastik"
Setting  width : 262
Setting  width : 222
Setting  height : 105
Setting  height : 95
Setting  caption : "Plastik"
Setting  active : false
Setting  width : 232
Setting  width : 222
Setting  height : 135
Setting  height : 95
Plugin changed to:  "org.kde.oxygen"
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib64/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead.
Factory:  true
Setting  width : -12
Setting  height : -39
Setting  width : -92
Setting  height : -119
Setting  width : -12
Setting  height : -39
Setting  width : -92
Setting  height : -119
Setting  width : 188
Setting  height : 56
Setting  width : 188
Setting  height : 56
Setting  caption : "Oxygen"
Setting  width : 218
Setting  height : 86
Setting  caption : "Oxygen"
Setting  active : false
Setting  width : 218
Setting  height : 86
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Plugin changed to:  "org.kde.breeze"
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib64/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead.
Factory:  true
Setting  width : -12
Setting  height : -43
Setting  width : -32
Setting  height : -63
Setting  width : -12
Setting  height : -43
Setting  width : -32
Setting  height : -63
Setting  width : 248
Setting  height : 112
Setting  width : 248
Setting  height : 112
Setting  caption : "Breeze"
Setting  width : 245
Setting  width : 218
Setting  height : 79
Setting  height : 82
Setting  caption : "Breeze"
Setting  active : false
Setting  width : 215
Setting  width : 218
Setting  height : 109
Setting  height : 82
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 9 (Bad file descriptor) on X server ":0"
      after 4964 requests (4963 known processed) with 0 events remaining.
KCrash: Application 'systemsettings5' crashing...
QObject::~QObject: Timers cannot be stopped from another thread
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
QObject::~QObject: Timers cannot be stopped from another thread
sock_file=/var/run/user/1000/kdeinit5__0

-- Backtrace (Reduced):
#6  QV4::Value::as<QV4::QObjectWrapper> (this=0x1afc250) at jsruntime/qv4value_p.h:428
#7  QV4::Value::as<QV4::QObjectWrapper> (this=0x1afc250) at jsruntime/qv4value_p.h:434
#8  QV4::WeakValue::free (this=this@entry=0x1850ff0) at jsruntime/qv4persistent.cpp:425
#9  0x00007fc7c3ed9a34 in QV4::WeakValue::clear (this=0x1850ff0) at ../../include/QtQml/5.7.1/QtQml/private/../../../../../src/qml/jsruntime/qv4persistent_p.h:187
#10 QV4::QObjectWrapper::destroyObject (this=<optimized out>, lastCall=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1051
Comment 2 Christoph Feck 2017-01-10 18:41:11 UTC

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