https://bugs.kde.org/show_bug.cgi?id=416397

            Bug ID: 416397
           Summary: After I remove the shortcut to lock the screen via
                    standalone "Screen locking" KCM, System Settings
                    atarted to crash every time I double-click on
                    "Workspace behavior"
           Product: systemsettings
           Version: 5.17.90
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: bugsefor...@gmx.com
  Target Milestone: ---

Application: systemsettings5 (5.17.90)

Qt Version: 5.14.0
Frameworks Version: 5.66.0
Operating System: Linux 5.4.12-arch1-1 x86_64
Windowing system: X11
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
I opened "Screen locking" kcm via the apps launcher
I removed the shortcut to lock the screen (meta+l)
I clicked on "Ok" button
since then system settings crashes every time I try to open "Workspace
behavior"

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7cc033c100 (LWP 96963))]

Thread 8 (Thread 0x7f7c9e330700 (LWP 97018)):
#0  0x00007f7cc4a4d9ef in poll () at /usr/lib/libc.so.6
#1  0x00007f7cc0f6f120 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f7cc0f6f1f1 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#3  0x00007f7cc5008cdc in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f7c98000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7cc4faf39c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f7c9e32fd40, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f7cc4dd4e62 in QThread::exec() (this=this@entry=0x5617c1ea7c90) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f7cc407b249 in QQmlThreadPrivate::run() (this=0x5617c1ea7c90) at
/tmp/makepkg/qt5-declarative-debug/src/qtdeclarative-everywhere-src-5.14.0/src/qml/qml/ftw/qqmlthread.cpp:155
#7  0x00007f7cc4dd5fd6 in QThreadPrivate::start(void*) (arg=0x5617c1ea7c90) at
thread/qthread_unix.cpp:342
#8  0x00007f7cc36374cf in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f7cc4a582d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f7cb5b2e700 (LWP 97008)):
#0  0x00007f7cc363dc45 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007f7cb7828dcc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f7cb78289c8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f7cc36374cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f7cc4a582d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f7cb632f700 (LWP 97007)):
#0  0x00007f7cc363dc45 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007f7cb7828dcc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f7cb78289c8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f7cc36374cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f7cc4a582d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f7cb6b30700 (LWP 97006)):
#0  0x00007f7cc363dc45 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007f7cb7828dcc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f7cb78289c8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f7cc36374cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f7cc4a582d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7cb7331700 (LWP 97005)):
#0  0x00007f7cc363dc45 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007f7cb7828dcc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f7cb78289c8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f7cc36374cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f7cc4a582d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f7cbe189700 (LWP 96995)):
#0  0x00007f7cc0f6662f in g_source_ref () at /usr/lib/libglib-2.0.so.0
#1  0x00007f7cc0f6d662 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f7cc0f6d7df in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f7cc0f6f0c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f7cc0f6f1f1 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#5  0x00007f7cc5008cdc in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f7cb0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f7cc4faf39c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f7cbe188d30, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007f7cc4dd4e62 in QThread::exec() (this=this@entry=0x7f7cc52dd080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007f7cc5258b28 in QDBusConnectionManager::run() (this=0x7f7cc52dd080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#9  0x00007f7cc4dd5fd6 in QThreadPrivate::start(void*) (arg=0x7f7cc52dd080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:342
#10 0x00007f7cc36374cf in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f7cc4a582d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f7cbf53c700 (LWP 96982)):
#0  0x00007f7cc4a4d9ef in poll () at /usr/lib/libc.so.6
#1  0x00007f7cc35f6630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f7cc35f82db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f7cbff04a01 in QXcbEventQueue::run() (this=0x5617c18dbcd0) at
qxcbeventqueue.cpp:228
#4  0x00007f7cc4dd5fd6 in QThreadPrivate::start(void*) (arg=0x5617c18dbcd0) at
thread/qthread_unix.cpp:342
#5  0x00007f7cc36374cf in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f7cc4a582d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f7cc033c100 (LWP 96963)):
[KCrash Handler]
#6  0x00007f7cc5433a26 in std::__atomic_base<int>::operator++()
(this=0x29650019473f) at /usr/include/c++/9.2.0/bits/atomic_base.h:318
#7  0x00007f7cc5433a26 in QAtomicOps<int>::ref<int>(std::atomic<int>&)
(_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:283
#8  0x00007f7cc5433a26 in QBasicAtomicInteger<int>::ref() (this=0x29650019473f)
at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:118
#9  0x00007f7cc5433a26 in QKeySequence::QKeySequence(QKeySequence const&)
(this=0x7ffcb26d4c60, keysequence=...) at kernel/qkeysequence.cpp:880
#10 0x00007f7c969991a3 in  () at /usr/lib/qt/plugins/screenlocker_kcm.so
#11 0x00007f7c9699456f in  () at /usr/lib/qt/plugins/screenlocker_kcm.so
#12 0x00007f7c96994d73 in  () at /usr/lib/qt/plugins/screenlocker_kcm.so
#13 0x00007f7cc4fbcf85 in QMetaProperty::read(QObject const*) const
(this=this@entry=0x7ffcb26d4d80, object=object@entry=0x5617c504a0c0) at
kernel/qmetaobject.cpp:3151
#14 0x00007f7cc4fe28d6 in QObject::property(char const*) const
(this=0x5617c504a0c0, name=<optimized out>) at kernel/qobject.cpp:4087
#15 0x00007f7cc61c2cd2 in KPropertySkeletonItem::readConfig(KConfig*) () at
/usr/lib/libKF5ConfigCore.so.5
#16 0x00007f7cc61c67a4 in KCoreConfigSkeleton::addItem(KConfigSkeletonItem*,
QString const&) () at /usr/lib/libKF5ConfigCore.so.5
#17 0x00007f7c96998e5d in  () at /usr/lib/qt/plugins/screenlocker_kcm.so
#18 0x00007f7c9699557b in  () at /usr/lib/qt/plugins/screenlocker_kcm.so
#19 0x00007f7c9699808d in  () at /usr/lib/qt/plugins/screenlocker_kcm.so
#20 0x00007f7cc6123755 in KPluginFactory::create(char const*, QWidget*,
QObject*, QList<QVariant> const&, QString const&) () at
/usr/lib/libKF5CoreAddons.so.5
#21 0x00007f7cc6694d3d in KCModule*
KService::createInstance<KCModule>(QWidget*, QObject*, QList<QVariant> const&,
QString*) const () at /usr/lib/libKF5KCMUtils.so.5
#22 0x00007f7cc669396c in KCModuleLoader::loadModule(KCModuleInfo const&,
KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at
/usr/lib/libKF5KCMUtils.so.5
#23 0x00007f7cc669d8f4 in  () at /usr/lib/libKF5KCMUtils.so.5
#24 0x00007f7cc669df4b in KCModuleProxy::realModule() const () at
/usr/lib/libKF5KCMUtils.so.5
#25 0x00007f7cc66df67e in ModuleView::updatePageIconHeader(KPageWidgetItem*,
bool) (this=this@entry=0x5617c1d97c60, page=page@entry=0x5617c503dab0,
light=light@entry=true) at
/usr/src/debug/systemsettings-5.17.90/core/ModuleView.cpp:218
#26 0x00007f7cc66e0a7e in ModuleView::addModule(KCModuleInfo*)
(this=this@entry=0x5617c1d97c60, module=0x5617c1d85898) at
/usr/src/debug/systemsettings-5.17.90/core/ModuleView.cpp:195
#27 0x00007f7cc66e0e89 in ModuleView::loadModule(QModelIndex const&)
(this=0x5617c1d97c60, menuItem=...) at
/usr/src/debug/systemsettings-5.17.90/core/ModuleView.cpp:150
#28 0x00007f7cc4fe633e in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffcb26d5670, r=0x5617c1d957b0, this=0x5617c1e00510) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#29 0x00007f7cc4fe633e in doActivate<false>(QObject*, int, void**)
(sender=0x5617c1da8d40, signal_index=10, argv=0x7ffcb26d5670) at
kernel/qobject.cpp:3870
#30 0x00007f7cc4fe096f in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x5617c1da8d40, m=m@entry=0x7f7cc601f600
<QAbstractItemView::staticMetaObject>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcb26d5670)
at kernel/qobject.cpp:3930
#31 0x00007f7cc5d5e956 in QAbstractItemView::activated(QModelIndex const&)
(this=this@entry=0x5617c1da8d40, _t1=...) at .moc/moc_qabstractitemview.cpp:668
#32 0x00007f7cc5d6d2d8 in
QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) (this=0x5617c1da8d40,
event=0x7ffcb26d5e30) at itemviews/qabstractitemview.cpp:1968
#33 0x00007f7cc5b3088b in QWidget::event(QEvent*)
(this=this@entry=0x5617c1da8d40, event=event@entry=0x7ffcb26d5e30) at
kernel/qwidget.cpp:8635
#34 0x00007f7cc5be222f in QFrame::event(QEvent*) (this=0x5617c1da8d40,
e=0x7ffcb26d5e30) at widgets/qframe.cpp:550
#35 0x00007f7cc5d6cc80 in QAbstractItemView::viewportEvent(QEvent*)
(this=0x5617c1da8d40, event=0x7ffcb26d5e30) at
itemviews/qabstractitemview.cpp:1754
#36 0x00007f7cc4fb0543 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
(event=<optimized out>, receiver=<optimized out>) at
kernel/qcoreapplication.cpp:1218
#37 0x00007f7cc4fb0543 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
(receiver=receiver@entry=0x5617c1da8d80, event=event@entry=0x7ffcb26d5e30) at
kernel/qcoreapplication.cpp:1207
#38 0x00007f7cc5aec461 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x5617c18b7ce0, receiver=receiver@entry=0x5617c1da8d80,
e=e@entry=0x7ffcb26d5e30) at kernel/qapplication.cpp:3687
#39 0x00007f7cc5af5ed8 in QApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=0x5617c1da8d80, e=0x7ffcb26d5e30) at
kernel/qapplication.cpp:3137
#40 0x00007f7cc4fb0832 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5617c1da8d80, event=0x7ffcb26d5e30) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#41 0x00007f7cc5af4ff6 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
(receiver=receiver@entry=0x5617c1da8d80, event=event@entry=0x7ffcb26d5e30,
alienWidget=alienWidget@entry=0x5617c1da8d80, nativeWidget=0x5617c19573e0,
buttonDown=buttonDown@entry=0x7f7cc6030330 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2623
#42 0x00007f7cc5b4bf91 in QWidgetWindow::handleMouseEvent(QMouseEvent*)
(this=0x5617c1aab800, event=0x7ffcb26d6320) at
/usr/include/c++/9.2.0/bits/atomic_base.h:413
#43 0x00007f7cc5b4ef14 in QWidgetWindow::event(QEvent*) (event=0x7ffcb26d6320,
this=0x5617c1aab800) at kernel/qwidgetwindow.cpp:295
#44 0x00007f7cc5b4ef14 in QWidgetWindow::event(QEvent*) (this=0x5617c1aab800,
event=0x7ffcb26d6320) at kernel/qwidgetwindow.cpp:238
#45 0x00007f7cc5aec472 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x5617c18b7ce0, receiver=receiver@entry=0x5617c1aab800,
e=e@entry=0x7ffcb26d6320) at kernel/qapplication.cpp:3693
#46 0x00007f7cc5af5c89 in QApplication::notify(QObject*, QEvent*)
(this=0x7ffcb26d6730, receiver=0x5617c1aab800, e=0x7ffcb26d6320) at
kernel/qapplication.cpp:3439
#47 0x00007f7cc4fb0832 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5617c1aab800, event=0x7ffcb26d6320) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#48 0x00007f7cc5416215 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
(e=e@entry=0x5617c1e5bb50) at kernel/qguiapplication.cpp:2232
#49 0x00007f7cc54179d6 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
(e=e@entry=0x5617c1e5bb50) at kernel/qguiapplication.cpp:1920
#50 0x00007f7cc53f0c2c in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1163
#51 0x00007f7cbff05a2c in xcbSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=<optimized out>) at qxcbeventdispatcher.cpp:105
#52 0x00007f7cc0f6d39e in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#53 0x00007f7cc0f6f1b1 in  () at /usr/lib/libglib-2.0.so.0
#54 0x00007f7cc0f6f1f1 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#55 0x00007f7cc5008cc0 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x5617c191dd40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#56 0x00007f7cc4faf39c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffcb26d6650, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#57 0x00007f7cc4fb73a6 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#58 0x00005617c0021475 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /usr/src/debug/systemsettings-5.17.90/app/main.cpp:71
[Inferior 1 (process 96963) detached]

Possible duplicates by query: bug 411883, bug 303186.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to