Bug 488826

Summary: [6.1] Systemsettings sound menu crashes when clicking off and on
Product: [Applications] systemsettings Reporter: marvelrenju1
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 6.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description marvelrenju1 2024-06-20 20:59:29 UTC
Application: systemsettings (6.1.0)

Qt Version: 6.7.1
Frameworks Version: 6.3.0
Operating System: Linux 6.9.5-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.1.0 [CoredumpBackend]

-- Information about the crash:
# Steps to reproduce

1. Open systemsettings
2. Click on sound tab
3. Click on display tab (or any other tab)
4. Click back on sound tab
5. Crashes

The crash only seems to happen with the sound tab.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  operator() (__closure=0x60cd7e059c60) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1915
#8  QtPrivate::QCallableObject<QQmlDelegateModel::_q_modelAboutToBeReset()::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x60cd7e059c50, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#9  0x000073bf39da17e7 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:469
#10 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4086
#11 0x000073bf39f4a494 in QAbstractItemModel::modelReset (this=0x60cd80157430, _t1=...) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1112


Reported using DrKonqi
Comment 1 marvelrenju1 2024-06-20 20:59:29 UTC
Created attachment 170705 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-06-20 22:31:07 UTC
Cannot reproduce. Backtrace of the crashing thread (with debug symbols, yay):


