Bug 416227 - System Settings crashes when clicking Global Theme in Frequently Used
Summary: System Settings crashes when clicking Global Theme in Frequently Used
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: sidebarview (show other bugs)
Version: unspecified
Platform: unspecified Linux
: HI crash
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords: drkonqi, regression
Depends on:
Blocks:
 
Reported: 2020-01-14 05:53 UTC by John Leonard
Modified: 2020-01-14 21:57 UTC (History)
1 user (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 John Leonard 2020-01-14 05:53:02 UTC
Application: systemsettings5 (5.17.80)

Qt Version: 5.13.2
Frameworks Version: 5.67.0
Operating System: Linux 5.0.0-37-generic x86_64
Windowing system: X11
Distribution: KDE neon Unstable Edition

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

On a fresh install of Neon (also after updating system settings), the program crashes when clicking "Global Theme" on the home screen.  Other options in the same menu work, and navigating through the sidebar works as expected.

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 0x7f08a2d06800 (LWP 21320))]

Thread 7 (Thread 0x7f08650d1700 (LWP 21356)):
#0  0x00007f089e238bf9 in __GI___poll (fds=0x7f0860263a90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f08978e75c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08978e76dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f089eb8bb9b in QEventDispatcherGlib::processEvents (this=0x7f0860341780, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f089eb2c06a in QEventLoop::exec (this=this@entry=0x7f08650d0d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f089e9473aa in QThread::exec (this=this@entry=0x563e16905c80) at thread/qthread.cpp:531
#6  0x00007f089c4cc815 in QQmlThreadPrivate::run (this=0x563e16905c80) at qml/ftw/qqmlthread.cpp:152
#7  0x00007f089e948b52 in QThreadPrivate::start (arg=0x563e16905c80) at thread/qthread_unix.cpp:360
#8  0x00007f0899ca66db in start_thread (arg=0x7f08650d1700) at pthread_create.c:463
#9  0x00007f089e24588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f086cc46700 (LWP 21326)):
#0  0x00007f089792d664 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f08978e75be in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08978e76dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f089eb8bb9b in QEventDispatcherGlib::processEvents (this=0x7f0868000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f089eb2c06a in QEventLoop::exec (this=this@entry=0x7f086cc45d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f089e9473aa in QThread::exec (this=this@entry=0x563e0f7e4580) at thread/qthread.cpp:531
#6  0x00007f089c4cc815 in QQmlThreadPrivate::run (this=0x563e0f7e4580) at qml/ftw/qqmlthread.cpp:152
#7  0x00007f089e948b52 in QThreadPrivate::start (arg=0x563e0f7e4580) at thread/qthread_unix.cpp:360
#8  0x00007f0899ca66db in start_thread (arg=0x7f086cc46700) at pthread_create.c:463
#9  0x00007f089e24588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f08757aa700 (LWP 21325)):
#0  0x00007f089792d664 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f08978e6b18 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08978e74fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08978e76dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f089eb8bb9b in QEventDispatcherGlib::processEvents (this=0x7f0870000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f089eb2c06a in QEventLoop::exec (this=this@entry=0x7f08757a9d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f089e9473aa in QThread::exec (this=this@entry=0x563e0f57efa0) at thread/qthread.cpp:531
#7  0x00007f089c4cc815 in QQmlThreadPrivate::run (this=0x563e0f57efa0) at qml/ftw/qqmlthread.cpp:152
#8  0x00007f089e948b52 in QThreadPrivate::start (arg=0x563e0f57efa0) at thread/qthread_unix.cpp:360
#9  0x00007f0899ca66db in start_thread (arg=0x7f08757aa700) at pthread_create.c:463
#10 0x00007f089e24588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f087f1a0700 (LWP 21323)):
#0  0x00007f0899cac9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563e0f2fa8b8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x563e0f2fa868, cond=0x563e0f2fa890) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x563e0f2fa890, mutex=0x563e0f2fa868) at pthread_cond_wait.c:655
#3  0x00007f088466b2cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f088466aff7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f0899ca66db in start_thread (arg=0x7f087f1a0700) at pthread_create.c:463
#6  0x00007f089e24588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f0887bf1700 (LWP 21322)):
#0  0x00007f089e238bf9 in __GI___poll (fds=0x7f0880004db0, nfds=1, timeout=9587) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f08978e75c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08978e76dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f089eb8bb9b in QEventDispatcherGlib::processEvents (this=0x7f0880000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f089eb2c06a in QEventLoop::exec (this=this@entry=0x7f0887bf0d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f089e9473aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f089f0020e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f089e948b52 in QThreadPrivate::start (arg=0x7f089f279d80) at thread/qthread_unix.cpp:360
#8  0x00007f0899ca66db in start_thread (arg=0x7f0887bf1700) at pthread_create.c:463
#9  0x00007f089e24588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f088fcfb700 (LWP 21321)):
#0  0x00007f089e238bf9 in __GI___poll (fds=0x7f088fcfaca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f089986a747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f089986c36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f0892ae0e10 in QXcbEventQueue::run (this=0x563e0f18ed00) at qxcbeventqueue.cpp:228
#4  0x00007f089e948b52 in QThreadPrivate::start (arg=0x563e0f18ed00) at thread/qthread_unix.cpp:360
#5  0x00007f0899ca66db in start_thread (arg=0x7f088fcfb700) at pthread_create.c:463
#6  0x00007f089e24588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f08a2d06800 (LWP 21320)):
[KCrash Handler]
#6  0x00007f08a291d590 in MenuItem::menu() const () from /usr/lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#7  0x00007f0876093b6c in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettings_sidebar_mode.so
#8  0x00007f0876099189 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettings_sidebar_mode.so
#9  0x00007f08760997f5 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettings_sidebar_mode.so
#10 0x00007f089c471e09 in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffda9016250, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=27, argv=<optimized out>) at qml/qqmlpropertycache.cpp:1762
#11 0x00007f089c378895 in CallMethod (object=..., index=<optimized out>, returnType=returnType@entry=43, argCount=<optimized out>, argTypes=<optimized out>, engine=engine@entry=0x563e0f7e4930, callArgs=<optimized out>, callType=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1295
#12 0x00007f089c37a3be in CallPrecise (object=..., data=..., engine=engine@entry=0x563e0f7e4930, callArgs=callArgs@entry=0x7f086c0075c8, callType=callType@entry=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1557
#13 0x00007f089c37b051 in QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=0x7f086c007550, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:2118
#14 0x00007f089c3958fa in QV4::FunctionObject::call (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.13.2/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:202
#15 QV4::Moth::VME::interpret (frame=0x7ffda9016530, engine=0x563e0f7e4930, code=0x7f08741133ef "\016\002") at jsruntime/qv4vme_moth.cpp:827
#16 0x00007f089c398cc6 in QV4::Moth::VME::exec (frame=frame@entry=0x7ffda9016530, engine=engine@entry=0x563e0f7e4930) at jsruntime/qv4vme_moth.cpp:511
#17 0x00007f089c3281ec in QV4::Function::call (this=this@entry=0x563e0f968850, thisObject=thisObject@entry=0x7f086c0074f0, argv=argv@entry=0x7f086c007508, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#18 0x00007f089c49b447 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x563e15812f90, callData=callData@entry=0x7f086c0074d8, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:211
#19 0x00007f089c440fb9 in QQmlBoundSignalExpression::evaluate (this=this@entry=0x563e15812f90, a=a@entry=0x7ffda90182c0) at qml/qqmlboundsignal.cpp:225
#20 0x00007f089c44233b in QQmlBoundSignal_callback (e=0x563e167e4f70, a=0x7ffda90182c0) at qml/qqmlboundsignal.cpp:358
#21 0x00007f089c47bc42 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x7ffda90182c0) at qml/qqmlnotifier.cpp:104
#22 0x00007f089c422f99 in QQmlData::signalEmitted (object=0x563e1580b860, index=<optimized out>, a=0x7ffda90182c0) at qml/qqmlengine.cpp:887
#23 0x00007f089eb5e0f7 in QMetaObject::activate (sender=sender@entry=0x563e1580b860, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=16, argv=argv@entry=0x7ffda90182c0) at kernel/qobject.cpp:3678
#24 0x00007f089eb5ef97 in QMetaObject::activate (sender=sender@entry=0x563e1580b860, m=m@entry=0x7f089cefb860 <QQuickMouseArea::staticMetaObject>, local_signal_index=local_signal_index@entry=16, argv=argv@entry=0x7ffda90182c0) at kernel/qobject.cpp:3660
#25 0x00007f089cafdab2 in QQuickMouseArea::clicked (this=this@entry=0x563e1580b860, _t1=<optimized out>, _t1@entry=0x563e15828178) at .moc/moc_qquickmousearea_p.cpp:667
#26 0x00007f089caff2cf in QQuickMouseArea::setPressed (this=this@entry=0x563e1580b860, button=<optimized out>, p=p@entry=false, source=<optimized out>) at items/qquickmousearea.cpp:1243
#27 0x00007f089cb00368 in QQuickMouseArea::mouseReleaseEvent (this=0x563e1580b860, event=0x7ffda9018b70) at items/qquickmousearea.cpp:806
#28 0x00007f089ca67ae8 in QQuickItem::event (this=0x563e1580b860, ev=0x7ffda9018b70) at items/qquickitem.cpp:8098
#29 0x00007f089fbc1eac in QApplicationPrivate::notify_helper (this=this@entry=0x563e0f18c2a0, receiver=receiver@entry=0x563e1580b860, e=e@entry=0x7ffda9018b70) at kernel/qapplication.cpp:3703
#30 0x00007f089fbc94b0 in QApplication::notify (this=0x7ffda9019ad0, receiver=0x563e1580b860, e=0x7ffda9018b70) at kernel/qapplication.cpp:3449
#31 0x00007f089eb2df08 in QCoreApplication::notifyInternal2 (receiver=0x563e1580b860, event=0x7ffda9018b70) at kernel/qcoreapplication.cpp:1095
#32 0x00007f089eb2e0de in QCoreApplication::sendEvent (receiver=receiver@entry=0x563e1580b860, event=event@entry=0x7ffda9018b70) at kernel/qcoreapplication.cpp:1490
#33 0x00007f089ca81a4d in QQuickWindowPrivate::deliverMouseEvent (this=this@entry=0x563e0f21f050, pointerEvent=0x563e15411c10) at items/qquickwindow.cpp:1806
#34 0x00007f089ca82ac5 in QQuickWindowPrivate::deliverPointerEvent (this=this@entry=0x563e0f21f050, event=0x563e15411c10) at items/qquickwindow.cpp:2369
#35 0x00007f089ca8383e in QQuickWindowPrivate::handleMouseEvent (this=0x563e0f21f050, event=0x7ffda9018b70) at items/qquickwindow.cpp:2232
#36 0x00007f089f39b525 in QWindow::event (this=this@entry=0x563e0f7e00c0, ev=ev@entry=0x7ffda9018b70) at kernel/qwindow.cpp:2359
#37 0x00007f089ca84a45 in QQuickWindow::event (this=0x563e0f7e00c0, e=0x7ffda9018b70) at items/qquickwindow.cpp:1695
#38 0x00007f089fbc1eac in QApplicationPrivate::notify_helper (this=this@entry=0x563e0f18c2a0, receiver=receiver@entry=0x563e0f7e00c0, e=e@entry=0x7ffda9018b70) at kernel/qapplication.cpp:3703
#39 0x00007f089fbc94b0 in QApplication::notify (this=0x7ffda9019ad0, receiver=0x563e0f7e00c0, e=0x7ffda9018b70) at kernel/qapplication.cpp:3449
#40 0x00007f089eb2df08 in QCoreApplication::notifyInternal2 (receiver=0x563e0f7e00c0, event=0x7ffda9018b70) at kernel/qcoreapplication.cpp:1095
#41 0x00007f089eb2e0de in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7ffda9018b70) at kernel/qcoreapplication.cpp:1490
#42 0x00007f089d345f3c in QQuickWidget::mouseReleaseEvent (this=<optimized out>, e=0x7ffda90191c0) at qquickwidget.cpp:1384
#43 0x00007f089fc02cb8 in QWidget::event (this=this@entry=0x563e0f7e2340, event=event@entry=0x7ffda90191c0) at kernel/qwidget.cpp:9339
#44 0x00007f089d34611b in QQuickWidget::event (this=0x563e0f7e2340, e=0x7ffda90191c0) at qquickwidget.cpp:1537
#45 0x00007f089fbc1eac in QApplicationPrivate::notify_helper (this=this@entry=0x563e0f18c2a0, receiver=receiver@entry=0x563e0f7e2340, e=e@entry=0x7ffda90191c0) at kernel/qapplication.cpp:3703
#46 0x00007f089fbca388 in QApplication::notify (this=<optimized out>, receiver=0x563e0f7e2340, e=0x7ffda90191c0) at kernel/qapplication.cpp:3163
#47 0x00007f089eb2df08 in QCoreApplication::notifyInternal2 (receiver=0x563e0f7e2340, event=0x7ffda90191c0) at kernel/qcoreapplication.cpp:1095
#48 0x00007f089eb2e0ee in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x563e0f7e2340, event=event@entry=0x7ffda90191c0) at kernel/qcoreapplication.cpp:1502
#49 0x00007f089fbc897f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x563e0f7e2340, event=event@entry=0x7ffda90191c0, alienWidget=0x563e0f7e2340, nativeWidget=0x563e0f1e4680, buttonDown=buttonDown@entry=0x7f08a02cb8b0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2649
#50 0x00007f089fc1d6b1 in QWidgetWindow::handleMouseEvent (this=this@entry=0x563e0f2b1020, event=event@entry=0x7ffda9019650) at kernel/qwidgetwindow.cpp:662
#51 0x00007f089fc2064a in QWidgetWindow::event (this=0x563e0f2b1020, event=0x7ffda9019650) at kernel/qwidgetwindow.cpp:281
#52 0x00007f089fbc1eac in QApplicationPrivate::notify_helper (this=this@entry=0x563e0f18c2a0, receiver=receiver@entry=0x563e0f2b1020, e=e@entry=0x7ffda9019650) at kernel/qapplication.cpp:3703
#53 0x00007f089fbc94b0 in QApplication::notify (this=0x7ffda9019ad0, receiver=0x563e0f2b1020, e=0x7ffda9019650) at kernel/qapplication.cpp:3449
#54 0x00007f089eb2df08 in QCoreApplication::notifyInternal2 (receiver=0x563e0f2b1020, event=0x7ffda9019650) at kernel/qcoreapplication.cpp:1095
#55 0x00007f089eb2e0ee in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x563e0f2b1020, event=event@entry=0x7ffda9019650) at kernel/qcoreapplication.cpp:1502
#56 0x00007f089f390495 in QGuiApplicationPrivate::processMouseEvent (e=0x563e13d400a0) at kernel/qguiapplication.cpp:2111
#57 0x00007f089f3915e5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x563e13d400a0) at kernel/qguiapplication.cpp:1846
#58 0x00007f089f36b79b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1148
#59 0x00007f0892ae1dda in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#60 0x00007f08978e7417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f08978e7650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f08978e76dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f089eb8bb7f in QEventDispatcherGlib::processEvents (this=0x563e0f1e1d80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#64 0x00007f089eb2c06a in QEventLoop::exec (this=this@entry=0x7ffda90199f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#65 0x00007f089eb353e0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1403
#66 0x0000563e0db0b268 in ?? ()
#67 0x00007f089e145b97 in __libc_start_main (main=0x563e0db0ae80, argc=1, argv=0x7ffda9019c18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffda9019c08) at ../csu/libc-start.c:310
#68 0x0000563e0db0b2ea in _start ()

Possible duplicates by query: bug 414118, bug 410473, bug 408745, bug 405402, bug 405001.

Reported using DrKonqi
Comment 1 Nate Graham 2020-01-14 19:55:42 UTC
Yikes, can reproduce with git master.
Comment 2 David Edmundson 2020-01-14 21:57:33 UTC
Git commit 27b8f182409af6a7da6918278de789fc1350549b by David Edmundson.
Committed on 14/01/2020 at 21:34.
Pushed by davidedmundson into branch 'master'.

Fix crash when loading a top level entry from system settings home page

Summary: BUG: 416227

Test Plan: Clicked "look and feel" from the home screen

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26672

M  +1    -1    sidebar/SidebarMode.cpp

https://commits.kde.org/systemsettings/27b8f182409af6a7da6918278de789fc1350549b