https://bugs.kde.org/show_bug.cgi?id=455060
Bug ID: 455060 Summary: Restarting kwin_x11 systemd service on Wayland causes kwin_wayland to crash Product: kwin Version: git master Platform: Other OS: Linux Status: REPORTED Keywords: drkonqi, wayland Severity: normal Priority: NOR Component: compositing Assignee: kwin-bugs-n...@kde.org Reporter: qydwhotm...@gmail.com Target Milestone: --- Flags: Wayland+ SUMMARY If I restart plasma-kwin_x11.service on Wayland, the whole desktop becomes unusable because kwin_wayland continues crashing. STEPS TO REPRODUCE 1. Log in to a Wayland session 2. Run `systemctl --user restart plasma-kwin_x11` 3. Crash OBSERVED RESULT kwin_wayland continues crashing EXPECTED RESULT No crash, and nothing should happen SOFTWARE/OS VERSIONS Information for package kwin5: ------------------------------ Repository : @System Name : kwin5 Version : 5.25.80git.20220607T115826~419c0b81-ku.147.1 Arch : x86_64 Vendor : obs://build.opensuse.org/KDE:Unstable Installed Size : 16.8 MiB Installed : Yes Status : up-to-date Source package : kwin5-5.25.80git.20220607T115826~419c0b81-ku.147.1.src Upstream URL : http://www.kde.org Summary : KDE Window Manager Description : KWin is the window manager of the K desktop environment. ADDITIONAL INFORMATION (gdb) bt #0 KSelectionOwner::filterEvent(void*) (this=0x55beeb5fd770, ev_P=<optimized out>) at /usr/src/debug/kwindowsystem-5.95.0git.20220604T082407~faae3bc-ku.5.2.x86_64/src/platforms/xcb/kselectionowner.cpp:380 #1 0x00007fcde6e050ef in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x55beeb4c2430, result=result@entry=0x7ffc1e2e3098) at kernel/qabstracteventdispatcher.cpp:495 #2 0x000055bee874c520 in KWin::Xwl::Xwayland::dispatchEvents() (this=0x55beea803d70) at /usr/src/debug/kwin5-5.25.80git.20220607T115826~419c0b81-ku.147.1.x86_64/src/xwayland/xwayland.cpp:123 #3 0x00007fcde6e3e453 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1e2e31e0, r=0x55beea803d70, this=0x55beea0c14f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #4 doActivate<false>(QObject*, int, void**) (sender=0x55beeb4c46a0, signal_index=3, argv=0x7ffc1e2e31e0) at kernel/qobject.cpp:3886 #5 0x00007fcde6e377af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55beeb4c46a0, m=m@entry=0x7fcde70dd880, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc1e2e31e0) at kernel/qobject.cpp:3946 #6 0x00007fcde6e4183f in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) (this=this@entry=0x55beeb4c46a0, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178 #7 0x00007fcde6e4203b in QSocketNotifier::event(QEvent*) (this=0x55beeb4c46a0, e=0x7ffc1e2e3300) at kernel/qsocketnotifier.cpp:302 #8 0x00007fcde631db0f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55beeb4c46a0, e=0x7ffc1e2e3300) at kernel/qapplication.cpp:3632 #9 0x00007fcde6e07b5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55beeb4c46a0, event=0x7ffc1e2e3300) at kernel/qcoreapplication.cpp:1064 #10 0x00007fcde6e5c67b in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x55beea09dd30) at kernel/qeventdispatcher_unix.cpp:304 #11 0x00007fcde6e5cadb in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511 #12 0x000055bee8807ecd in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63 #13 0x00007fcde6e0655b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc1e2e3490, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #14 0x00007fcde6e0e820 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #15 0x00007fcde725861c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867 #16 0x00007fcde631da85 in QApplication::exec() () at kernel/qapplication.cpp:2824 #17 0x000055bee87348e0 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin5-5.25.80git.20220607T115826~419c0b81-ku.147.1.x86_64/src/main_wayland.cpp:643 -- You are receiving this mail because: You are watching all bug changes.