Bug 441297 - kwin_wayland crashed in KWin::EglGbmBackend::removeOutput() when I tried to run Opera browser natively on Wayland
Summary: kwin_wayland crashed in KWin::EglGbmBackend::removeOutput() when I tried to r...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (show other bugs)
Version: git master
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 441360 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-08-21 13:45 UTC by Patrick Silva
Modified: 2022-05-25 04:35 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-08-21 13:45:35 UTC
SUMMARY
I tried to run Opera internet browser natively on Wayland running the following command in Konsole:

$opera-developer --enable-features=UseOzonePlatform --ozone-platform=wayland

kwin_wayland crashed immediately when Opera shown up on the screen.

kwin_wayland did not crash again when I repeated the same steps after re-login though.

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Graphics Platform: Wayland


Thread 5 (Thread 0x7faf2cc86700 (LWP 8403)):
#0  0x00007faf4ef8eaff in __GI___poll (fds=0x7faf18004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faf4d1aa36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7faf18004e60, timeout=<optimized out>, context=0x7faf18000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7faf18000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007faf4d1aa4a3 in g_main_context_iteration (context=0x7faf18000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007faf4f77ffb2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7faf18000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007faf4f72425b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faf2cc85bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007faf4f53dc22 in QThread::exec() (this=this@entry=0x55b070ce5450) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007faf4e1bd549 in QQmlThreadPrivate::run() (this=0x55b070ce5450) at qml/ftw/qqmlthread.cpp:155
#8  0x00007faf4f53edbc in QThreadPrivate::start(void*) (arg=0x55b070ce5450) at thread/qthread_unix.cpp:329
#9  0x00007faf4f322609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faf4ef9b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7faf1f9ff700 (LWP 24846)):
#0  0x00007faf4ef9b5ce in epoll_wait (epfd=105, events=events@entry=0x7faf1f9fe7f0, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00007faf0e321acb in impl_pollfd_wait (object=<optimized out>, pfd=<optimized out>, ev=0x7faf1f9fe9a0, n_ev=<optimized out>, timeout=<optimized out>) at ../spa/plugins/support/system.c:155
#2  0x00007faf0e3144a4 in loop_iterate (object=0x55b070443dc8, timeout=-1) at ../spa/plugins/support/loop.c:292
#3  0x00007faf4f288e70 in do_loop (user_data=0x55b070e6c820) at ../src/pipewire/data-loop.c:79
#4  0x00007faf4f322609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007faf4ef9b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7faf48dd1700 (LWP 8396)):
#0  0x00007faf4ef8eaff in __GI___poll (fds=0x7faf3c005240, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faf4d1aa36e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7faf3c005240, timeout=<optimized out>, context=0x7faf3c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7faf3c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007faf4d1aa4a3 in g_main_context_iteration (context=0x7faf3c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007faf4f77ffb2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7faf3c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007faf4f72425b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faf48dd0be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007faf4f53dc22 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007faf4f53edbc in QThreadPrivate::start(void*) (arg=0x55b06ff1bc00) at thread/qthread_unix.cpp:329
#8  0x00007faf4f322609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faf4ef9b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7faf43fff700 (LWP 8397)):
#0  0x00007faf4ef8eaff in __GI___poll (fds=0x7faf38004630, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faf4d1aa36e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7faf38004630, timeout=<optimized out>, context=0x7faf38000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7faf38000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007faf4d1aa4a3 in g_main_context_iteration (context=0x7faf38000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007faf4f77ffb2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7faf38000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007faf4f72425b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7faf43ffebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007faf4f53dc22 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007faf4f53edbc in QThreadPrivate::start(void*) (arg=0x55b06ff541b0) at thread/qthread_unix.cpp:329
#8  0x00007faf4f322609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faf4ef9b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7faf49fb0300 (LWP 8394)):
#0  QThreadStorageData::get() const (this=this@entry=0x0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:88
#1  0x00007faf4fb4b1dc in qThreadStorage_localData<QGuiGLThreadContext>(QThreadStorageData&, QGuiGLThreadContext**) (d=...) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:144
#2  QThreadStorage<QGuiGLThreadContext*>::localData() (this=0x0) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:145
#3  QOpenGLContext::currentContext() () at kernel/qopenglcontext.cpp:422
#4  0x00007faf48e664fd in KWin::AbstractEglBackend::makeCurrent() (this=0x55b07226ad00) at ./src/platformsupport/scenes/opengl/abstract_egl_backend.cpp:243
#5  0x00007faf48e5a115 in KWin::EglGbmBackend::removeOutput(KWin::DrmAbstractOutput*) (this=0x55b07226ad00, drmOutput=0x55b07003c030) at ./src/plugins/platforms/drm/egl_gbm_backend.cpp:224
#6  0x00007faf4f75c77e in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc358d6910, r=0x55b07226ad00, this=0x55b072540810) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false>(QObject*, int, void**) (sender=0x55b06ff0e370, signal_index=6, argv=0x7ffc358d6910) at kernel/qobject.cpp:3886
#8  0x00007faf4f755b47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55b06ff0e370, m=m@entry=0x7faf48e7ed60 <KWin::DrmGpu::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc358d6910) at kernel/qobject.cpp:3946
#9  0x00007faf48e2cee6 in KWin::DrmGpu::outputDisabled(KWin::DrmAbstractOutput*) (this=this@entry=0x55b06ff0e370, _t1=<optimized out>, _t1@entry=0x55b07003c030) at ./obj-x86_64-linux-gnu/src/plugins/platforms/drm/KWinWaylandDrmBackend_autogen/EWIEGA46WW/moc_drm_gpu.cpp:189
#10 0x00007faf48e4a1ed in KWin::DrmGpu::removeOutput(KWin::DrmOutput*) (this=0x55b06ff0e370, output=0x55b07003c030) at ./src/plugins/platforms/drm/drm_gpu.cpp:451
#11 0x00007faf48e4a4cc in KWin::DrmGpu::~DrmGpu() (this=0x55b06ff0e370, __in_chrg=<optimized out>) at ./src/plugins/platforms/drm/drm_gpu.cpp:94
#12 0x00007faf48e4a8ed in KWin::DrmGpu::~DrmGpu() (this=0x55b06ff0e370, __in_chrg=<optimized out>) at ./src/plugins/platforms/drm/drm_gpu.cpp:88
#13 0x00007faf48e2f9ce in qDeleteAll<KWin::DrmGpu* const*>(KWin::DrmGpu* const*, KWin::DrmGpu* const*) (end=0x55b06ff24290, begin=0x55b06ff24288) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:319
#14 qDeleteAll<QVector<KWin::DrmGpu*> >(QVector<KWin::DrmGpu*> const&) (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#15 KWin::DrmBackend::~DrmBackend() (this=0x55b06ff0f0f0, __in_chrg=<optimized out>) at ./src/plugins/platforms/drm/drm_backend.cpp:79
#16 0x00007faf48e2fb0d in KWin::DrmBackend::~DrmBackend() (this=0x55b06ff0f0f0, __in_chrg=<optimized out>) at ./src/plugins/platforms/drm/drm_backend.cpp:77
#17 0x00007faf4f71b161 in QLibraryPrivate::unload(QLibraryPrivate::UnloadFlag) (this=0x55b06ff0be30, flag=QLibraryPrivate::NoUnloadSys) at /usr/include/c++/9/bits/atomic_base.h:413
#18 0x00007faf4f71f3cd in QLibraryStore::cleanup() () at plugin/qlibrary.cpp:416
#19 0x00007faf4f71c71d in qlibraryCleanup () at plugin/qlibrary.cpp:442
#20 (anonymous namespace)::qlibraryCleanup_dtor_class_::~qlibraryCleanup_dtor_class_() (this=<optimized out>, __in_chrg=<optimized out>) at plugin/qlibrary.cpp:442
#21 0x00007faf4eec315e in __cxa_finalize (d=0x7faf4f9c49e0) at cxa_finalize.c:83
#22 0x00007faf4f5222b7 in __do_global_dtors_aux () at thread/qthread.cpp:1033
#23 0x00007ffc358d7330 in  ()
Comment 1 Nate Graham 2021-08-23 19:21:19 UTC
*** Bug 441360 has been marked as a duplicate of this bug. ***
Comment 2 Stijn Tintel 2021-12-30 23:33:26 UTC
Ran into this when maximizing Chromium right after starting it. Gentoo amd64, Qt 5.15, kwin 5.23.4.

