Bug 476622

Summary: kwin_wayland crashes when switching to TTY and back
Product: [Plasma] kwin Reporter: Nicolas Fella <nicolas.fella>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: nate
Priority: NOR Keywords: qt6
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicolas Fella 2023-11-06 10:59:48 UTC
STEPS TO REPRODUCE
1. On the (frozen) lockscreen, switch to TTY via Ctrl+Alt+F3
2. login
3. run loginctl unlock-session 2
4. Switch back to session

#0  0x00007f5e24441504 in KWin::TabBox::ClientModel::data(QModelIndex const&, int) const (this=0x140dc80, index=<optimized out>, role=<optimized out>)
    at /home/nico/kde/src/kwin/src/tabbox/clientmodel.cpp:72
#1  0x00007f5e23dbe61f in QModelIndex::data(int) const (arole=263, this=0x7fff75df3870) at /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qabstractitemmodel.h:493
#2  QQmlDMAbstractItemModelData::value(int) const (this=this@entry=0x2b81160, role=263) at /home/nico/workspace/qt6/qtdeclarative/src/qmlmodels/qqmldmabstractitemmodeldata.cpp:229
#3  0x00007f5e23dbebba in QQmlDMAbstractItemModelData::metaCall(QMetaObject::Call, int, void**) (this=0x2b81160, call=<optimized out>, id=<optimized out>, arguments=0x7fff75df3980)
    at /home/nico/workspace/qt6/qtdeclarative/src/qmlmodels/qqmldmabstractitemmodeldata.cpp:30
#4  0x00007f5e22e2b1fe in QQmlPropertyData::readProperty(QObject*, void*) const (property=0x7fff75df39a0, target=0x2b81160, this=0x2875ad0)
    at /home/nico/workspace/qt6/qtbase/include/QtQml/6.6.1/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:311
#5  QV4::loadProperty(QV4::ExecutionEngine*, QV4::Heap::Object*, QObject*, QQmlPropertyData const&) (v4=0x1487d70, wrapper=0x7f5dfc47cbe0, object=0x2b81160, property=...)
    at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:179
#6  0x00007f5dc1b24077 in  ()
#7  0x0000000000000000 in  ()


SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 6.6

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-11-08 21:17:41 UTC
This is fixed today; I talked to Vlad and he was aware of it.