https://bugs.kde.org/show_bug.cgi?id=463810

            Bug ID: 463810
           Summary: Kwin crashes on startup in Wayland
    Classification: Plasma
           Product: kwin
           Version: 5.26.5
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: amaan...@gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to