Thread 4 (Thread 0x7efec3fff640 (LWP 3261)):
#0  0x00007efee4e3f5bf in __GI___poll (fds=0x7efebc004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007efee307587e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7efebc004e60, timeout=<optimized out>, context=0x7efebc000c20) at ../glib-2.68.4/glib/gmain.c:4434
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7efee3084f10 <g_poll>
        poll_func = <optimized out>
        ret = <optimized out>
        errsv = <optimized out>
#2  g_main_context_iterate (context=context@entry=0x7efebc000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.4/glib/gmain.c:4126
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x7efebc004e60
        begin_time_nsec = 0
#3  0x00007efee307599f in g_main_context_iteration (context=0x7efebc000c20, may_block=1) at ../glib-2.68.4/glib/gmain.c:4196
        retval = <optimized out>
#4  0x00007efee562ac88 in QEventDispatcherGlib::processEvents (this=0x7efebc000b60, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/kernel/qeventdispatcher_glib.cpp:423
        d = 0x7efebc000b80
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#5  0x00007efee55d9653 in QEventLoop::exec (this=this@entry=0x7efec3ffec70, flags=..., flags@entry=...) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/global/qflags.h:69
        d = 0x7efebc003890
        threadData = <optimized out>
        locker = {val = 94846053945192}
        ref = <optimized out>
        app = <optimized out>