Thread 1 (Thread 0x73bf34297a00 (LWP 68578)):
[KCrash Handler]
#5  operator() (__closure=0x60cd7e059c60) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1915
#6  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, QQmlDelegateModel::_q_modelAboutToBeReset()::<lambda()> >::call (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#7  QtPrivate::FunctorCallable<QQmlDelegateModel::_q_modelAboutToBeReset()::<lambda()> >::call<QtPrivate::List<>, void> (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#8  QtPrivate::QCallableObject<QQmlDelegateModel::_q_modelAboutToBeReset()::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x60cd7e059c50, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#9  0x000073bf39da17e7 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:469
#10 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4086
#11 0x000073bf39f4a494 in QAbstractItemModel::modelReset (this=0x60cd80157430, _t1=...) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1112
#12 QAbstractItemModel::endResetModel (this=0x60cd80157430) at /usr/src/debug/qt6-base/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp:3415
#13 0x000073bf39f8a950 in QSortFilterProxyModel::setSourceModel (this=0x60cd80157430, sourceModel=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:2102
#14 0x000073bf1c03596f in KSortFilterProxyModel::setSourceModel (this=0x60cd80157430, model=0x60cd7f85edd0) at /usr/src/debug/kitemmodels/kitemmodels-6.3.0/src/qml/ksortfilterproxymodel.cpp:94
#15 0x000073bf39f6da7a in QAbstractProxyModelPrivate::setModelForwarder (this=0x60cd7f833c60, sourceModel=0x60cd7f85edd0) at /usr/src/debug/qt6-base/qtbase/src/corelib/itemmodels/qabstractproxymodel_p.h:29
#16 QObjectCompatProperty<QAbstractProxyModelPrivate, QAbstractItemModel*, &QAbstractProxyModelPrivate::_qt_property_model_offset, &QAbstractProxyModelPrivate::setModelForwarder, &QAbstractProxyModelPrivate::modelChangedForwarder, &(QAbstractProxyModelPrivate::getModelForwarder() const)>::bindingWrapper (type=..., dataPtr=0x60cd7f833d30, binding=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qproperty_p.h:540
#17 0x000073bf39d9eafd in QPropertyBindingPrivate::evaluateRecursive_inline (this=0x60cd7ec17aa0, bindingObservers=..., status=0x73bf34297930) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qproperty_p.h:860
#18 QPropertyBindingPrivate::evaluateRecursive (this=this@entry=0x60cd7ec17aa0, bindingObservers=..., status=0x73bf34297930, status@entry=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qproperty.cpp:321
#19 0x000073bf39d9ed09 in QtPrivate::QPropertyBindingData::setBinding (this=0x60cd7ed12518, binding=..., propertyDataPtr=0x60cd7f833d30, staticObserverCallback=<optimized out>, guardCallback=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qproperty.cpp:519
#20 0x000073bf39f747cf in QObjectCompatProperty<QAbstractProxyModelPrivate, QAbstractItemModel*, &QAbstractProxyModelPrivate::_qt_property_model_offset, &QAbstractProxyModelPrivate::setModelForwarder, &QAbstractProxyModelPrivate::modelChangedForwarder, &(QAbstractProxyModelPrivate::getModelForwarder() const)>::setBinding (this=0x60cd7f833d30, newBinding=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qproperty_p.h:617
#21 operator() (__closure=0x0, d=0x60cd7f833d30, binding=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qproperty_p.h:748
#22 _FUN () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qproperty_p.h:747
#23 0x000073bf3aee5324 in QUntypedBindable::setBinding (this=<optimized out>, binding=...) at /usr/include/qt6/QtCore/qproperty.h:768
#24 QUntypedBindable::setBinding (this=0x7ffc59c459b0, binding=...) at /usr/include/qt6/QtCore/qproperty.h:768
#25 QQmlObjectCreator::finalize (this=0x60cd801834c0, interrupt=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1536
#26 0x000073bf3aeba467 in QQmlIncubatorPrivate::incubate (this=this@entry=0x60cd805c9790, i=...) at /usr/include/qt6/QtCore/qscopedpointer.h:90
#27 0x000073bf3aebae78 in QQmlEnginePrivate::incubate (this=0x60cd7db74c70, i=..., forContext=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlincubator.cpp:53
#28 0x000073bf3ae7dbf1 in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, forContext=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1491
#29 0x000073bf3c4d6868 in SharedQmlEngine::completeInitialization (this=0x60cd7ef7e600, initialProperties=...) at /usr/src/debug/kcmutils/kcmutils-6.3.0/src/qml/sharedqmlengine.cpp:242
#30 0x000073bf3c4d8a26 in SharedQmlEngine::completeInitialization (this=0x60cd7ef7e600, initialProperties=...) at /usr/include/qt6/QtCore/qstring.h:1167
#31 KQuickConfigModule::mainUi (this=this@entry=0x60cd80282bc0) at /usr/src/debug/kcmutils/kcmutils-6.3.0/src/qml/kquickconfigmodule.cpp:129
#32 0x000073bf3cbb935a in KCModuleLoader::loadModule (metaData=..., parent=parent@entry=0x60cd8035b650, args=..., eng=std::shared_ptr<QQmlEngine> (use count 4, weak count 0) = {...}) at /usr/src/debug/kcmutils/kcmutils-6.3.0/src/kcmoduleloader.cpp:84
#33 0x000060cd3ec8b2f7 in ModuleView::addModule (this=0x60cd7dc475b0, item=<optimized out>, args=...) at /usr/src/debug/systemsettings/systemsettings-6.1.0/app/ModuleView.cpp:277
#34 0x000060cd3ec7fe55 in SidebarMode::loadModule (this=0x60cd7dd180a0, activeModule=..., args=...) at /usr/src/debug/systemsettings/systemsettings-6.1.0/app/SidebarMode.cpp:327
#35 0x000060cd3ec8082d in SidebarMode::loadModule (this=<optimized out>, activeModule=..., args=...) at /usr/include/qt6/QtCore/qabstractitemmodel.h:142
#36 0x000060cd3ec81bdf in SidebarMode::qt_static_metacall (_o=_o@entry=0x60cd7dd180a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=16, _a=_a@entry=0x7ffc59c467e8) at /usr/src/debug/systemsettings/build/app/systemsettings_autogen/include/moc_SidebarMode.cpp:576
#37 0x000060cd3ec8267f in SidebarMode::qt_metacall (this=0x60cd7dd180a0, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7ffc59c467e8) at /usr/src/debug/systemsettings/build/app/systemsettings_autogen/include/moc_SidebarMode.cpp:706
#38 0x000073bf3aef189b in QQmlObjectOrGadget::metacall (this=0x7ffc59c46ab0, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:14
#39 0x000073bf3adcdcce in QV4::CallMethod (object=..., index=<optimized out>, returnType=..., argCount=<optimized out>, argTypes=<optimized out>, engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at /usr/include/qt6/QtCore/qvarlengtharray.h:84
#40 QV4::CallPrecise (object=..., data=..., engine=<optimized out>, engine@entry=0x60cd7da8da40, callArgs=<optimized out>, callArgs@entry=0x73bf301bf5b0, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1950
#41 0x000073bf3add0999 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2924
#42 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const QV4::Value*, int) const::<lambda()> > (__closure=<synthetic pointer>, call=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2901
#43 QV4::QObjectMethod::callInternal (this=0x7ffc59c46b88, thisObject=<optimized out>, argv=0x73bf301bf550, argc=1) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2924
#44 0x000073bf3adea97d in QV4::Runtime::CallPropertyLookup::call (engine=0x60cd7da8da40, base=..., index=<optimized out>, argv=0x73bf301bf550, argc=1) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1507
Comment 3 Antonio Rojas 2024-06-20 22:31:47 UTC

*** This bug has been marked as a duplicate of bug 488795 ***
Comment 4 Nate Graham 2024-06-20 22:49:22 UTC

*** This bug has been marked as a duplicate of bug 487655 ***