Bug 453310

Summary: kwin_wayland crashed in KWaylandServer::Display::dispatchEvents() while I wasn't interacting with the system
Product: [Plasma] kwin Reporter: Nate Graham <nate>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2022-05-02 17:53:23 UTC
Random crash, happened while I wasn't interacting with the system at all.



#0  0x00007f3e08a8ed64 in wl_signal_emit (data=0x4000000000, signal=0x4000000030)
    at ../src/wayland-server-core.h:480
#1  destroy_resource (element=0x4000000000, data=0x7ffe13909f8c, flags=0)
    at ../src/wayland-server.c:720
#2  0x00007f3e08a94c80 in for_each_helper
    (func=func@entry=0x7f3e08a8ed50 <destroy_resource>, data=data@entry=0x7ffe13909f8c, entries=0x424bd00, entries=<optimized out>) at ../src/wayland-util.c:376
#3  0x00007f3e08a95170 in wl_map_for_each
    (map=0x424bd00, func=0x7f3e08a8ed50 <destroy_resource>, data=0x7ffe13909f8c)
    at ../src/wayland-util.c:390
#4  0x00007f3e08a8f7b9 in wl_client_destroy (client=client@entry=0x424bcd0)
    at ../src/wayland-server.c:886
#5  0x00007f3e08a8f863 in destroy_client_with_error
    (reason=<optimized out>, client=<optimized out>) at ../src/wayland-server.c:324
#6  wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x424bcd0)
    at ../src/wayland-server.c:347
#7  0x00007f3e08a922f2 in wl_event_loop_dispatch (loop=0x229ec20, timeout=<optimized out>)
    at ../src/event-loop.c:1027
#8  0x00007f3e0a999388 in KWaylandServer::Display::dispatchEvents() (this=<optimized out>)
    at /home/nate/kde/src/kwin/src/wayland/display.cpp:114
#9  0x00007f3e08e553e9 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7ffe1390a380, r=<optimized out>, this=0x268bf70)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false>(QObject*, int, void**)
    (sender=0x2793cb0, signal_index=3, argv=0x7ffe1390a380) at kernel/qobject.cpp:3886
#11 0x00007f3e08e50367 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=sender@entry=0x2793cb0, m=m@entry=0x7f3e090fa460 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1390a380)
    at kernel/qobject.cpp:3946
#12 0x00007f3e08e57b8a in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) (this=this@entry=0x2793cb0, _t1=..., _t2=<optimized out>, _t3=...)
    at .moc/moc_qsocketnotifier.cpp:178
#13 0x00007f3e08e583a3 in QSocketNotifier::event(QEvent*) (this=0x2793cb0, e=0x7ffe1390a480)
    at kernel/qsocketnotifier.cpp:302
#14 0x00007f3e07ca1443 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    (this=<optimized out>, receiver=0x2793cb0, e=0x7ffe1390a480) at kernel/qapplication.cpp:3632
#15 0x00007f3e08e217d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    (receiver=0x2793cb0, event=0x7ffe1390a480) at kernel/qcoreapplication.cpp:1064
#16 0x00007f3e08e6fffe in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x2237f40)
    at kernel/qeventdispatcher_unix.cpp:304
#17 0x00007f3e08e70375 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511
#18 0x000000000053cc21 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
#19 0x00007f3e08e201e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
    (this=this@entry=0x7ffe1390a5f0, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x00007f3e08e28724 in QCoreApplication::exec() ()
    at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x00007f3e09267c40 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1860
#22 0x00007f3e07ca13b9 in QApplication::exec() () at kernel/qapplication.cpp:2824
#23 0x0000000000446e13 in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
    at /home/nate/kde/src/kwin/src/main_wayland.cpp:657
Comment 1 David Edmundson 2024-05-29 10:32:25 UTC
This bug is a crash report that is over a year old without any activity, as our software is always changing, the information in this ticket is unlikely to still be useful.

If this issue is still reproducible in a newer version of kwin (5.27.5 or 6.0) please reopen this ticket with a bumped version number or it will be closed in 30 days.
Comment 2 Bug Janitor Service 2024-06-13 03:46:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-06-28 03:47:50 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!