#6  0x00007efee542ef0a in QThread::exec (this=this@entry=0x5643115e1110) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/global/qflags.h:121
        d = 0x5643115a8f10
        locker = {val = 94846053945192}
        eventLoop = {<QObject> = {_vptr.QObject = 0x7efee58af288 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7efee578a8a0 <qt_meta_stringdata_QObject>, data = 0x7efee578a780 <qt_meta_data_QObject>, static_metacall = 0x7efee560b550 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7efebc003890}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7efee578d840 <qt_meta_stringdata_Qt>, data = 0x7efee578a9c0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7efee58a6b40 <QObject::staticMetaObject>}, stringdata = 0x7efee5786a60 <qt_meta_stringdata_QEventLoop>, data = 0x7efee5786a00 <qt_meta_data_QEventLoop>, static_metacall = 0x7efee55d93a0 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#7  0x00007efee3fb30f5 in QQmlThreadPrivate::run (this=0x5643115e1110) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.2-r14/work/qtdeclarative-7024ac8358f9e576dff013ce2452c1daa0d34506/src/qml/qml/ftw/qqmlthread.cpp:155
No locals.
#8  0x00007efee5430056 in QThreadPrivate::start (arg=0x5643115e1110) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/thread/qthread_unix.cpp:329
        thr = 0x5643115e1110
        data = 0x7efec3ffece8
        __clframe = {__cancel_routine = 0x7efee542f520 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x5643115e1110, __do_it = 1, __cancel_type = <optimized out>}
--Type <RET> for more, q to quit, c to continue without paging--c
#9  0x00007efee5216cde in start_thread (arg=0x7efec3fff640) at pthread_create.c:481
        ret = <optimized out>
        pd = 0x7efec3fff640
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139632675124800, -4850810691174301887, 140730732121806, 140730732121807, 0, 139632675124800, 4707372801817018177, 4707316189880876865}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#10 0x00007efee4e49ecf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7efedcd21640 (LWP 3259)):
#0  0x00007efee4e3f5bf in __GI___poll (fds=0x7efec8004630, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007efee307587e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7efec8004630, timeout=<optimized out>, context=0x7efec8000c20) at ../glib-2.68.4/glib/gmain.c:4434
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7efee3084f10 <g_poll>
        poll_func = <optimized out>
        ret = <optimized out>
        errsv = <optimized out>
#2  g_main_context_iterate (context=context@entry=0x7efec8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.4/glib/gmain.c:4126
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = 2
        fds = 0x7efec8004630
        begin_time_nsec = 0
#3  0x00007efee307599f in g_main_context_iteration (context=0x7efec8000c20, may_block=1) at ../glib-2.68.4/glib/gmain.c:4196
        retval = <optimized out>
