https://bugs.kde.org/show_bug.cgi?id=388644
Bug ID: 388644 Summary: Kwin: Crash after login to Plasma-Wayland Product: kwin Version: 5.11.5 Platform: Archlinux Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: m...@rainer-finke.de Target Milestone: --- Sometimes Kwin has a segmentation fault right after the login to Plasma-Wayland (maybe in 20% of the logins, but sometimes in a row several times and then it is ok again for several logins). I had this issue with my AMD GPU. Linux 4.14.12 Plasma 5.11.5 KDE Frameworks 5.41 Qt 5.10 $ sudo echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope [sudo] Passwort für rainer: 0 [rainer@gd1 ~]$ sudo gdb --pid `pidof kwin_wayland` 2>&1 | tee kwin2.gdb GNU gdb (GDB) 8.0.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 733 [New LWP 734] [New LWP 735] [New LWP 736] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". 0x00007f7d5fdd0402 in do_lookup_x () from /lib64/ld-linux-x86-64.so.2 (gdb) continue Continuing. [New Thread 0x7f7d359bd700 (LWP 760)] [New Thread 0x7f7d34e69700 (LWP 761)] [New Thread 0x7f7d27fff700 (LWP 762)] [New Thread 0x7f7d277fe700 (LWP 763)] [New Thread 0x7f7d26ffd700 (LWP 764)] [New Thread 0x7f7d267fc700 (LWP 765)] [New Thread 0x7f7d25ffb700 (LWP 766)] [New Thread 0x7f7d257fa700 (LWP 767)] [New Thread 0x7f7d24ff9700 (LWP 769)] [New Thread 0x7f7d03fff700 (LWP 803)] [New Thread 0x7f7d03656700 (LWP 806)] [New Thread 0x7f7d019d0700 (LWP 807)] [New Thread 0x7f7d00fc9700 (LWP 808)] [New Thread 0x7f7cf3fff700 (LWP 809)] [New Thread 0x7f7cf37fe700 (LWP 810)] [New Thread 0x7f7c66195700 (LWP 1171)] Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault. 0x00007f7d56510bbc in ?? () from /usr/lib/libwayland-server.so.0 (gdb) bt #0 0x00007f7d56510bbc in () at /usr/lib/libwayland-server.so.0 #1 0x00007f7d56515619 in () at /usr/lib/libwayland-server.so.0 #2 0x00007f7d56510cff in wl_client_destroy () at /usr/lib/libwayland-server.so.0 #3 0x00007f7d56510db9 in () at /usr/lib/libwayland-server.so.0 #4 0x00007f7d565129b2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0 #5 0x00007f7d5f17b2bf in KWayland::Server::Display::Private::dispatch() () at /usr/lib/libKF5WaylandServer.so.5 #6 0x00007f7d5f99c9e1 in () at /usr/lib/libkwin.so.5 #7 0x00007f7d5f9986eb in () at /usr/lib/libkwin.so.5 #8 0x00007f7d5f998904 in () at /usr/lib/libkwin.so.5 #9 0x00007f7d5dd85b2f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #10 0x00007f7d5f996050 in KWin::PointerInputRedirection::update() () at /usr/lib/libkwin.so.5 #11 0x00007f7d5dd85b2f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #12 0x00007f7d5f9abec1 in KWin::Workspace::updateStackingOrder(bool) () at /usr/lib/libkwin.so.5 #13 0x00007f7d5f934a0c in () at /usr/lib/libkwin.so.5 #14 0x00007f7d5dd85b2f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #15 0x00007f7d5fb05d33 in KWin::WaylandServer::shellClientRemoved(KWin::ShellClient*) () at /usr/lib/libkwin.so.5 #16 0x00007f7d5fab8229 in KWin::WaylandServer::removeClient(KWin::ShellClient*) () at /usr/lib/libkwin.so.5 #17 0x00007f7d5faad24d in KWin::ShellClient::destroyClient() () at /usr/lib/libkwin.so.5 #18 0x00007f7d5dd85b2f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #19 0x00007f7d5f19756b in KWayland::Server::Resource::Private::unbind(wl_resource*) () at /usr/lib/libKF5WaylandServer.so.5 #20 0x00007f7d56510c12 in () at /usr/lib/libwayland-server.so.0 #21 0x00007f7d56515619 in () at /usr/lib/libwayland-server.so.0 #22 0x00007f7d56510cff in wl_client_destroy () at /usr/lib/libwayland-server.so.0 #23 0x00007f7d56510db9 in () at /usr/lib/libwayland-server.so.0 #24 0x00007f7d565129b2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0 #25 0x00007f7d5f17b2bf in KWayland::Server::Display::Private::dispatch() () at /usr/lib/libKF5WaylandServer.so.5 #26 0x00007f7d5dd85b2f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #27 0x00007f7d5dd92349 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5 #28 0x00007f7d5dd92724 in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #29 0x00007f7d5e310e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #30 0x00007f7d5e318816 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #31 0x00007f7d5dd551e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #32 0x00007f7d5ddae651 in QEventDispatcherUNIXPrivate::activateSocketNotifiers() () at /usr/lib/libQt5Core.so.5 #33 0x00007f7d5ddaece9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #34 0x00007f7d47e98bfe in () at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so #35 0x00007f7d5dd5382b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #36 0x00007f7d5dd5cb18 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #37 0x000055dbb3e3c2c4 in () #38 0x00007f7d5d172f4a in __libc_start_main () at /usr/lib/libc.so.6 #39 0x000055dbb3e3c6da in _start () (gdb) (gdb) thread 2 [Switching to thread 2 (Thread 0x7f7d455e1700 (LWP 734))] #0 0x00007f7d5d23d91b in poll () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007f7d5d23d91b in poll () at /usr/lib/libc.so.6 #1 0x00007f7d54568ed3 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007f7d54568fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007f7d5ddb1691 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f7d5dd5382b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007f7d5db6378e in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007f7d574a1416 in () at /usr/lib/libQt5DBus.so.5 #7 0x00007f7d5db68b2d in () at /usr/lib/libQt5Core.so.5 #8 0x00007f7d5ef0b08c in start_thread () at /usr/lib/libpthread.so.0 #9 0x00007f7d5d247e1f in clone () at /usr/lib/libc.so.6 (gdb) thread 3 [Switching to thread 3 (Thread 0x7f7d3ffff700 (LWP 735))] #0 0x00007f7d5d23d91b in poll () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007f7d5d23d91b in poll () at /usr/lib/libc.so.6 #1 0x00007f7d54568ed3 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007f7d54568fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007f7d5ddb1691 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f7d5dd5382b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007f7d5db6378e in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007f7d5db68b2d in () at /usr/lib/libQt5Core.so.5 #7 0x00007f7d5ef0b08c in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007f7d5d247e1f in clone () at /usr/lib/libc.so.6 (gdb) thread 4 [Switching to thread 4 (Thread 0x7f7d3edee700 (LWP 736))] #0 0x00007f7d5d23d91b in poll () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007f7d5d23d91b in poll () at /usr/lib/libc.so.6 #1 0x00007f7d54568ed3 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007f7d54568fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007f7d5ddb1691 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f7d5dd5382b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007f7d5db6378e in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007f7d5db68b2d in () at /usr/lib/libQt5Core.so.5 #7 0x00007f7d5ef0b08c in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007f7d5d247e1f in clone () at /usr/lib/libc.so.6 (gdb) thread 5 [Switching to thread 5 (Thread 0x7f7d359bd700 (LWP 760))] #0 0x00007f7d5ef1139d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 (gdb) bt #0 0x00007f7d5ef1139d in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007f7d36ffffbc in () at /usr/lib/dri/radeonsi_dri.so #2 0x00007f7d36fffec8 in () at /usr/lib/dri/radeonsi_dri.so #3 0x00007f7d5ef0b08c in start_thread () at /usr/lib/libpthread.so.0 #4 0x00007f7d5d247e1f in clone () at /usr/lib/libc.so.6 (gdb) In jounralctl was not a lot of information during Kwin segmentation fault. $ journalctl -f Jan 07 11:40:03 pc org_kde_powerdevil[978]: kscreen.kwayland: Loading Wayland backend. Jan 07 11:40:03 pc plasmashell[887]: trying to show an empty dialog Jan 07 11:40:03 pc plasmashell[887]: Using the 'wl-shell' shell integration Jan 07 11:40:03 pc plasmashell[887]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:288:17: QML Text: Binding loop detected for property "width" Jan 07 11:40:03 pc plasmashell[887]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Jan 07 11:40:03 pc kdeinit5[840]: () Jan 07 11:40:03 pc kdeinit5[840]: ("/home/rainer/kwin2.gdb") Jan 07 11:40:03 pc kdeinit5[840]: () Jan 07 11:40:03 pc dbus-daemon[713]: [session uid=1000 pid=711] Activating service name='org.gnome.GConf' requested by ':1.40' (uid=1000 pid=895 comm="/usr/lib/firefox/firefox --sm-client-id 1016619316") Jan 07 11:40:03 pc dbus-daemon[713]: [session uid=1000 pid=711] Successfully activated service 'org.gnome.GConf' Jan 07 11:40:03 pc dbus-daemon[713]: [session uid=1000 pid=711] Activating service name='org.kde.kuiserver' requested by ':1.26' (uid=1000 pid=887 comm="/usr/bin/plasmashell ") Jan 07 11:40:03 pc dbus-daemon[713]: [session uid=1000 pid=711] Successfully activated service 'org.kde.kuiserver' Jan 07 11:40:04 pc akonadiserver[1065]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Jan 07 11:40:04 pc plasmashell[887]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion Jan 07 11:40:04 pc plasmashell[887]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/main.qml:78:27: Unable to assign [undefined] to QStringList Jan 07 11:40:04 pc plasmashell[887]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/main.qml:37: TypeError: Cannot read property 'DateTime' of undefined Jan 07 11:40:04 pc plasmashell[887]: Both point size and pixel size set. Using pixel size. Jan 07 11:40:04 pc plasmashell[887]: Both point size and pixel size set. Using pixel size. Jan 07 11:40:04 pc plasmashell[887]: Both point size and pixel size set. Using pixel size. Jan 07 11:40:04 pc plasmashell[887]: trying to show an empty dialog Jan 07 11:40:04 pc plasmashell[887]: trying to show an empty dialog Jan 07 11:40:04 pc akonadi_imap_resource[1359]: Using Wayland-EGL Jan 07 11:40:04 pc kdeinit5[840]: Registering "org.kde.StatusNotifierHost-887" as system tray Jan 07 11:40:04 pc akonadi_archivemail_agent[1354]: Using Wayland-EGL Jan 07 11:40:04 pc akonadi_ical_resource[1358]: "No file selected." Jan 07 11:40:04 pc plasmashell[887]: couldn't load "/usr/lib/qt/plugins/discover-notifier/DiscoverPackageKitNotifier.so" because "Cannot load library /usr/lib/qt/plugins/discover-notifier/DiscoverPackageKitNotifier.so: (libpackagekitqt5.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)" Jan 07 11:40:04 pc plasmashell[887]: couldn't load "/usr/lib/qt/plugins/discover-notifier/FlatpakNotifier.so" because "Cannot load library /usr/lib/qt/plugins/discover-notifier/FlatpakNotifier.so: (libflatpak.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)" Jan 07 11:40:04 pc plasmashell[887]: couldn't find any notifier backend ("/usr/lib/qt/plugins") Jan 07 11:40:04 pc akonadi_sendlater_agent[1368]: Using Wayland-EGL Jan 07 11:40:04 pc plasmashell[887]: Empty filename passed to function Jan 07 11:40:04 pc plasmashell[887]: Empty filename passed to function Jan 07 11:40:04 pc akonadi_mailfilter_agent[1364]: Using Wayland-EGL Jan 07 11:40:04 pc plasmashell[887]: kf5idletime_kwayland: This plugin does not support polling idle time Jan 07 11:40:04 pc plasmashell[887]: file:///usr/lib/qt/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property 'width' of null Jan 07 11:40:04 pc plasmashell[887]: file:///usr/lib/qt/qml/QtQuick/Controls/ScrollView.qml:365: TypeError: Cannot read property 'padding' of null Jan 07 11:40:04 pc plasmashell[887]: file:///usr/lib/qt/qml/QtQuick/Controls/ScrollView.qml:364: TypeError: Cannot read property 'padding' of null Jan 07 11:40:04 pc plasmashell[887]: file:///usr/lib/qt/qml/QtQuick/Controls/ScrollView.qml:363: TypeError: Cannot read property 'padding' of null Jan 07 11:40:04 pc plasmashell[887]: file:///usr/lib/qt/qml/QtQuick/Controls/ScrollView.qml:362: TypeError: Cannot read property 'padding' of null Jan 07 11:40:04 pc plasmashell[887]: libkcups: Create-Printer-Subscriptions last error: 1282 Ungültiger Dateideskriptor Jan 07 11:40:04 pc plasmashell[887]: libkcups: Request failed 1282 -1 Jan 07 11:40:04 pc plasmashell[887]: libkcups: Get-Jobs last error: 1282 Ungültiger Dateideskriptor Jan 07 11:40:04 pc plasmashell[887]: libkcups: Get-Jobs last error: 1282 Ungültiger Dateideskriptor Jan 07 11:40:05 pc plasmashell[887]: Data set on unsupported clipboard mode. QMimeData object will be deleted. Jan 07 11:40:05 pc plasmashell[887]: Plasma Shell startup completed Jan 07 11:40:05 pc plasmashell[887]: Both point size and pixel size set. Using pixel size. Jan 07 11:40:05 pc plasmashell[887]: trying to show an empty dialog Jan 07 11:40:05 pc systemd-resolved[511]: Using degraded feature set (UDP) for DNS server 192.168.1.1. Jan 07 11:40:05 pc plasmashell[887]: ktp-common-internals: Current presence changed Jan 07 11:40:05 pc plasmashell[887]: ktp-common-internals: Current presence changed Jan 07 11:40:05 pc kdeinit5[840]: org.kde.kmix: kmixd: Delayed initialization running now Jan 07 11:40:05 pc kdeinit5[840]: org.kde.kmix: kmixd: Delayed initialization done Jan 07 11:42:02 pc dbus-daemon[713]: [session uid=1000 pid=711] Failed to activate service 'org.freedesktop.Telepathy.Client.KTp.KdedIntegrationModule': timed out (service_start_timeout=120000ms) -- You are receiving this mail because: You are watching all bug changes.