Bug 466733 - Crash when switching between KCMs
Summary: Crash when switching between KCMs
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: generic-crash (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
: 472835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-03-02 20:17 UTC by Nicolas Fella
Modified: 2023-11-11 00:49 UTC (History)
3 users (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 Nicolas Fella 2023-03-02 20:17:35 UTC
Application: systemsettings (5.27.80)
 (Compiled from sources)
Qt Version: 6.4.2
Frameworks Version: 5.240.0
Operating System: Linux 6.1.14-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.80 [KCrashBackend]

-- Information about the crash:
Not entirely sure whether it affects specific ones yet

The crash can be reproduced every time.

-- Backtrace:
Application: Systemeinstellungen (systemsettings), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f4c178afe5c in __pthread_kill_implementation () at /lib64/libc.so.6
#6  0x00007f4c1785fa76 in raise () at /lib64/libc.so.6
#7  0x00007f4c178497fc in abort () at /lib64/libc.so.6
#8  0x00007f4c178a408e in __libc_message () at /lib64/libc.so.6
#9  0x00007f4c178b9b9c in  () at /lib64/libc.so.6
#10 0x00007f4c178bb9dc in _int_free () at /lib64/libc.so.6
#11 0x00007f4c178be363 in free () at /lib64/libc.so.6
#12 0x00007f4c16d1d3f5 in QQmlEnginePrivate::SingletonInstances::clear() () at /lib64/libQt6Qml.so.6
#13 0x00007f4c16d13041 in QQmlEngine::~QQmlEngine() () at /lib64/libQt6Qml.so.6
#14 0x00007f4c19bbed94 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (this=0x2240d30) at /usr/include/c++/12/bits/shared_ptr_base.h:346
#15 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (this=0x2240d30) at /usr/include/c++/12/bits/shared_ptr_base.h:317
#16 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (this=0x2055f88, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/shared_ptr_base.h:1071
#17 std::__shared_ptr<QQmlEngine, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (this=0x2055f80, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/shared_ptr_base.h:1524
#18 std::shared_ptr<QQmlEngine>::~shared_ptr() (this=0x2055f80, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/shared_ptr.h:175
#19 KDeclarative::QmlObjectPrivate::~QmlObjectPrivate() (this=0x2055f70, __in_chrg=<optimized out>) at /home/nico/kde6/src/kdeclarative/src/kdeclarative/qmlobject.cpp:57
#20 KDeclarative::QmlObject::~QmlObject() (this=0x21a8ec0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kdeclarative/src/kdeclarative/qmlobject.cpp:165
#21 0x00007f4c19bc1709 in KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine() (this=0x21a8ec0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kdeclarative/src/kdeclarative/qmlobjectsharedengine.cpp:61
#22 0x00007f4c17fc198a in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#23 0x00007f4c196109f8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#24 0x00007f4c1a77c739 in KCModuleQml::~KCModuleQml() (this=0x274ea60, __in_chrg=<optimized out>) at /home/nico/kde6/src/kcmutils/src/kcmoduleqml.cpp:219
#25 0x00007f4c1a77ade4 in KCModuleProxy::deleteClient() (this=this@entry=0x213ebd0) at /home/nico/kde6/src/kcmutils/src/kcmoduleproxy.cpp:180
#26 0x00007f4c1a77c0df in KCModuleProxy::~KCModuleProxy() (this=0x213ebd0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kcmutils/src/kcmoduleproxy.cpp:165
#27 0x00007f4c1a77c349 in KCModuleProxy::~KCModuleProxy() (this=0x213ebd0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kcmutils/src/kcmoduleproxy.cpp:175
#28 0x00007f4c17fc198a in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#29 0x00007f4c196109f8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#30 0x00007f4c19610b4d in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#31 0x00007f4c17fc198a in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#32 0x00007f4c196109f8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#33 0x00007f4c197abc5d in QScrollArea::~QScrollArea() () at /lib64/libQt6Widgets.so.6
#34 0x00007f4c19ec2f23 in KPageWidgetItemPrivate::~KPageWidgetItemPrivate() (this=0x24df7e0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kwidgetsaddons/src/kpagewidgetmodel.cpp:31
#35 std::default_delete<KPageWidgetItemPrivate>::operator()(KPageWidgetItemPrivate*) const (this=<optimized out>, __ptr=0x24df7e0) at /usr/include/c++/12/bits/unique_ptr.h:95
#36 std::default_delete<KPageWidgetItemPrivate>::operator()(KPageWidgetItemPrivate*) const (__ptr=0x24df7e0, this=<optimized out>) at /usr/include/c++/12/bits/unique_ptr.h:89
#37 std::unique_ptr<KPageWidgetItemPrivate, std::default_delete<KPageWidgetItemPrivate> >::~unique_ptr() (this=0x150e620, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/unique_ptr.h:396
#38 KPageWidgetItem::~KPageWidgetItem() (this=0x150e610, __in_chrg=<optimized out>) at /home/nico/kde6/src/kwidgetsaddons/src/kpagewidgetmodel.cpp:74
#39 0x00007f4c19ec3954 in KPageWidgetItem::~KPageWidgetItem() (this=0x150e610, __in_chrg=<optimized out>) at /home/nico/kde6/src/kwidgetsaddons/src/kpagewidgetmodel.cpp:74
#40 PageItem::~PageItem() (this=0x30b6c60, __in_chrg=<optimized out>) at /home/nico/kde6/src/kwidgetsaddons/src/kpagewidgetmodel.cpp:176
#41 0x00007f4c19ec4044 in KPageWidgetModel::removePage(KPageWidgetItem*) (this=0x14a7c90, item=<optimized out>) at /home/nico/kde6/src/kwidgetsaddons/src/kpagewidgetmodel.cpp:546
#42 0x00007f4c19ec2814 in KPageWidget::removePage(KPageWidgetItem*) (this=<optimized out>, item=<optimized out>) at /home/nico/kde6/src/kwidgetsaddons/src/kpagewidget.cpp:107
#43 0x00007f4c1a809b9d in ModuleView::closeModules() (this=0x14d1b50) at /home/nico/kde6/src/systemsettings/core/ModuleView.cpp:344
#44 0x00007f4c044abc35 in SidebarMode::loadModule(QModelIndex const&, QList<QString> const&) (this=0x14d5430, activeModule=..., args=...) at /home/nico/kde6/src/systemsettings/sidebar/SidebarMode.cpp:335
#45 0x00007f4c044ac5d9 in SidebarMode::loadModule(QModelIndex const&, QList<QString> const&) (this=<optimized out>, activeModule=<optimized out>, args=<optimized out>) at /usr/include/qt6/QtCore/qabstractitemmodel.h:142
#46 0x00007f4c044a811d in SidebarMode::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc511c2dd8) at /home/nico/kde6/build/systemsettings/sidebar/systemsettings_sidebar_mode_autogen/EWIEGA46WW/moc_SidebarMode.cpp:631
#47 0x00007f4c044a8850 in SidebarMode::qt_metacall(QMetaObject::Call, int, void**) (this=0x14d5430, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7ffc511c2dd8) at /home/nico/kde6/build/systemsettings/sidebar/systemsettings_sidebar_mode_autogen/EWIEGA46WW/moc_SidebarMode.cpp:753
#48 0x00007f4c16d82e43 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () at /lib64/libQt6Qml.so.6
#49 0x00007f4c16c42625 in QV4::CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () at /lib64/libQt6Qml.so.6
#50 0x00007f4c16c43c24 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /lib64/libQt6Qml.so.6
#51 0x00007f4c16c9869c in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) () at /lib64/libQt6Qml.so.6
#52 0x00007f4c16c9e9e7 in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) () at /lib64/libQt6Qml.so.6
#53 0x00007f4c16bf323a in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) () at /lib64/libQt6Qml.so.6
#54 0x00007f4c16bf3441 in QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) () at /lib64/libQt6Qml.so.6
#55 0x00007f4c16d49f59 in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) () at /lib64/libQt6Qml.so.6
#56 0x00007f4c16cec4f3 in QQmlBoundSignalExpression::evaluate(void**) () at /lib64/libQt6Qml.so.6
#57 0x00007f4c16cece80 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () at /lib64/libQt6Qml.so.6
#58 0x00007f4c16d717b6 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt6Qml.so.6
#59 0x00007f4c17fc7a90 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6
#60 0x00007f4c156f30ca in QQuickAbstractButtonPrivate::handleRelease(QPointF const&, unsigned long) () at /lib64/libQt6QuickTemplates2.so.6
#61 0x00007f4c157180fc in QQuickControl::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt6QuickTemplates2.so.6
#62 0x00007f4c172394f8 in QQuickItem::event(QEvent*) () at /lib64/libQt6Quick.so.6
#63 0x00007f4c195baa65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#64 0x00007f4c17f68068 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#65 0x00007f4c173ba783 in QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(QQuickItem*, bool, QPointerEvent*, bool) () at /lib64/libQt6Quick.so.6
#66 0x00007f4c173baf1c in QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) () at /lib64/libQt6Quick.so.6
#67 0x00007f4c173bc1f3 in QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) () at /lib64/libQt6Quick.so.6
#68 0x00007f4c173bd1db in QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) () at /lib64/libQt6Quick.so.6
#69 0x00007f4c173bf018 in QQuickDeliveryAgent::event(QEvent*) () at /lib64/libQt6Quick.so.6
#70 0x00007f4c172dd49b in QQuickWindow::event(QEvent*) () at /lib64/libQt6Quick.so.6
#71 0x00007f4c195baa65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#72 0x00007f4c17f68068 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#73 0x00007f4c18f282a1 in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt6QuickWidgets.so.6
#74 0x00007f4c19615018 in QWidget::event(QEvent*) () at /lib64/libQt6Widgets.so.6
#75 0x00007f4c195baa65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#76 0x00007f4c195c498d in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#77 0x00007f4c17f68068 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#78 0x00007f4c195c31eb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt6Widgets.so.6
#79 0x00007f4c196273a7 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt6Widgets.so.6
#80 0x00007f4c1962a048 in QWidgetWindow::event(QEvent*) () at /lib64/libQt6Widgets.so.6
#81 0x00007f4c195baa65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#82 0x00007f4c17f68068 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#83 0x00007f4c187ff0fb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt6Gui.so.6
#84 0x00007f4c188551cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Gui.so.6
#85 0x00007f4c18d08824 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Gui.so.6
#86 0x00007f4c16542c7f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#87 0x00007f4c16599118 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#88 0x00007f4c1653ff00 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#89 0x00007f4c18223220 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#90 0x00007f4c17f7465b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#91 0x00007f4c17f70528 in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#92 0x000000000040d996 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nico/kde6/src/systemsettings/app/main.cpp:188
[Inferior 1 (process 282133) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-07-16 08:00:47 UTC
Isn't this that Qt bug that's already fixed in 6.5.3, or is it something else?
Comment 2 Nate Graham 2023-07-25 18:55:14 UTC
Nah, looks different from https://bugreports.qt.io/browse/QTBUG-112306.
Comment 3 Nate Graham 2023-08-11 16:48:47 UTC
*** Bug 472835 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas Fella 2023-11-11 00:49:49 UTC
Haven't seen this in a while