#4  0x00007efee562ac88 in QEventDispatcherGlib::processEvents (this=0x7efec8000b60, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/kernel/qeventdispatcher_glib.cpp:423
        d = 0x7efec8000b80
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#5  0x00007efee55d9653 in QEventLoop::exec (this=this@entry=0x7efedcd20c90, flags=..., flags@entry=...) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/global/qflags.h:69
        d = 0x7efec8003090
        threadData = <optimized out>
        locker = {val = 94846042767224}
        ref = <optimized out>
        app = <optimized out>
#6  0x00007efee542ef0a in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/global/qflags.h:121
        d = 0x564310afff20
        locker = {val = 94846042767224}
        eventLoop = {<QObject> = {_vptr.QObject = 0x7efee58af288 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7efee578a8a0 <qt_meta_stringdata_QObject>, data = 0x7efee578a780 <qt_meta_data_QObject>, static_metacall = 0x7efee560b550 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7efec8003090}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7efee578d840 <qt_meta_stringdata_Qt>, data = 0x7efee578a9c0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7efee58a6b40 <QObject::staticMetaObject>}, stringdata = 0x7efee5786a60 <qt_meta_stringdata_QEventLoop>, data = 0x7efee5786a00 <qt_meta_data_QEventLoop>, static_metacall = 0x7efee55d93a0 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#7  0x00007efee5430056 in QThreadPrivate::start (arg=0x564310b007d0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/thread/qthread_unix.cpp:329
        thr = 0x564310b007d0
        data = 0x7efedcd20ce8
        __clframe = {__cancel_routine = 0x7efee542f520 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x564310b007d0, __do_it = 1, __cancel_type = <optimized out>}
#8  0x00007efee5216cde in start_thread (arg=0x7efedcd21640) at pthread_create.c:481
        ret = <optimized out>
        pd = 0x7efedcd21640
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139633091548736, -4850810691174301887, 140730732123566, 140730732123567, 0, 139633091548736, 4707331180362694465, 4707316189880876865}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007efee4e49ecf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 2 (Thread 0x7efedd522640 (LWP 3258)):
#0  0x00007efee4e3f5bf in __GI___poll (fds=0x7efed4005240, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007efee307587e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7efed4005240, timeout=<optimized out>, context=0x7efed4000c20) at ../glib-2.68.4/glib/gmain.c:4434
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7efee3084f10 <g_poll>
        poll_func = <optimized out>
        ret = <optimized out>
        errsv = <optimized out>
#2  g_main_context_iterate (context=context@entry=0x7efed4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.4/glib/gmain.c:4126
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = 2
        fds = 0x7efed4005240
        begin_time_nsec = 0
#3  0x00007efee307599f in g_main_context_iteration (context=0x7efed4000c20, may_block=1) at ../glib-2.68.4/glib/gmain.c:4196
        retval = <optimized out>
#4  0x00007efee562ac88 in QEventDispatcherGlib::processEvents (this=0x7efed4000b60, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/kernel/qeventdispatcher_glib.cpp:423
        d = 0x7efed4000b80
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#5  0x00007efee55d9653 in QEventLoop::exec (this=this@entry=0x7efedd521c90, flags=..., flags@entry=...) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/global/qflags.h:69
        d = 0x7efed4003890
        threadData = <optimized out>
        locker = {val = 94846042909944}
        ref = <optimized out>
        app = <optimized out>
#6  0x00007efee542ef0a in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/global/qflags.h:121
        d = 0x564310b22ca0
        locker = {val = 94846042909944}
        eventLoop = {<QObject> = {_vptr.QObject = 0x7efee58af288 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7efee578a8a0 <qt_meta_stringdata_QObject>, data = 0x7efee578a780 <qt_meta_data_QObject>, static_metacall = 0x7efee560b550 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7efed4003890}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7efee578d840 <qt_meta_stringdata_Qt>, data = 0x7efee578a9c0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7efee58a6b40 <QObject::staticMetaObject>}, stringdata = 0x7efee5786a60 <qt_meta_stringdata_QEventLoop>, data = 0x7efee5786a00 <qt_meta_data_QEventLoop>, static_metacall = 0x7efee55d93a0 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#7  0x00007efee5430056 in QThreadPrivate::start (arg=0x564310b11b00) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/thread/qthread_unix.cpp:329
        thr = 0x564310b11b00
        data = 0x7efedd521ce8
        __clframe = {__cancel_routine = 0x7efee542f520 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x564310b11b00, __do_it = 1, __cancel_type = <optimized out>}
