Bug 430989

Summary: Periodic crash in ModuleView::moduleSave() when applying settings
Product: [Applications] systemsettings Reporter: Chris <blauveltcj>
Component: sidebarviewAssignee: Marco Martin <notmart>
Status: REPORTED ---    
Severity: crash CC: kishore96, nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.20.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris 2020-12-30 22:44:01 UTC
Application: systemsettings5 (5.20.4)

Qt Version: 5.15.2
Frameworks Version: 5.75.0
Operating System: Linux 5.9.16-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (KDE Plasma)

-- Information about the crash:
When I selected to invert the mouse scroll direction the settings application crashed after clicking apply. This has also happened during instances of applying new window styles, theming, etc. This is all with stock options, no additional software installed. This is my first day of using fedora.

The crash can be reproduced sometimes.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007efea1355594 in MenuItem::children() const () from /lib64/libsystemsettingsview.so.3
#5  0x00007efe8401a69e in SidebarMode::updateDefaults() () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
#6  0x00007efe9fdb2386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x00007efea13588fd in ModuleView::moduleSave(KCModuleProxy*) () from /lib64/libsystemsettingsview.so.3
#8  0x00007efe8401b7e3 in SidebarMode::loadModule(QModelIndex const&, QStringList const&) [clone .part.0] () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
#9  0x00007efe8401f541 in SidebarMode::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
#10 0x00007efe8401fb33 in SidebarMode::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
#11 0x00007efe9ee18cf5 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#12 0x00007efe9ed21149 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#13 0x00007efe9ed2259b in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#14 0x00007efe9ed379dd in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#15 0x00007efe9ed3d775 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) [clone .part.0] () from /lib64/libQt5Qml.so.5
#16 0x00007efe9ecdc7bd in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#17 0x00007efe9ee37e71 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#18 0x00007efe9edf4011 in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#19 0x00007efe9edf5a63 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#20 0x00007efe9ee18c0d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#21 0x00007efe9fdb22f2 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#22 0x00007efe8cd1a081 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#23 0x00007efe8cd34af9 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#24 0x00007efe9f2157f9 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#25 0x00007efea0907ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#26 0x00007efe9fd82bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#27 0x00007efe9f229555 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#28 0x00007efe9f229ee3 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#29 0x00007efea02b97b5 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#30 0x00007efea0907ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007efe9fd82bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#32 0x00007efe9f55799b in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickWidgets.so.5
#33 0x00007efea0948b1e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#34 0x00007efea0907ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#35 0x00007efea090eeeb in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#36 0x00007efe9fd82bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#37 0x00007efea090defa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#38 0x00007efea0961375 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#39 0x00007efea09646be in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#40 0x00007efea0907ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#41 0x00007efe9fd82bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#42 0x00007efea02ae143 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#43 0x00007efea028f8cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#44 0x00007efe8dc4947e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#45 0x00007efe9db2996f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#46 0x00007efe9db7b758 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#47 0x00007efe9db26d43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#48 0x00007efe9fdcf6f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#49 0x00007efe9fd8157b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#50 0x00007efe9fd891b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#51 0x000055a9ccb95414 in main ()
[Inferior 1 (process 9417) detached]

Possible duplicates by query: bug 430954, bug 430868, bug 430686, bug 430654, bug 430571.

Reported using DrKonqi
Comment 1 Nate Graham 2021-01-04 23:14:40 UTC
#7  0x00007efea13588fd in ModuleView::moduleSave(KCModuleProxy*) () from /lib64/libsystemsettingsview.so.3
#8  0x00007efe8401b7e3 in SidebarMode::loadModule(QModelIndex const&, QStringList const&) [clone .part.0] () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
Comment 2 Nate Graham 2021-05-10 23:00:44 UTC
*** Bug 436814 has been marked as a duplicate of this bug. ***