Bug 459553 - Plasma crashes using a screen-keyboard-mouse switch
Summary: Plasma crashes using a screen-keyboard-mouse switch
Status: RESOLVED DUPLICATE of bug 449981
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-23 07:02 UTC by Jose Vicente Gómez Jiménez
Modified: 2022-09-23 15:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Plasma crashes using a screem-keyboard-mouse switch (14.73 KB, text/vnd.kde.kcrash-report)
2022-09-23 07:02 UTC, Jose Vicente Gómez Jiménez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Vicente Gómez Jiménez 2022-09-23 07:02:05 UTC
Created attachment 152358 [details]
Plasma crashes using a screem-keyboard-mouse switch

SUMMARY
***
I'm using a monitor-keyboar-mouse switch between my two computers. When I return to the first computer from the other one plasma always crashes.
***

STEPS TO REPRODUCE
1. I use my keyboard-screen-mouse switch to control my other PC
2. Then I return to the first one plasma shell always crashes.
3. 

OBSERVED RESULT

Plasma fixes itself immediately yet moving all the windows in my two monitors and it's annoying it happens every time I use the switch.

EXPECTED RESULT

Plasma doesn't crash when I switch between my two computers. :-P

SOFTWARE/OS VERSIONS

Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-150400.24.11-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION

Hardware:
Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Comment 1 Nate Graham 2022-09-23 13:52:03 UTC
Pasting backtrace inline for searchability:

Application: plasmashell (5.24.4)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.21-150400.24.11-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.4"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I have two computers connected to a screen-keyboard-mouse switch. When I return to my first computer from the other pc plasma always crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f4ccb957595 in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x40403b13fffff04c) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed() const (this=0x40403b13fffff04c) at /usr/include/qt5/QtCore/qbasicatomic.h:107
#7  QtPrivate::RefCount::isShared() const (this=0x40403b13fffff04c) at /usr/include/qt5/QtCore/qrefcount.h:101
#8  QVector<QQuickPointerEvent*>::isDetached() const (this=0x69dee80) at /usr/include/qt5/QtCore/qvector.h:113
#9  QVector<QQuickPointerEvent*>::detach() (this=0x69dee80) at /usr/include/qt5/QtCore/qvector.h:399
#10 QVector<QQuickPointerEvent*>::begin() (this=0x69dee80) at /usr/include/qt5/QtCore/qvector.h:210
#11 QQuickWindowPrivate::queryPointerEventInstance(QQuickPointerDevice*, QEvent::Type) const (this=this@entry=0x69dece0, device=0x7f4ccbe34be0 <(anonymous namespace)::Q_QGS_g_genericMouseDevice::innerFunction()::holder>, eventType=eventType@entry=QEvent::None) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickwindow.cpp:2498
#12 0x00007f4ccb95774a in QQuickWindow::mouseGrabberItem() const (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickwindow.cpp:1739
#13 0x00007f4ccb95a0c7 in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) (this=0x69dece0, grabber=grabber@entry=0x31fd690, mouse=mouse@entry=true, touch=touch@entry=true) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickwindow.cpp:1001
#14 0x00007f4ccb93d552 in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x2065fa0, newEffectiveVisible=newEffectiveVisible@entry=true) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:6067
#15 0x00007f4ccb93d587 in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=this@entry=0x27b5810, newEffectiveVisible=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:6072
#16 0x00007f4ccb93d703 in QQuickItemPrivate::setVisible(bool) (this=0x27b5810, visible=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickitem.cpp:5975
#17 0x00007f4ccb947a10 in QQuickItem::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x2766d90, _c=_c@entry=QMetaObject::WriteProperty, _id=_id@entry=11, _a=_a@entry=0x7ffcd9ae3600) at .moc/moc_qquickitem.cpp:975
#18 0x00007f4ccb947f33 in QQuickItem::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x2766d90, _c=_c@entry=QMetaObject::WriteProperty, _id=11, _a=_a@entry=0x7ffcd9ae3600) at .moc/moc_qquickitem.cpp:1048
#19 0x00007f4cce1abb85 in PlasmaQuick::AppletQuickItem::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x2766d90, _c=_c@entry=QMetaObject::WriteProperty, _id=<optimized out>, _a=_a@entry=0x7ffcd9ae3600) at /usr/src/debug/plasma-framework-5.90.0-bp154.1.42.x86_64/build/src/plasmaquick/KF5PlasmaQuick_autogen/include/moc_appletquickitem.cpp:364
#20 0x00007f4ca79d1745 in AppletInterface::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x2766d90, _c=_c@entry=QMetaObject::WriteProperty, _id=<optimized out>, _a=_a@entry=0x7ffcd9ae3600) at /usr/src/debug/plasma-framework-5.90.0-bp154.1.42.x86_64/build/src/scriptengines/qml/plasma_appletscript_declarative_autogen/include/moc_appletinterface.cpp:850
#21 0x00007f4ca79de8e5 in ContainmentInterface::qt_metacall(QMetaObject::Call, int, void**) (this=0x2766d90, _c=QMetaObject::WriteProperty, _id=<optimized out>, _a=0x7ffcd9ae3600) at /usr/src/debug/plasma-framework-5.90.0-bp154.1.42.x86_64/build/src/scriptengines/qml/plasma_appletscript_declarative_autogen/include/moc_containmentinterface.cpp:453
#22 0x00007f4ccadf6352 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (this=this@entry=0x7f4ca00a0bb8, target=target@entry=0x2766d90, value=<optimized out>, flags=...) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/qml/qqmlpropertydata_p.h:379
#23 0x00007f4ccadf4197 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) (object=object@entry=0x2766d90, property=..., value=..., context=0x2e00810, flags=..., flags@entry=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/qml/qqmlproperty.cpp:1246
#24 0x00007f4ccad1b783 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) (engine=engine@entry=0x245ac90, object=object@entry=0x2766d90, property=0x7f4ca00a0bb8, value=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:565
#25 0x00007f4ccad1c4ce in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (engine=0x245ac90, qmlContext=<optimized out>, object=0x2766d90, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:435
#26 0x00007f4ccad1c61b in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) (m=0x7f4ca6d78580, id=..., value=..., receiver=0x7f4ca6d78580) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:722
#27 0x00007f4ccac9af08 in QV4::Object::put(QV4::StringOrSymbol*, QV4::Value const&, QV4::Value*) (receiver=0x7f4ca6d78580, v=..., name=0x7f4ca6d78588, this=0x7f4ca6d78588) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/jsruntime/qv4object_p.h:318
#28 QV4::Lookup::setterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value&, QV4::Value const&) (l=<optimized out>, engine=0x245ac90, object=<optimized out>, value=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/jsruntime/qv4lookup.cpp:497
#29 0x00007f4ccad36358 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffcd9ae3b40, engine=0x245ac90, code=0x7f4cce4dd94c ".':(\030\aVL\026.):*\030\b.+^\bL\n.,\030\t\b>-\tHM..:/\030\t.0:1>2\t.3:4\030\t.5:6>7\t.8:9\030\t.::;><\t.=:>\030\t.?:@>A\t.B:CL\n.D:E\030\t\n>F\t.G\030\t.H>I\t\026\006\002") at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:653
#30 0x00007f4ccad3b066 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffcd9ae3b40, engine=engine@entry=0x245ac90) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:463
#31 0x00007f4ccaccab3a in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=this@entry=0x2a60d70, thisObject=thisObject@entry=0x7f4ca6d784e8, argv=argv@entry=0x7f4ca6d78500, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/jsruntime/qv4function.cpp:69
#32 0x00007f4ccae5c7a7 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x5889640, callData=callData@entry=0x7f4ca6d784d0, isUndefined=isUndefined@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/qml/qqmljavascriptexpression.cpp:212
#33 0x00007f4ccae03d39 in QQmlBoundSignalExpression::evaluate(void**) (this=this@entry=0x5889640, a=a@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/qml/qqmlboundsignal.cpp:224
#34 0x00007f4ccae04f8b in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x56d2fa0, a=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/qml/qqmlboundsignal.cpp:361
#35 0x00007f4ccae3b0c3 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/qml/qqmlnotifier.cpp:104
#36 0x00007f4ccade6593 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x6c52a10, index=<optimized out>, a=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/qml/qqmlengine.cpp:834
#37 0x00007f4cc844de54 in doActivate<false>(QObject*, int, void**) (sender=0x6c52a10, signal_index=30, argv=argv@entry=0x0) at kernel/qobject.cpp:3778
#38 0x00007f4cc8447899 in QMetaObject::activate(QObject*, int, int, void**) (sender=<optimized out>, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x0) at kernel/qobject.cpp:3959
#39 0x00007f4ccadde795 in QQmlVMEMetaObject::activate(QObject*, int, void**) (this=this@entry=0x6d32480, object=<optimized out>, index=<optimized out>, args=args@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/qml/qqmlvmemetaobject.cpp:1312
#40 0x00007f4ccade0941 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=0x6d32480, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/qml/qml/qqmlvmemetaobject.cpp:880
#41 0x00007f4cc84205c5 in QMetaProperty::write(QObject*, QVariant const&) const (this=this@entry=0x7ffcd9ae5ac0, object=object@entry=0x6c52a10, value=...) at kernel/qmetaobject.cpp:3258
#42 0x00007f4cc844ca30 in QObject::setProperty(char const*, QVariant const&) (this=this@entry=0x6c52a10, name=name@entry=0x7f4cce1cf80f "containment", value=...) at kernel/qobject.cpp:4070
#43 0x00007f4cce1b76c4 in PlasmaQuick::ContainmentViewPrivate::setContainment(Plasma::Containment*) (this=0x20adb40, cont=cont@entry=0x27c2d90) at /usr/src/debug/plasma-framework-5.90.0-bp154.1.42.x86_64/src/plasmaquick/containmentview.cpp:124
#44 0x00007f4cce1b7ed9 in PlasmaQuick::ContainmentView::setContainment(Plasma::Containment*) (this=this@entry=0x5f2d2c0, cont=cont@entry=0x27c2d90) at /usr/src/debug/plasma-framework-5.90.0-bp154.1.42.x86_64/src/plasmaquick/containmentview.cpp:251
#45 0x000000000044609b in ShellCorona::addOutput(QScreen*) (this=0x7f4cb0003e00, screen=<optimized out>) at /usr/src/debug/plasma5-workspace-5.24.4-bp154.1.23.x86_64/shell/shellcorona.cpp:1150
#46 0x00007f4cc844e217 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcd9ae5e10, r=0x7f4cb0003e00, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#47 doActivate<false>(QObject*, int, void**) (sender=0x2688b90, signal_index=3, argv=0x7ffcd9ae5e10) at kernel/qobject.cpp:3886
#48 0x00007f4cc84476c2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x2688b90, m=m@entry=0x69a6c0 <ScreenPool::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd9ae5e10) at kernel/qobject.cpp:3946
#49 0x00000000004607c6 in ScreenPool::screenAdded(QScreen*) (_t1=<optimized out>, this=0x2688b90) at /usr/src/debug/plasma5-workspace-5.24.4-bp154.1.23.x86_64/build/shell/plasmashell_autogen/include/moc_screenpool.cpp:159
#50 ScreenPool::handleScreenAdded(QScreen*) (this=0x2688b90, screen=<optimized out>) at /usr/src/debug/plasma5-workspace-5.24.4-bp154.1.23.x86_64/shell/screenpool.cpp:413
#51 0x00007f4cc844e217 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcd9ae5f60, r=0x2688b90, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#52 doActivate<false>(QObject*, int, void**) (sender=0x7ffcd9ae6470, signal_index=9, argv=0x7ffcd9ae5f60) at kernel/qobject.cpp:3886
#53 0x00007f4cc84476c2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f4cc91fa3e0 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcd9ae5f60) at kernel/qobject.cpp:3946
#54 0x00007f4cc8a5db62 in QGuiApplication::screenAdded(QScreen*) (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qguiapplication.cpp:389
#55 0x00007f4cc8a454a2 in QWindowSystemInterface::handleScreenAdded(QPlatformScreen*, bool) (ps=<optimized out>, isPrimary=<optimized out>) at kernel/qwindowsysteminterface.cpp:826
#56 0x00007f4cb9649c07 in QXcbConnection::createScreen(QXcbVirtualDesktop*, xcb_randr_output_change_t const&, xcb_randr_get_output_info_reply_t*) (this=this@entry=0x207d070, virtualDesktop=virtualDesktop@entry=0x208d660, outputChange=..., outputInfo=outputInfo@entry=0x6798810) at qxcbconnection_screens.cpp:239
#57 0x00007f4cb964a8a0 in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) (this=this@entry=0x207d070, event=event@entry=0x7f4cb000b8b0) at qxcbconnection_screens.cpp:158
#58 0x00007f4cb9622ac6 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x207d070, event=event@entry=0x7f4cb000b8b0) at qxcbconnection.cpp:690
#59 0x00007f4cb9622d86 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x207d070, flags=flags@entry=...) at qxcbconnection.cpp:1020
#60 0x00007f4cb9647c93 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:103
#61 0x00007f4cc10597fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#62 0x00007f4cc1059ba0 in  () at /usr/lib64/libglib-2.0.so.0
#63 0x00007f4cc1059c2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#64 0x00007f4cc84730dc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x21a5580, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#65 0x00007f4cc840f33a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcd9ae6350, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#66 0x00007f4cc8418b37 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1375
#67 0x0000000000420740 in main(int, char**) (argc=<optimized out>, argv=0x7ffcd9ae6480) at /usr/src/debug/plasma5-workspace-5.24.4-bp154.1.23.x86_64/shell/main.cpp:238
[Inferior 1 (process 2599) detached]

Possible duplicates by query: bug 454666, bug 452660, bug 450900, bug 449981, bug 445417.

Informar a https://bugs.kde.org/
Comment 2 Nate Graham 2022-09-23 15:18:56 UTC

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