#8  0x00007efee5216cde in start_thread (arg=0x7efedd522640) at pthread_create.c:481
        ret = <optimized out>
        pd = 0x7efedd522640
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139633099941440, -4850810691174301887, 140730732123790, 140730732123791, 0, 139633099941440, 4707334479434448705, 4707316189880876865}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007efee4e49ecf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 1 (Thread 0x7efedfee2d40 (LWP 3255)):
#0  0x00007efee5434c3b in QThreadStorageData::get (this=this@entry=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/thread/qthreadstorage.cpp:122
        data = 0x564310a8f6a0
        tls = @0x564310a8f6f0: {d = 0x564311b64ae0}
        v = <optimized out>
#1  0x00007efee5a1d86e in qThreadStorage_localData<QGuiGLThreadContext> (d=...) at /usr/include/qt5/QtCore/qthreadstorage.h:69
        v = <optimized out>
        v = <optimized out>
#2  QThreadStorage<QGuiGLThreadContext*>::localData (this=0x0) at /usr/include/qt5/QtCore/qthreadstorage.h:145
No locals.
#3  QOpenGLContext::currentContext () at /var/tmp/portage/dev-qt/qtgui-5.15.2-r15/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/gui/kernel/qopenglcontext.cpp:422
        threadContext = <optimized out>
#4  0x00007efedee3ec89 in KWin::AbstractEglBackend::makeCurrent (this=0x564310c4c310) at /var/tmp/portage/kde-plasma/kwin-5.23.4-r2/work/kwin-5.23.4/src/platformsupport/scenes/opengl/abstract_egl_backend.cpp:243
        context = <optimized out>
        current = <optimized out>
#5  0x00007efedee3265a in KWin::EglGbmBackend::removeOutput (this=0x564310c4c310, drmOutput=0x564311511690) at /var/tmp/portage/kde-plasma/kwin-5.23.4-r2/work/kwin-5.23.4/src/plugins/platforms/drm/egl_gbm_backend.cpp:208
No locals.
#6  0x00007efee560d11e in QtPrivate::QSlotObjectBase::call (a=0x7ffe6d4c06d0, r=0x564310c4c310, this=0x564310c3f6b0) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/kernel/qobjectdefs_impl.h:398
No locals.
#7  doActivate<false> (sender=0x564310aff8c0, signal_index=6, argv=0x7ffe6d4c06d0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/kernel/qobject.cpp:3886
        obj = std::unique_ptr<QtPrivate::QSlotObjectBase> = {get() = {<No data fields>}}
        receiver = 0x564310c4c310
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x564310c4c310, sender = 0x564310aff8c0, signal = 6}
        c = 0x564310ace600
        connections = {d = 0x564310b10a60}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 4
        signalVector = 0x564310b17290
        currentThreadId = 0x7efedfee2d40
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#8  0x00007efee560712f in QMetaObject::activate (sender=sender@entry=0x564310aff8c0, m=m@entry=0x7efedee57ea0 <KWin::DrmGpu::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe6d4c06d0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/kernel/qobject.cpp:3946
        signal_index = <optimized out>
#9  0x00007efedee05e52 in KWin::DrmGpu::outputDisabled (this=this@entry=0x564310aff8c0, _t1=<optimized out>, _t1@entry=0x564311511690) at /var/tmp/portage/kde-plasma/kwin-5.23.4-r2/work/kwin-5.23.4_build/src/plugins/platforms/drm/KWinWaylandDrmBackend_autogen/EWIEGA46WW/moc_drm_gpu.cpp:189
        _a = {0x0, 0x7ffe6d4c06c8}
#10 0x00007efedee23b65 in KWin::DrmGpu::removeOutput (this=0x564310aff8c0, output=0x564311511690) at /var/tmp/portage/kde-plasma/kwin-5.23.4-r2/work/kwin-5.23.4/src/plugins/platforms/drm/drm_gpu.cpp:502
        pipeline = <optimized out>
