Bug 413858 - Settings crashes when opening "Startup and Shutdown"
Summary: Settings crashes when opening "Startup and Shutdown"
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.12.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-11-05 23:30 UTC by Finian Wright
Modified: 2019-11-06 00:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Finian Wright 2019-11-05 23:30:10 UTC
Application: systemsettings5 (5.12.8)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-65-generic x86_64
Distribution: Ubuntu 18.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Opening the "Startup and Shutdown" category in KDE System Settings.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9e10139c80 (LWP 2876))]

Thread 9 (Thread 0x7f9dcf1d5700 (LWP 2888)):
#0  0x00007f9e0b99dbf9 in __GI___poll (fds=0x7f9dc40020a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9e058005c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e058006dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e0c2e699b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9e0c28b9fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e0c0aa23a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e097dc6f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f9e0c0af17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9e0b46d6db in start_thread (arg=0x7f9dcf1d5700) at pthread_create.c:463
#9  0x00007f9e0b9aa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f9dcfbe4700 (LWP 2887)):
#0  0x00007f9e0b9990b4 in __GI___libc_read (fd=21, buf=0x7f9dcfbe3cd0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f9e058452d0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e058000b7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e05800570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9e05800962 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9dd0d820e6 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f9e05828195 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f9e0b46d6db in start_thread (arg=0x7f9dcfbe4700) at pthread_create.c:463
#8  0x00007f9e0b9aa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f9dd03e5700 (LWP 2886)):
#0  0x00007f9e0b99dbf9 in __GI___poll (fds=0x5616c9bf93f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9e058005c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e058006dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e05800721 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9e05828195 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9e0b46d6db in start_thread (arg=0x7f9dd03e5700) at pthread_create.c:463
#6  0x00007f9e0b9aa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f9ddcad3700 (LWP 2884)):
#0  0x00007f9e0c0a69ae in QMutex::lock() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f9e0c2e68bd in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f9e057ffb28 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e058004fb in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9e058006dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9e0c2e699b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e0c28b9fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9e0c0aa23a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9e097dc6f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f9e0c0af17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f9e0b46d6db in start_thread (arg=0x7f9ddcad3700) at pthread_create.c:463
#11 0x00007f9e0b9aa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f9de4b01700 (LWP 2883)):
#0  0x00007f9e0b99dbf9 in __GI___poll (fds=0x7f9dd8004a00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9e058005c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e058006dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e0c2e699b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9e0c28b9fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e0c0aa23a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e097dc6f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f9e0c0af17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9e0b46d6db in start_thread (arg=0x7f9de4b01700) at pthread_create.c:463
#9  0x00007f9e0b9aa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f9de7475700 (LWP 2880)):
#0  0x00007f9e0b4739f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5616c4e75a5c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f9e0b4739f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5616c4e75a08, cond=0x5616c4e75a30) at pthread_cond_wait.c:502
#2  0x00007f9e0b4739f3 in __pthread_cond_wait (cond=0x5616c4e75a30, mutex=0x5616c4e75a08) at pthread_cond_wait.c:655
#3  0x00007f9de866f2cb in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f9de866eff7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f9e0b46d6db in start_thread (arg=0x7f9de7475700) at pthread_create.c:463
#6  0x00007f9e0b9aa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9df3aba700 (LWP 2879)):
#0  0x00007f9e0b9990b4 in __GI___libc_read (fd=7, buf=0x7f9df3ab9b60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f9e058452d0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e058000b7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e05800570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9e058006dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9e0c2e699b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e0c28b9fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9e0c0aa23a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9e0dbf0d45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f9e0c0af17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f9e0b46d6db in start_thread (arg=0x7f9df3aba700) at pthread_create.c:463
#11 0x00007f9e0b9aa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9dfcffb700 (LWP 2878)):
#0  0x00007f9e0b99dbf9 in __GI___poll (fds=0x7f9dfcffaca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9e074dc747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f9e074de36a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9dffda85e9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f9e0c0af17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e0b46d6db in start_thread (arg=0x7f9dfcffb700) at pthread_create.c:463
#6  0x00007f9e0b9aa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9e10139c80 (LWP 2876)):
[KCrash Handler]
#6  0x00007f9e0c2c43aa in QObject::setProperty(char const*, QVariant const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9dd1e2c3ae in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_sddm.so
#8  0x00007f9dd1e2cd2c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_sddm.so
#9  0x00007f9dd1e2d23e in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_sddm.so
#10 0x00007f9dd1e25f94 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_sddm.so
#11 0x00007f9dd1e26adc in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_sddm.so
#12 0x00007f9dd1e2924b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_sddm.so
#13 0x00007f9e0c78e019 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#14 0x00007f9e0f72c85c in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#15 0x00007f9e0f73369f in  () at /usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#16 0x00007f9e0f7341d8 in KCModuleProxy::realModule() const () at /usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#17 0x00007f9e0fb74314 in ModuleView::stateChanged() () at /usr/lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#18 0x00007f9e0fb74540 in ModuleView::activeModuleChanged(KPageWidgetItem*, KPageWidgetItem*) () at /usr/lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#19 0x00007f9e0c2bc645 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f9e0e8b5d9b in KPageWidget::currentPageChanged(KPageWidgetItem*, KPageWidgetItem*) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#21 0x00007f9e0e8b5f5c in  () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#22 0x00007f9e0c2bc645 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f9e0e8b0437 in KPageView::currentPageChanged(QModelIndex const&, QModelIndex const&) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#24 0x00007f9e0e8b1829 in  () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#25 0x00007f9e0c2bc645 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f9e0c239627 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f9e0c23dec0 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f9e0c241093 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f9e0c23b65c in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f9e0c23995d in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f9e0e8b08ea in  () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#32 0x00007f9e0e8b1645 in  () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#33 0x00007f9e0c2bc645 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f9e0c228946 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f9e0e8b7b56 in KPageWidgetModel::addPage(KPageWidgetItem*) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#36 0x00007f9e0fb74b51 in ModuleView::addModule(KCModuleInfo*) () at /usr/lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#37 0x00007f9e0fb74f0b in ModuleView::loadModule(QModelIndex) () at /usr/lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#38 0x00007f9de4f95b8e in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettings_sidebar_mode.so
#39 0x00007f9de4f95f77 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettings_sidebar_mode.so
#40 0x00007f9de4f9bb27 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettings_sidebar_mode.so
#41 0x00007f9de4f9be33 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettings_sidebar_mode.so
#42 0x00007f9e09710ca3 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#43 0x00007f9e0971168e in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#44 0x00007f9e09711799 in QV4::QObjectWrapper::put(QV4::Managed*, QV4::String*, QV4::Value const&) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#45 0x00007f9e0972013c in QV4::Runtime::method_setProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#46 0x00007f9dfc05ec24 in  ()
#47 0x0000000000000000 in  ()

Reported using DrKonqi
Comment 1 David Edmundson 2019-11-06 00:06:51 UTC
Could you install debug symbols for 

/usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_sddm.so
Comment 2 Finian Wright 2019-11-06 00:36:25 UTC
I'm not sure what caused it, but the sddm-kcm directory in .local/share/ was missing. I reinstalled kde-config-sddm and it fixed it. I'm guessing it just got removed accidentally at some point.