Bug 453635

Summary: Systtemsettings crashed inInputDevice::name() when opening Drawing Tablet settings
Product: [Applications] systemsettings Reporter: Srijan <srijan4>
Component: kcm_tabletAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, nate, srijan4
Priority: NOR Keywords: drkonqi
Version: 5.24.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Srijan 2022-05-10 17:29:36 UTC
Application: systemsettings (5.24.5)

Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.17.4-arch1-g14-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed: clicked on "Drawing Tablet" settings.

This does not happen always - I have not been able to reproduce it. But, I did click around a lot of settings before reaching the "Drawing Tablet" setting at the time it crashed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char, std::default_delete<char []> >> = {_M_t = std::tuple containing = {[1] = 0x0, [2] = {<No data fields>}}}, <No data fields>}}
[KCrash Handler]
#6  std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x171) at /usr/include/qt/QtCore/qrefcount.h:54
#7  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=...) at /usr/include/qt/QtCore/qatomic_cxx11.h:239
#8  QBasicAtomicInteger<int>::loadRelaxed() const (this=0x171) at /usr/include/qt/QtCore/qbasicatomic.h:107
#9  QtPrivate::RefCount::ref() (this=0x171) at /usr/include/qt/QtCore/qrefcount.h:55
#10 QString::QString(QString const&) (other=..., this=0x7ffd4e05f2d0) at /usr/include/qt/QtCore/qstring.h:1094
#11 InputDevice::Prop<QString>::value() const (this=0x5556ff742dc0) at /usr/src/debug/build/kcms/tablet/kcm_tablet_autogen/EWIEGA46WW/../../../../../plasma-desktop-5.24.5/kcms/tablet/inputdevice.h:119
#12 0x00007f0d3cebe631 in InputDevice::name() const (this=<optimized out>) at /usr/src/debug/plasma-desktop-5.24.5/kcms/tablet/inputdevice.h:39
#13 DevicesModel::data(QModelIndex const&, int) const (this=0x7ffd4e05f2d0, index=..., role=0) at /usr/src/debug/plasma-desktop-5.24.5/kcms/tablet/devicesmodel.cpp:74
#14 0x00007f0d93065538 in QModelIndex::data(int) const (arole=<optimized out>, this=0x7ffd4e05f330) at /usr/include/qt/QtCore/qabstractitemmodel.h:460
#15 VDMAbstractItemModelDataType::value(QQmlAdaptorModel const&, int, QString const&) const (this=<optimized out>, model=..., index=0, role=<optimized out>) at /usr/src/debug/qtdeclarative/src/qmlmodels/qqmladaptormodel.cpp:477
#16 0x00007f0d93068d20 in QQmlAdaptorModel::value(int, QString const&) const (role=..., index=<optimized out>, this=0x555700900830, this=<optimized out>, index=<optimized out>, role=<optimized out>) at ../../include/QtQmlModels/5.15.3/QtQmlModels/private/../../../../../../qtdeclarative/src/qmlmodels/qqmladaptormodel_p.h:142
#17 QQmlDelegateModelPrivate::variantValue(QQmlListCompositor::Group, int, QString const&) (this=<optimized out>, group=<optimized out>, index=index@entry=0, name=...) at /usr/src/debug/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1376
#18 0x00007f0d93068fc5 in QQmlDelegateModel::variantValue(int, QString const&) (this=this@entry=0x5556fffdd0b0, index=index@entry=0, role=...) at /usr/src/debug/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1393
#19 0x00007f0d8fd0d3c3 in QQuickComboBoxDelegateModel::variantValue(int, QString const&) (this=0x5556fffdd0b0, index=0, role=...) at /usr/src/debug/qtquickcontrols2/src/quicktemplates2/qquickcombobox.cpp:212
#20 0x00007f0d8fd0aead in QQmlInstanceModel::stringValue(int, QString const&) (role=..., index=0, this=<optimized out>) at /usr/include/qt/QtQmlModels/5.15.3/QtQmlModels/private/qqmlobjectmodel_p.h:90
#21 QQuickComboBox::textAt(int) const (this=<optimized out>, index=0) at /usr/src/debug/qtquickcontrols2/src/quicktemplates2/qquickcombobox.cpp:1621
#22 0x00007f0d8fd8faa1 in QQuickComboBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd4e05f7b0) at .moc/moc_qquickcombobox_p.cpp:409
#23 0x00007f0d8fd91cc3 in QQuickComboBox::qt_metacall(QMetaObject::Call, int, void**) (this=0x555700002cb0, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7ffd4e05f7b0) at .moc/moc_qquickcombobox_p.cpp:728
#24 0x00007f0d9481c396 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=0x7ffd4e05fa50, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:51
#25 0x00007f0d9471f23d in CallMethod (callType=<optimized out>, callArgs=0x7ffd4e05f838, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=<optimized out>) at /usr/include/qt/QtCore/qvarlengtharray.h:189
#26 CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=engine@entry=0x5557014ce690, callArgs=callArgs@entry=0x7f0cf91f25e8, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1568
#27 0x00007f0d94720182 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2130
#28 0x00007f0d9473f09e in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=1, argv=0x7f0cf91f2540, thisObject=0x7f0cf91f2598, this=0x7ffd4e05fba8) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:202
#29 QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value const&, unsigned int, QV4::Value*, int) (engine=0x5557014ce690, base=..., index=<optimized out>, argv=0x7f0cf91f2540, argc=1) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1460
#30 0x00007f0d3cb5d294 in  ()
#31 0x0000000000000000 in  ()
[Inferior 1 (process 5441) detached]

Possible duplicates by query: bug 443518, bug 429023, bug 421016, bug 407271, bug 396314.

Reported using DrKonqi
Comment 1 Nate Graham 2022-05-11 13:50:29 UTC

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