Application: kwin_x11 (5.26.5) Qt Version: 5.15.7 Frameworks Version: 5.101.0 Operating System: Linux 6.2.0-rc2-1-git-00010-g69b41ac87e4a x86_64 Windowing System: X11 Distribution: "Arch Linux" DrKonqi: 5.26.5 [KCrashBackend] -- Information about the crash: On login w/ sddm, the screen(s) flicker 3-4x then is ok, saying kwin crashed, and clicking "restart app" fixes it somehow, always happens with Wayland only The crash can be reproduced every time. -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [KCrash Handler] #6 KWin::Workspace::initializeX11() (this=0x561d42a900e0) at /usr/src/debug/kwin/kwin-5.26.5/src/workspace.cpp:366 #7 0x00007f0ea76dc307 in KWin::Workspace::init() (this=0x561d42a900e0) at /usr/src/debug/kwin/kwin-5.26.5/src/workspace.cpp:263 #8 0x00007f0ea76dddf4 in KWin::Workspace::Workspace() (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwin/kwin-5.26.5/src/workspace.cpp:193 #9 0x00007f0ea76390d7 in KWin::Application::createWorkspace() (this=0x7ffe7223ab40) at /usr/src/debug/kwin/kwin-5.26.5/src/main.cpp:242 #10 0x0000561d42510a50 in operator() (__closure=0x561d429e4980) at /usr/src/debug/kwin/kwin-5.26.5/src/main_x11.cpp:244 #11 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::ApplicationX11::performStartup()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146 #12 QtPrivate::Functor<KWin::ApplicationX11::performStartup()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256 #13 QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x561d429e4970, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443 #14 0x00007f0ea5cbda51 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe7223a500, r=<optimized out>, this=0x561d429e4970, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #15 doActivate<false>(QObject*, int, void**) (sender=0x561d42759fc0, signal_index=4, argv=0x7ffe7223a500) at kernel/qobject.cpp:3919 #16 0x00007f0ea5fd213d in KSelectionOwner::Private::claimSucceeded() (this=0x561d429d9100) at /usr/src/debug/kwindowsystem/kwindowsystem-5.101.0/src/platforms/xcb/kselectionowner.cpp:194 #17 0x00007f0ea5fd7f1d in KSelectionOwner::filterEvent(void*) (this=0x561d42759fc0, ev_P=<optimized out>) at /usr/src/debug/kwindowsystem/kwindowsystem-5.101.0/src/platforms/xcb/kselectionowner.cpp:389 #18 0x00007f0ea5c8389f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7f0e900071f0, result=result@entry=0x7ffe7223a6a0) at kernel/qabstracteventdispatcher.cpp:495 #19 0x00007f0ea0307030 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=0x561d42654790, event=0x7f0e900071f0) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:579 #20 0x00007f0ea030b3a0 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x561d42654790, flags=...) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1065 #21 0x00007f0ea032f708 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:103 #22 0x00007f0ea3a6d87b in g_main_dispatch (context=0x7f0e98005010) at ../glib/glib/gmain.c:3454 #23 g_main_context_dispatch (context=0x7f0e98005010) at ../glib/glib/gmain.c:4172 #24 0x00007f0ea3ac4c89 in g_main_context_iterate.constprop.0 (context=0x7f0e98005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4248 #25 0x00007f0ea3a6c132 in g_main_context_iteration (context=0x7f0e98005010, may_block=1) at ../glib/glib/gmain.c:4313 #26 0x00007f0ea5cd7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x561d4279e800, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #27 0x00007f0ea5c8573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffe7223aa30, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #28 0x00007f0ea5c90269 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #29 0x00007f0ea613a102 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870 #30 0x00007f0ea5376f2a in QApplication::exec() () at kernel/qapplication.cpp:2829 #31 0x0000561d42509e40 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-5.26.5/src/main_x11.cpp:407 [Inferior 1 (process 7122) detached] The reporter indicates this bug may be a duplicate of or related to bug 453117, bug 454681. Reported using DrKonqi
Are you using X11 or Wayland? You said Wayland, but the backtrace and system info indicate X11. Do you have an NVIDIA GPU? Could be Bug 448968.
(In reply to Nate Graham from comment #1) > Are you using X11 or Wayland? You said Wayland, but the backtrace and system > info indicate X11. > > Do you have an NVIDIA GPU? Could be Bug 448968. I am on Wayland, with an AMD gpu (RX 6800XT) It is weird that there's this initializeX11 call though..any ideas as to why?
No. That would seem quite relevant though.
> It is weird that there's this initializeX11 call though..any ideas as to why? initializeX11() is called if kwin_wayland runs with Xwayland
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!
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!