SUMMARY KWin suddenly crashed when trying to open a window. Couldn't reproduce for the second time. STEPS TO REPRODUCE 1. Click Discover icon in the system tray 2. 3. OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.102 Qt Version: 5.15.7 ADDITIONAL INFORMATION (gdb) bt #0 __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at pthread_sigmask.c:43 #1 0x00007f10ec95eafd in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25 #2 0x00007f10efb3888b in KCrash::setCrashHandler(void (*)(int)) (handler=handler@entry=0x0) at /usr/src/debug/kcrash-5.101.0git.20221203T094416~fbbdfff/src/kcrash.cpp:415 #3 0x00007f10efb3ada6 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash-5.101.0git.20221203T094416~fbbdfff/src/kcrash.cpp:632 #4 0x00007f10ec95e8e0 in <signal handler called> () at /lib64/libc.so.6 #5 0x0000000000000050 in () #6 0x00007f10edce4c79 in QMetaObject::cast(QObject const*) const (this=0x7f10ef99ce00 <KWin::X11Window::staticMetaObject>, obj=obj@entry=0x55b04ba197d0) at kernel/qmetaobject.cpp:389 #7 0x00007f10ef644a38 in qobject_cast<KWin::X11Window const*>(QObject const*) (object=0x55b04ba197d0) at /usr/include/qt5/QtCore/qobject.h:528 #8 KWin::computeLayer (window=0x55b04ba197d0) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/layers.cpp:507 #9 KWin::Workspace::constrainedStackingOrder() (this=this@entry=0x55b048a5cb80) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/layers.cpp:523 #10 0x00007f10ef644fb8 in KWin::Workspace::updateStackingOrder(bool) (propagate_new_windows=true, this=0x55b048a5cb80) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/layers.cpp:104 #11 KWin::Workspace::updateStackingOrder(bool) (this=0x55b048a5cb80, propagate_new_windows=<optimized out>) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/layers.cpp:96 #12 0x00007f10ef6453d0 in KWin::Workspace::blockStackingUpdates(bool) (block=<optimized out>, this=<optimized out>) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/layers.cpp:581 #13 KWin::Workspace::blockStackingUpdates(bool) (this=<optimized out>, block=<optimized out>) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/layers.cpp:572 #14 0x00007f10ef61853b in KWin::X11Window::windowEvent(xcb_generic_event_t*) (this=0x55b04ba197d0, e=e@entry=0x55b049220fb0) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/events.cpp:387 #15 0x00007f10ef61aaca in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) (this=0x55b048a5cb80, e=0x55b049220fb0) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/events.cpp:156 #16 0x00007f10edcd969f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x55b049220fb0, result=result@entry=0x7ffdd3e30ff8) at kernel/qabstracteventdispatcher.cpp:495 #17 0x00007f10e86f2daf in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x55b048686a30, event=event@entry=0x55b049220fb0) at qxcbconnection.cpp:579 #18 0x00007f10e86f4466 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55b048686a30, flags=...) at qxcbconnection.cpp:1065 #19 0x00007f10e871a0f3 in QXcbUnixEventDispatcher::~QXcbUnixEventDispatcher() (this=0x55b04ba197d0, __in_chrg=<optimized out>) at qxcbeventdispatcher.cpp:56 #20 QXcbUnixEventDispatcher::~QXcbUnixEventDispatcher() (this=0x55b04ba197d0, __in_chrg=<optimized out>) at qxcbeventdispatcher.cpp:56 #21 0x00007f10eb86aa90 in g_main_dispatch (context=0x7f10e0005010) at ../glib/gmain.c:3444 #22 g_main_context_dispatch (context=context@entry=0x7f10e0005010) at ../glib/gmain.c:4162 #23 0x00007f10eb86ae48 in g_main_context_iterate (context=context@entry=0x7f10e0005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4238 #24 0x00007f10eb86aedc in g_main_context_iteration (context=0x7f10e0005010, may_block=1) at ../glib/gmain.c:4303 #25 0x00007f10edd33b56 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55b048751430, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #26 0x00007f10edcdab9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdd3e31280, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #27 0x00007f10edce2d06 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #28 0x000055b046ad44d0 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin-5.26.80git.20221211T150128~ffad2dd7/src/main_x11.cpp:447
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.
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!