#11 0x00007efedee23bfc in KWin::DrmGpu::~DrmGpu (this=0x564310aff8c0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.23.4-r2/work/kwin-5.23.4/src/plugins/platforms/drm/drm_gpu.cpp:106
        drmOutput = <optimized out>
        output = @0x564311510ac8: 0x564311511690
        __for_range = <synthetic pointer>: {d = <optimized out>}
        __for_begin = 0x564311510ac8
        __for_end = 0x564311510ad0
        outputs = {d = 0x564311510ab0}
        outputs = <optimized out>
        output = <optimized out>
        __for_range = <optimized out>
        __for_begin = <optimized out>
        __for_end = <optimized out>
        drmOutput = <optimized out>
#12 0x00007efedee24059 in KWin::DrmGpu::~DrmGpu (this=0x564310aff8c0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.23.4-r2/work/kwin-5.23.4/src/plugins/platforms/drm/drm_gpu.cpp:124
        outputs = <optimized out>
        output = <optimized out>
        __for_range = <optimized out>
        __for_begin = <optimized out>
        __for_end = <optimized out>
        drmOutput = <optimized out>
#13 0x00007efedee08826 in qDeleteAll<KWin::DrmGpu* const*> (end=0x564310b24d90, begin=0x564310b24d88) at /usr/include/qt5/QtCore/qalgorithms.h:320
No locals.
#14 qDeleteAll<QVector<KWin::DrmGpu*> > (c=..., c=...) at /usr/include/qt5/QtCore/qalgorithms.h:328
No locals.
#15 KWin::DrmBackend::~DrmBackend (this=0x564310ad3d80, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.23.4-r2/work/kwin-5.23.4/src/plugins/platforms/drm/drm_backend.cpp:79
No locals.
#16 0x00007efedee089a9 in KWin::DrmBackend::~DrmBackend (this=0x564310ad3d80, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.23.4-r2/work/kwin-5.23.4/src/plugins/platforms/drm/drm_backend.cpp:80
No locals.
#17 0x00007efee55d2229 in QLibraryPrivate::unload (this=0x564310ae15d0, flag=QLibraryPrivate::NoUnloadSys) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/plugin/qlibrary.cpp:606
        locker = {val = 94846042641905}
#18 0x00007efee55d4a4f in QLibraryStore::cleanup () at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/plugin/qlibrary.cpp:416
        lib = 0x564310ae15d0
        data = 0x564310aa2a20
        it = {i = 0x564310ae1640}
#19 0x00007efee55d37b9 in qlibraryCleanup () at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/plugin/qlibrary.cpp:440
No locals.
#20 (anonymous namespace)::qlibraryCleanup_dtor_class_::~qlibraryCleanup_dtor_class_ (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r11/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/plugin/qlibrary.cpp:442
No locals.
#21 0x00007efee4d8de9d in __cxa_finalize (d=0x7efee58b29e0) at cxa_finalize.c:83
        check = 1017
        cxafn = <optimized out>
        cxaarg = <optimized out>
        f = 0x7efee4f06f90 <initial+336>
        funcs = 0x7efee4f06e40 <initial>
        restart = <optimized out>
#22 0x00007efee54168c3 in ?? () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#23 0x00007ffe6d4c1020 in ?? ()
No symbol table info available.
#24 0x00007efee71fa124 in _dl_fini () at dl-fini.c:139
        array = 0x7efee58a9b90
        i = <optimized out>
        l = 0x7efee6772920
        maps = 0x7ffe6d4c0910
        i = 178
        l = <optimized out>
        nmaps = <optimized out>
        nloaded = <optimized out>
        ns = 139633226210973
        do_audit = <optimized out>
        __PRETTY_FUNCTION__ = "_dl_fini"
Backtrace stopped: frame did not save the PC
Comment 3 Zamundaaa 2022-04-25 14:06:38 UTC
Is this still happening?
From the backtrace it seems like KWin wasn't actually crashing directly, but doing so while already exiting normally for some reason.
Comment 4 Bug Janitor Service 2022-05-10 04:34:59 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 5 Bug Janitor Service 2022-05-25 04:35:58 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!