Bug 452809 - System settings crashes in InputDevice::Prop<QString>::isSupported when switching between "drawing tablet" and "graphic tablet" in Wayland
Summary: System settings crashes in InputDevice::Prop<QString>::isSupported when switc...
Status: RESOLVED DUPLICATE of bug 451233
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_tablet (show other bugs)
Version: 5.24.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2022-04-20 21:09 UTC by robin
Modified: 2022-04-21 14:31 UTC (History)
2 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 robin 2022-04-20 21:09:01 UTC
Application: systemsettings (5.24.4)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.15.0-25-generic x86_64
Windowing System: Wayland
Distribution: Ubuntu 22.04 LTS
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
1. Open system settings
2. Go to input devices
3. Switch between "graphic tablet" and "drawing tablet" multiple times
4. Observe crash

I am using Wayland.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f8a2c040820 in ?? ()
#5  0x00007f8a9314fce9 in InputDevice::Prop<QString>::isSupported (this=0x55f5f1a2cc30) at ./obj-x86_64-linux-gnu/kcms/tablet/kcm_tablet_autogen/EWIEGA46WW/../../../../../kcms/tablet/inputdevice.h:147
#6  InputDevice::Prop<QString>::value (this=0x55f5f1a2cc30) at ./obj-x86_64-linux-gnu/kcms/tablet/kcm_tablet_autogen/EWIEGA46WW/../../../../../kcms/tablet/inputdevice.h:115
#7  0x00007f8a93150481 in InputDevice::name (this=<optimized out>) at ./kcms/tablet/inputdevice.h:39
#8  DevicesModel::data (this=<optimized out>, index=..., role=0) at ./kcms/tablet/devicesmodel.cpp:74
#9  0x00007f8aae713461 in QModelIndex::data (arole=<optimized out>, this=0x7ffc43c94a00) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:460
#10 VDMAbstractItemModelDataType::value (this=<optimized out>, model=..., index=0, role=...) at ./src/qmlmodels/qqmladaptormodel.cpp:477
#11 0x00007f8aae715a64 in QQmlAdaptorModel::value (role=..., index=<optimized out>, this=0x55f5f16bdf90) at ../../include/QtQmlModels/5.15.3/QtQmlModels/private/../../../../../src/qmlmodels/qqmladaptormodel_p.h:142
#12 QQmlDelegateModelPrivate::variantValue (this=<optimized out>, group=<optimized out>, index=index@entry=0, name=...) at ./src/qmlmodels/qqmldelegatemodel.cpp:1364
#13 0x00007f8aae715aa5 in QQmlDelegateModel::variantValue (this=this@entry=0x55f5f203c450, index=index@entry=0, role=...) at ./src/qmlmodels/qqmldelegatemodel.cpp:1381
#14 0x00007f8aab26dca0 in QQuickComboBoxDelegateModel::variantValue (this=0x55f5f203c450, index=0, role=...) at ./src/quicktemplates2/qquickcombobox.cpp:212
#15 0x00007f8aab26bd1d in QQmlInstanceModel::stringValue (role=..., index=0, this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQmlModels/5.15.3/QtQmlModels/private/qqmlobjectmodel_p.h:90
#16 QQuickComboBox::textAt (this=<optimized out>, index=0) at ./src/quicktemplates2/qquickcombobox.cpp:1621
#17 0x00007f8aab2ed46f in QQuickComboBox::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc43c94e70) at .moc/moc_qquickcombobox_p.cpp:409
#18 0x00007f8aab2edd63 in QQuickComboBox::qt_metacall (this=0x55f5f0cac5b0, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7ffc43c94e70) at .moc/moc_qquickcombobox_p.cpp:728
#19 0x00007f8aafaecc85 in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffc43c95100, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=109, argv=<optimized out>) at qml/qqmlobjectorgadget.cpp:51
#20 0x00007f8aaf9c8620 in CallMethod (callType=<optimized out>, callArgs=0x2, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:190
#21 CallPrecise (object=..., data=..., engine=engine@entry=0x55f5f0cb9d30, callArgs=callArgs@entry=0x7f8a5023c5e8, callType=callType@entry=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1569
#22 0x00007f8aaf9ca41b in CallOverloaded (callType=<optimized out>, propertyCache=<optimized out>, callArgs=<optimized out>, engine=<optimized out>, data=..., object=...) at jsruntime/qv4qobjectwrapper.cpp:1645
#23 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:2133
#24 0x00007f8aaf9f93de in QV4::FunctionObject::call (argc=1, argv=0x7f8a5023c540, thisObject=0x7f8a5023c598, this=0x7ffc43c95238) at jsruntime/qv4functionobject_p.h:202
#25 QV4::Runtime::CallPropertyLookup::call (engine=0x55f5f0cb9d30, base=..., index=<optimized out>, argv=0x7f8a5023c540, argc=1) at jsruntime/qv4runtime.cpp:1460
#26 0x00007f8a9308a294 in ?? ()
#27 0x0000000000000000 in ?? ()
[Inferior 1 (process 104880) detached]

The reporter indicates this bug may be a duplicate of or related to bug 451233.

Possible duplicates by query: bug 451233.

Reported using DrKonqi
Comment 1 Nate Graham 2022-04-21 14:31:07 UTC

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