Bug 404524 - kwin_wayland crash when closing any window: KWin::Scene::windowClosed(KWin::Toplevel*, KWin::Deleted*)
Summary: kwin_wayland crash when closing any window: KWin::Scene::windowClosed(KWin::T...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.15.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-18 15:00 UTC by Michael
Modified: 2019-02-18 15:11 UTC (History)
0 users

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


Attachments
emerge --info output (6.52 KB, text/plain)
2019-02-18 15:00 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2019-02-18 15:00:46 UTC
Created attachment 118178 [details]
emerge --info output

SUMMARY
kwin_wayland crashes when closing any active window while running with amgpu.
This issue exists since 5.12.X (prior versions aren't tested).


STEPS TO REPRODUCE
1. start wayland session with: $ XDG_SESSION_TYPE=wayland dbus-run-session startplasmacompositor
2. start dolphin (same result with KDE System Monitor or any other window that was tested)
3. close dolphin with the close button

OBSERVED RESULT
kwin_wayland crashes

EXPECTED RESULT
window gets closed without kwin_wayland crashing


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux with Plasma 5.15.0
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: qtcore-5.11.3-r2
mesa: mesa-19.0.0_rc4
Linux: ck-sources-4.19.2


ADDITIONAL INFORMATION

backtrace of the crash:

Core was generated by `/usr/bin/kwin_wayland --xwayland --libinput --exit-with-session=/usr/lib64/libe'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fb546e29a81 in KWin::Scene::windowClosed(KWin::Toplevel*, KWin::Deleted*) () from /usr/lib64/libkwin.so.5
[Current thread is 1 (Thread 0x7fb547372880 (LWP 2194))]
(gdb) bt
#0  0x00007fb546e29a81 in KWin::Scene::windowClosed(KWin::Toplevel*, KWin::Deleted*) () from /usr/lib64/libkwin.so.5
#1  0x00007fb546f0cfb3 in ?? () from /usr/lib64/libkwin.so.5
#2  0x00007fb544a762d6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fb546f05eee in KWin::Toplevel::windowClosed(KWin::Toplevel*, KWin::Deleted*) () from /usr/lib64/libkwin.so.5
#4  0x00007fb546ea4e5c in KWin::ShellClient::destroyClient() () from /usr/lib64/libkwin.so.5
#5  0x00007fb544a7642e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fb544a7692f in QObject::destroyed(QObject*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fb544a7d74f in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#8  0x00007fb546194957 in ?? () from /usr/lib64/libKF5WaylandServer.so.5
#9  0x00007fb544a76f68 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#10 0x00007fb545034345 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#11 0x00007fb54503be30 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#12 0x00007fb544a4db85 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#13 0x00007fb544a50e26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#14 0x00007fb53f7b4f54 in ?? () from /usr/lib64/libQt5Quick.so.5
#15 0x00007fb53f7b5160 in QQuickRenderControl::~QQuickRenderControl() () from /usr/lib64/libQt5Quick.so.5
#16 0x00007fb53f7b5189 in QQuickRenderControl::~QQuickRenderControl() () from /usr/lib64/libQt5Quick.so.5
#17 0x00007fb500376a09 in ?? () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#18 0x00007fb500376b19 in ?? () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#19 0x00007fb546d5f0e6 in KWin::AbstractClient::destroyDecoration() () from /usr/lib64/libkwin.so.5
#20 0x00007fb546ea4e70 in KWin::ShellClient::destroyClient() () from /usr/lib64/libkwin.so.5
#21 0x00007fb544a7642e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#22 0x00007fb54617127c in KWayland::Server::Resource::Private::unbind(wl_resource*) () from /usr/lib64/libKF5WaylandServer.so.5
#23 0x00007fb53cb925b6 in ?? () from /usr/lib64/libwayland-server.so.0
#24 0x00007fb53cb9261e in wl_resource_destroy () from /usr/lib64/libwayland-server.so.0
#25 0x00007fb5387680c6 in ffi_call_unix64 () from /usr/lib64/libffi.so.6
#26 0x00007fb538767a8f in ffi_call () from /usr/lib64/libffi.so.6
#27 0x00007fb53cb96115 in ?? () from /usr/lib64/libwayland-server.so.0
#28 0x00007fb53cb929c1 in ?? () from /usr/lib64/libwayland-server.so.0
#29 0x00007fb53cb94032 in wl_event_loop_dispatch () from /usr/lib64/libwayland-server.so.0
#30 0x00007fb54614f02e in KWayland::Server::Display::Private::dispatch() () from /usr/lib64/libKF5WaylandServer.so.5
#31 0x00007fb544a7642e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#32 0x00007fb544a81b98 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#33 0x00007fb544a81eed in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#34 0x00007fb545034345 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007fb54503be30 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007fb544a4db85 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#37 0x00007fb544a9bb7a in QEventDispatcherUNIXPrivate::activateSocketNotifiers() () from /usr/lib64/libQt5Core.so.5
#38 0x00007fb544a9be4c in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#39 0x00007fb52cca3a1d in ?? () from /usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so
#40 0x00007fb544a4cacb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#41 0x00007fb544a54cbf in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#42 0x00005593522dbca2 in ?? ()
#43 0x00007fb543e1e75b in __libc_start_main () from /lib64/libc.so.6
#44 0x00005593522dc0da in _start ()
Comment 1 Vlad Zahorodnii 2019-02-18 15:11:03 UTC
Please update Qt to 5.12.