Bug 503921

Summary: KVM/Plasma 6 crash when using KVM switch
Product: [Plasma] plasmashell Reporter: synlic
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/174591/events/c7639aaf3e1b48b68c20865d5dd23b6f/
Attachments: New crash information added by DrKonqi

Description synlic 2025-05-08 11:48:31 UTC
Application: plasmashell (6.3.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.13.0
Operating System: Linux 6.14.4-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
Everytime I switch back to my computer with KVM, it crashes. It's not fatal crash and the shell is resumed after the crash. 

Using a Startech SV231DPDDUA2 switch.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  0x00007c9a92cda43c in QQmlData::wasDeleted (priv=0x52) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:307
#5  QQmlData::wasDeleted (object=0x5afa5352ed70) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:322
#6  QV4::QObjectWrapper::wrap (engine=0x5afa534571e0, object=0x5afa5352ed70) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper_p.h:245
#7  0x00007c9a92dd8bab in QV4::loadProperty (v4=<optimized out>, wrapper=<optimized out>, object=<optimized out>, property=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:126
#8  0x00007c9a92dda2ba in QV4::QObjectWrapper::getQmlProperty (engine=0x5afa534571e0, qmlContext=..., wrapper=0x7c9a68418d40, object=0x5afa534a26d0, name=0x7c9a701be5c8, flags=..., hasProperty=0x0, property=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:525


Reported using DrKonqi
Comment 1 synlic 2025-05-08 11:48:32 UTC
Created attachment 181062 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2025-05-08 15:22:53 UTC
Thread 1 (Thread 0x7c9a8bd16a40 (LWP 25342)):
[KCrash Handler]
#4  0x00007c9a92cda43c in QQmlData::wasDeleted (priv=0x52) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:307
#5  QQmlData::wasDeleted (object=0x5afa5352ed70) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:322
#6  QV4::QObjectWrapper::wrap (engine=0x5afa534571e0, object=0x5afa5352ed70) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper_p.h:245
#7  0x00007c9a92dd8bab in QV4::loadProperty (v4=<optimized out>, wrapper=<optimized out>, object=<optimized out>, property=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:126
#8  0x00007c9a92dda2ba in QV4::QObjectWrapper::getQmlProperty (engine=0x5afa534571e0, qmlContext=..., wrapper=0x7c9a68418d40, object=0x5afa534a26d0, name=0x7c9a701be5c8, flags=..., hasProperty=0x0, property=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:525
#9  0x00007c9a92f9853d in QV4::QQmlTypeWrapper::virtualGet (m=0x7c9a701be5b8, id=..., receiver=0x7c9a701be5b8, hasProperty=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmltypewrapper_p.h:107
#10 0x00007c9a92db2568 in QV4::Object::get (receiver=0x7c9a701be5b8, this=0x7c9a701be5b8, name=<optimized out>, hasProperty=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4string_p.h:140
#11 QV4::Lookup::getterFallback (lookup=<optimized out>, engine=0x5afa534571e0, object=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4lookup.cpp:241
#12 0x00007c9a92f99523 in QV4::QQmlTypeWrapper::virtualResolveLookupGetter (object=0x7c9a701be538, engine=0x5afa534571e0, lookup=0x5afa546c3fa8) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmltypewrapper.cpp:698
#13 0x00007c9a92e45bf1 in QV4::Moth::VME::interpret (frame=0x5afa534571e0, frame@entry=0x7fff916c02e0, engine=0x5afa534571e0, code=0x7c99f009367e "<;<<N\b\022X\030\t\264=\001\t\030\006\002") at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:674
#14 0x00007c9a92e480ba in QV4::Moth::VME::exec (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:487
#15 0x00007c9a92d96744 in QV4::doCall (self=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:52
#16 0x00007c9a92ee0723 in QQmlJavaScriptExpression::evaluate (this=0x5afa5469a0e0, callData=0x7c9a701be4f8, isUndefined=0x7fff916c04a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:238
#17 0x00007c9a92e70844 in QQmlBinding::evaluate (this=0x5afa5469a0e0, isUndefined=0x7fff916c04a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:195
#18 0x00007c9a92e7c8f9 in QQmlBinding::doUpdate (this=0x5afa5469a0e0, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:713
#19 0x00007c9a92e73c6e in QQmlBinding::update (this=0x5afa5469a0e0, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:165
#20 0x00007c9a92f0dbf6 in QQmlObjectCreator::finalize (this=0x5afa5469a830, interrupt=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1538
#21 0x00007c9a92e95c29 in QQmlComponentPrivate::complete (enginePriv=0x5afa5349a950, state=state@entry=0x5afa5473c918) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/ftw/qbipointer_p.h:133
#22 0x00007c9a92e9913b in QQmlComponentPrivate::completeCreate (this=0x5afa5473c860) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1325
#23 0x00007c9a94721c7b in PlasmaQuick::SharedQmlEngine::completeInitialization (this=0x5afa546c2630, initialProperties=...) at /usr/src/debug/libplasma/libplasma-6.3.4/src/plasmaquick/sharedqmlengine.cpp:270
#24 0x00007c9a94704245 in PlasmaQuick::AppletQuickItem::itemForApplet (applet=<optimized out>) at /usr/include/qt6/QtCore/qhash.h:843
#25 0x00007c9a9473508a in ContainmentItem::init (this=0x5afa544991c0) at /usr/src/debug/libplasma/libplasma-6.3.4/src/plasmaquick/plasmoid/containmentitem.cpp:78
#26 0x00007c9a92f0e004 in QQmlObjectCreator::finalize (this=0x5afa54487120, interrupt=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1597
#27 0x00007c9a92e95c29 in QQmlComponentPrivate::complete (enginePriv=0x5afa5349a950, state=state@entry=0x5afa54442ae8) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/ftw/qbipointer_p.h:133
#28 0x00007c9a92e9913b in QQmlComponentPrivate::completeCreate (this=0x5afa54442a30) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1325
#29 0x00007c9a94721c7b in PlasmaQuick::SharedQmlEngine::completeInitialization (this=0x5afa54445c20, initialProperties=...) at /usr/src/debug/libplasma/libplasma-6.3.4/src/plasmaquick/sharedqmlengine.cpp:270
#30 0x00007c9a94704245 in PlasmaQuick::AppletQuickItem::itemForApplet (applet=<optimized out>) at /usr/include/qt6/QtCore/qhash.h:843
#31 0x00007c9a94719ec6 in PlasmaQuick::ContainmentViewPrivate::setContainment (this=0x5afa54499640, cont=0x5afa534771d0) at /usr/src/debug/libplasma/libplasma-6.3.4/src/plasmaquick/containmentview.cpp:113
#32 0x00007c9a9471a16d in PlasmaQuick::ContainmentView::setContainment (this=<optimized out>, cont=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.3.4/src/plasmaquick/containmentview.cpp:260
#33 0x00005afa28acf20f in ShellCorona::createWaitingPanels (this=0x5afa5317b1d0) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.4/shell/shellcorona.cpp:1608
#34 0x00007c9a91bb6cc9 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:461
#35 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4138
#36 0x00007c9a91bbd8a5 in QMetaObject::activate<void, QTimer::QPrivateSignal> (sender=0x5afa5317b2e0, mo=<optimized out>, local_signal_index=0, ret=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs.h:306
#37 QTimer::timeout (this=0x5afa5317b2e0, _t1=...) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qtimer.cpp:182
#38 QTimer::timerEvent (e=<optimized out>, this=0x5afa5317b2e0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimer.cpp:285
#39 QTimer::timerEvent (this=0x5afa5317b2e0, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimer.cpp:279
#40 0x00007c9a91ba5459 in QObject::event (this=0x5afa5317b2e0, e=0x7fff916c1830) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1406
#41 0x00007c9a93cfed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5afa5317b2e0, e=0x7fff916c1830) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#42 0x00007c9a91b5a018 in QCoreApplication::notifyInternal2 (receiver=0x5afa5317b2e0, event=0x7fff916c1830) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#43 0x00007c9a91cde200 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7fff916c1830) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1546
#44 QTimerInfoList::activateTimers (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:426
#45 0x00007c9a91dcfe61 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:152
#46 idleTimerSourceDispatch (source=source@entry=0x5afa52b78a40) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:199
#47 0x00007c9a906801e4 in g_main_dispatch (context=0x7c9a84000f00) at ../glib/glib/gmain.c:3398
#48 0x00007c9a906e3e97 in g_main_context_dispatch_unlocked (context=0x7c9a84000f00) at ../glib/glib/gmain.c:4249
#49 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7c9a84000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4314
#50 0x00007c9a9067f615 in g_main_context_iteration (context=0x7c9a84000f00, may_block=1) at ../glib/glib/gmain.c:4379
#51 0x00007c9a91dcd59d in QEventDispatcherGlib::processEvents (this=0x5afa52abd200, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#52 0x00007c9a91b65376 in QEventLoop::processEvents (this=0x7fff916c1b10, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#53 QEventLoop::exec (this=0x7fff916c1b10, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#54 0x00007c9a91b5d159 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:77
#55 0x00007c9a93cfb14a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2568
#56 0x00005afa28a991cb in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.4/shell/main.cpp:191
Comment 3 Nate Graham 2025-05-08 15:25:53 UTC

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