Bug 475531

Summary: VirtualBox: Plasma / KWin Wayland crashes in KWin::Xwl::Xwayland::dispatchEvents() at login in KDE Neon Unstable
Product: [Plasma] kwin Reporter: Lassi Väätämöinen <lassi.vaatamoinen>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: qt6
Version First Reported In: git master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Backtrace from coredumpctl

Description Lassi Väätämöinen 2023-10-12 19:36:52 UTC
SUMMARY
After dist-upgrade on 12th Oct 2023, KWin Wayland crashes at login 


STEPS TO REPRODUCE
1. Install KDE Neon Unstable to VirtualBox
2. Perform apt dist-upgrade
3. Log in to Plasma (Wayland) session.

OBSERVED RESULT
Plasma desktop not visible, black screen with piled-up crash report windows show up.

EXPECTED RESULT
Plasma desktop visible and functional.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon  Unstable
KDE Plasma Version:   5.27.80
KDE Frameworks Version:  5.240.0
Qt Version: 6.6.0
Comment 1 Lassi Väätämöinen 2023-10-12 19:49:21 UTC
Created attachment 162257 [details]
Backtrace from coredumpctl
Comment 2 Nate Graham 2023-10-12 19:53:42 UTC
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f726cb80ee9 in KSelectionOwner::filterEvent(void*) () from /lib/x86_64-linux-gnu/libKF6WindowSystem.so.6
[Current thread is 1 (Thread 0x7f72668eaac0 (LWP 2699))]
#0  0x00007f726cb80ee9 in KSelectionOwner::filterEvent(void*) () from /lib/x86_64-linux-gnu/libKF6WindowSystem.so.6
#1  0x00007f726b356f6f in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x5570c2c7a560, 
    result=result@entry=0x7fffee207ef8) at ./src/corelib/kernel/qabstracteventdispatcher.cpp:432
#2  0x00005570c04f2e73 in KWin::Xwl::Xwayland::dispatchEvents (this=0x5570c1cdf420, mode=<optimized out>) at xwayland/./src/xwayland/xwayland.cpp:247
#3  0x00007f726b3b0437 in QtPrivate::QSlotObjectBase::call (a=0x7fffee208050, r=0x5570c1cdf420, this=<optimized out>)
    at ./src/corelib/kernel/qobjectdefs_impl.h:433
#4  doActivate<false> (sender=0x5570c2cae350, signal_index=3, argv=0x7fffee208050) at ./src/corelib/kernel/qobject.cpp:4021
#5  0x00007f726b3aab97 in QMetaObject::activate (sender=sender@entry=0x5570c2cae350, m=m@entry=0x7f726b7844a0 <QSocketNotifier::staticMetaObject>, 
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffee208050) at ./src/corelib/kernel/qobject.cpp:4081
#6  0x00007f726b3bbdca in QSocketNotifier::activated (this=this@entry=0x5570c2cae350, _t1=..., _t2=<optimized out>, _t3=...)
    at ./obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:231
#7  0x00007f726b3bc539 in QSocketNotifier::event (this=0x5570c2cae350, e=<optimized out>) at ./src/corelib/kernel/qsocketnotifier.cpp:326
#8  0x00007f726c189576 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5570c2cae350, e=0x7fffee208180)
    at ./src/widgets/kernel/qapplication.cpp:3290
#9  0x00007f726b359c68 in QCoreApplication::notifyInternal2 (receiver=0x5570c2cae350, event=0x7fffee208180)
    at ./src/corelib/kernel/qcoreapplication.cpp:1118
#10 0x00007f726b4c83d6 in QEventDispatcherUNIXPrivate::activateSocketNotifiers (this=0x5570c1a87730) at ./src/corelib/kernel/qeventdispatcher_unix.cpp:268
#11 0x00007f726b4c8888 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ./src/corelib/kernel/qeventdispatcher_unix.cpp:477
#12 0x00007f726bdd87e1 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at ./src/gui/platform/unix/qunixeventdispatcher.cpp:27
#13 0x00007f726b366883 in QEventLoop::exec (this=this@entry=0x7fffee208300, flags=..., flags@entry=...) at ./src/corelib/global/qflags.h:34
#14 0x00007f726b3627e6 in QCoreApplication::exec () at ./src/corelib/global/qflags.h:74
#15 0x00007f726b9aa440 in QGuiApplication::exec () at ./src/gui/kernel/qguiapplication.cpp:1921
#16 0x00007f726c1894e9 in QApplication::exec () at ./src/widgets/kernel/qapplication.cpp:2569
#17 0x00005570c04d1185 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main_wayland.cpp:607
[?2004h(gdb) [?2004l
quit
Comment 3 Nate Graham 2023-10-12 19:54:19 UTC

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