Bug 385743 - Kwin: Freeze/segfault when waking up an idle system on Wayland
Summary: Kwin: Freeze/segfault when waking up an idle system on Wayland
Status: RESOLVED DUPLICATE of bug 399564
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.11.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-14 14:13 UTC by Rainer Finke
Modified: 2019-04-14 15:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
2018-06-03_kwin_crash (43.22 KB, text/plain)
2018-06-03 20:19 UTC, Rainer Finke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Finke 2017-10-14 14:13:36 UTC
Kwin will segfault if I wake up my system after it was idle for some time. Usually the kscreenlocker should appear after the display turns on, but the screen is only black, the system will freeze and I cannot even switch to another TTY. Attached is the log I got from journalctl -f via SSH. Actually I'm not sure, if it is the fault of Kwin, as this happens only on my desktop with a AMD GPU, on my notebook with Intel it is fine. So it might be an issue of my graphic driver. Any advice how I can find out what is going wrong?

Qt 5.10 beta, KDE Frameworks 5.39, Arch Linux

Okt 14 13:27:12 pc plasmashell[6343]: Guessing partOf as: 1
Okt 14 13:27:12 pc plasmashell[6343]: kf5idletime_kwayland: This plugin does not support polling idle time
Okt 14 13:27:12 pc plasmashell[6343]: Empty filename passed to function
Okt 14 13:27:12 pc plasmashell[6343]: Empty filename passed to function
Okt 14 13:27:13 pc kernel: kwin_wayland[817]: segfault at 21 ip 00007f1d0e9626e0 sp 00007fff3fd2d340 error 4 in libQt5Gui.so.5.10.0[7f1d0e584000+5a5000]
Okt 14 13:27:13 pc systemd[1]: Started Process Core Dump (PID 7728/UID 0).
Okt 14 13:27:14 pc systemd-coredump[7729]: Core file was truncated to 2147483648 bytes.
Okt 14 13:27:15 pc systemd-coredump[7729]: Process 817 (kwin_wayland) of user 1000 dumped core.
                                                        
                                                        Stack trace of thread 817:
                                                        #0  0x00007f1d0e9626e0 n/a (n/a)
Okt 14 13:27:15 pc baloorunner[2409]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_mailfilter_agent[1384]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc sddm[565]: kwalletd5: Checking for pam module
Okt 14 13:27:15 pc sddm[565]: kwalletd5: Got pam-login param
Okt 14 13:27:15 pc sddm[565]: kwalletd5: Waiting for hash on 15-
Okt 14 13:27:15 pc sddm[565]: kwalletd5: waitingForEnvironment on: 18
Okt 14 13:27:15 pc sddm[565]: kwalletd5: client connected
Okt 14 13:27:15 pc sddm[565]: kwalletd5: client disconnected
Okt 14 13:27:15 pc akonadi_sendlater_agent[1387]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc konsole[5566]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_newmailnotifier_agent[1386]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_indexing_agent[1380]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_imap_resource[1379]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_davgroupware_resource[1376]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_maildir_resource[1381]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_archivemail_agent[1373]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_maildispatcher_agent[1383]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_migration_agent[1385]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_ical_resource[1378]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_birthdays_resource[1374]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_followupreminder_agent[1377]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc kuiserver5[1358]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc kwalletd5[788]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc klauncher[896]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc kactivitymanagerd[872]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc kactivitymanagerd[872]: QThread: Destroyed while thread is still running
Okt 14 13:27:15 pc kiod5[1906]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc kiod5[1906]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
Okt 14 13:27:15 pc kdeinit5[898]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc org_kde_powerdevil[1036]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_contacts_resource[1375]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_akonotes_resource[1372]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc akonadi_control[1205]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc korgac[1034]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc kmix[1041]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc krunner[936]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc kdeconnectd[935]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc polkit-kde-authentication-agent-1[939]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc baloo_file[934]: org.kde.baloo: "/home/rainer/.bash_history-05607.tmp" -> "/home/rainer/.bash_history"
Okt 14 13:27:15 pc baloo_file[934]: org.kde.baloo: Moved without data
Okt 14 13:27:15 pc systemd[1]: Started Process Core Dump (PID 7739/UID 0).
Okt 14 13:27:15 pc plasmashell[6343]: The Wayland connection broke. Did the Wayland compositor die?
Okt 14 13:27:15 pc ksmserver[919]: ksmserver: autostart service ("/usr/lib/kdeconnectd") finished with exit code  1
Okt 14 13:27:15 pc baloo_file[934]: org.kde.baloo: "/home/rainer/.bash_history-05576.tmp" -> "/home/rainer/.bash_history"
Okt 14 13:27:15 pc baloo_file[934]: org.kde.baloo: Moved without data
Okt 14 13:27:15 pc ksmserver[919]: ksmserver: autostart service ("/usr/lib/polkit-kde-authentication-agent-1") finished with exit code  1
Okt 14 13:27:15 pc polkitd[549]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.47, object path /org/kde/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) (disconnected from bus)
Okt 14 13:27:15 pc ksmserver[919]: ksmserver: autostart service ("/usr/bin/korgac") finished with exit code  1
Okt 14 13:27:15 pc pulseaudio[947]: XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
Okt 14 13:27:15 pc pulseaudio[947]:       after 12 requests (6 known processed) with 0 events remaining.
Okt 14 13:27:15 pc akonadiserver[1251]: org.kde.pim.akonadiserver: Control process died, committing suicide!
Okt 14 13:27:15 pc sddm-helper[779]: [PAM] Closing session
Okt 14 13:27:15 pc sddm-helper[779]: pam_unix(sddm:session): session closed for user rainer
Okt 14 13:27:15 pc akonadiserver[1251]: chainup()
Okt 14 13:27:15 pc systemd[780]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Okt 14 13:27:15 pc systemd[780]: pulseaudio.service: Failed with result 'exit-code'.
Okt 14 13:27:15 pc xembedsniproxy[940]: The X11 connection broke (error 1). Did the X11 server die?
Okt 14 13:27:15 pc ksmserver[919]: The X11 connection broke (error 1). Did the X11 server die?
Okt 14 13:27:15 pc kaccess[914]: The X11 connection broke (error 1). Did the X11 server die?
Okt 14 13:27:15 pc kdeinit5[895]: kdeinit5: Fatal IO error: client killed
Okt 14 13:27:15 pc kdeinit5[895]: kdeinit5: sending SIGHUP to children.
Okt 14 13:27:15 pc kdeinit5[895]: kdeinit5: sending SIGTERM to children.
Okt 14 13:27:15 pc kdeinit5[895]: kdeinit5: Exit.
Okt 14 13:27:15 pc systemd[1]: Started Process Core Dump (PID 7746/UID 0).
Okt 14 13:27:15 pc systemd[1]: Started Process Core Dump (PID 7750/UID 0).
Okt 14 13:27:15 pc kernel: telegram-deskto[6470]: segfault at 8 ip 00007fc35dda23bf sp 00007ffda74a6760 error 4 in libQt5XcbQpa.so.5.10.0[7fc35dd66000+15b000]
Okt 14 13:27:15 pc sddm-helper[779]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Okt 14 13:27:15 pc sddm-helper[779]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Okt 14 13:27:15 pc sddm-helper[779]: [PAM] Ended.
Okt 14 13:27:15 pc sddm[565]: Auth: sddm-helper exited successfully
Okt 14 13:27:15 pc sddm[565]: Greeter stopping...
Okt 14 13:27:15 pc sddm[565]: Socket server stopping...
Okt 14 13:27:15 pc sddm[565]: Socket server stopped.
Okt 14 13:27:15 pc sddm[565]: Display server stopping...
Okt 14 13:27:15 pc sddm-greeter[620]: The X11 connection broke: I/O error (code 1)
Okt 14 13:27:15 pc systemd-logind[538]: Removed session c2.
Okt 14 13:27:15 pc sddm-helper[611]: [PAM] Closing session
Okt 14 13:27:15 pc sddm-helper[611]: pam_unix(sddm-greeter:session): session closed for user sddm
Okt 14 13:27:15 pc sddm-helper[611]: [PAM] Ended.
Okt 14 13:27:15 pc systemd-logind[538]: Removed session c1.
Okt 14 13:27:15 pc systemd[1]: Stopping User Manager for UID 618...
Okt 14 13:27:15 pc systemd[613]: Stopped target Default.
Okt 14 13:27:15 pc systemd[613]: Stopping D-Bus User Message Bus...
Okt 14 13:27:15 pc systemd[613]: Stopped D-Bus User Message Bus.
Okt 14 13:27:15 pc systemd[613]: Stopped target Basic System.
Okt 14 13:27:15 pc systemd[613]: Stopped target Paths.
Okt 14 13:27:15 pc systemd[613]: Stopped target Sockets.
Okt 14 13:27:15 pc systemd[613]: Closed Sound System.
Okt 14 13:27:15 pc systemd[613]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Okt 14 13:27:15 pc systemd[613]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Okt 14 13:27:15 pc systemd[613]: Closed GnuPG cryptographic agent and passphrase cache.
Okt 14 13:27:15 pc systemd[613]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Okt 14 13:27:15 pc systemd[613]: Closed GnuPG network certificate management daemon.
Okt 14 13:27:15 pc systemd[613]: Stopped target Timers.
Okt 14 13:27:15 pc systemd[613]: Closed D-Bus User Message Bus Socket.
Okt 14 13:27:15 pc systemd[613]: Reached target Shutdown.
Okt 14 13:27:15 pc systemd[613]: Starting Exit the Session...
Okt 14 13:27:15 pc systemd[613]: Received SIGRTMIN+24 from PID 7759 (kill).
Okt 14 13:27:15 pc systemd[1]: Stopped User Manager for UID 618.
Okt 14 13:27:15 pc systemd[1]: Removed slice User Slice of sddm.
Okt 14 13:27:15 pc systemd[780]: pulseaudio.service: Service hold-off time over, scheduling restart.
Okt 14 13:27:15 pc systemd[780]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Okt 14 13:27:15 pc systemd[780]: Stopped Sound Service.
Okt 14 13:27:15 pc systemd[780]: Starting Sound Service...
Okt 14 13:27:15 pc pulseaudio[7760]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
Okt 14 13:27:15 pc systemd[780]: Started Sound Service.
Okt 14 13:27:15 pc systemd-coredump[7756]: Process 1036 (org_kde_powerde) of user 1000 dumped core.
                                                        
                                                        Stack trace of thread 1036:
                                                        #0  0x00007f29915b08a0 raise (libc.so.6)
                                                        #1  0x00007f29934e4fca _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                        #2  0x00007f29915b0920 __restore_rt (libc.so.6)
                                                        #3  0x00007f2991f853c9 _ZN11QMetaObject10ConnectionD2Ev (libQt5Core.so.5)
                                                        #4  0x00007f2979904e43 n/a (/usr/lib/libKF5WaylandClient.so.5.39.0)
                                                        #5  0x00007f2979904f36 _ZN8KWayland6Client16ConnectionThreadD1Ev (/usr/lib/libKF5WaylandClient.so.5.39.0)
                                                        #6  0x00007f2979904f5a _ZN8KWayland6Client16ConnectionThreadD0Ev (/usr/lib/libKF5WaylandClient.so.5.39.0)
                                                        #7  0x00007f2991f83bed _ZN14QObjectPrivate14deleteChildrenEv (libQt5Core.so.5)
                                                        #8  0x00007f2991f8d81c _ZN7QObjectD2Ev (libQt5Core.so.5)
                                                        #9  0x00007f2979b736e7 n/a (/usr/lib/qt/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeKWaylandPlugin.so)
                                                        #10 0x00007f2991f4a527 n/a (libQt5Core.so.5)
                                                        #11 0x00007f2991f4c9f6 n/a (libQt5Core.so.5)
                                                        #12 0x00007f29915b37f2 __cxa_finalize (libc.so.6)
                                                        #13 0x00007f2991d38ab4 n/a (libQt5Core.so.5)
                                                        #14 0x00007f29936f8bf3 _dl_fini (ld-linux-x86-64.so.2)
                                                        #15 0x00007f29915b3488 __run_exit_handlers (libc.so.6)
                                                        #16 0x00007f29915b34da exit (libc.so.6)
                                                        #17 0x00007f2981b68def _ZN15QtWaylandClient15QWaylandDisplay13exitWithErrorEv (libQt5WaylandClient.so.5)
                                                        #18 0x00007f2981b68e4a _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5)
                                                        #19 0x00007f2991f860a6 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                        #20 0x00007f2991f929e9 _ZN15QSocketNotifier9activatedEiNS_14QPrivateSignalE (libQt5Core.so.5)
                                                        #21 0x00007f2991f92dc4 _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5)
                                                        #22 0x00007f2991f5570b _ZN16QCoreApplication6notifyEP7QObjectP6QEvent (libQt5Core.so.5)
                                                        #23 0x00007f2991f55880 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                        #24 0x00007f2991fb29ce n/a (libQt5Core.so.5)
                                                        #25 0x00007f298b6ea270 g_main_context_dispatch (libglib-2.0.so.0)
                                                        #26 0x00007f298b6ebf69 n/a (libglib-2.0.so.0)
                                                        #27 0x00007f298b6ebfae g_main_context_iteration (libglib-2.0.so.0)
                                                        #28 0x00007f2991fb1d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #29 0x00007f2981ba0b42 n/a (libQt5WaylandClient.so.5)
                                                        #30 0x00007f2991f53ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #31 0x00007f2991f5d1b8 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                        #32 0x000056051ab65c01 n/a (org_kde_powerdevil)
                                                        #33 0x00007f299159cf6a __libc_start_main (libc.so.6)
                                                        #34 0x000056051ab65c6a _start (org_kde_powerdevil)
                                                        
                                                        Stack trace of thread 1044:
                                                        #0  0x00007f2991667d4b __poll (libc.so.6)
                                                        #1  0x00007f298b6ebed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007f298b6ecf42 g_main_loop_run (libglib-2.0.so.0)
                                                        #3  0x00007f297b62ce28 n/a (/usr/lib/libgio-2.0.so.0.5400.0)
                                                        #4  0x00007f298b6e01eb n/a (libglib-2.0.so.0)
                                                        #5  0x00007f298dbfe08a start_thread (libpthread.so.0)
                                                        #6  0x00007f299167224f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 1155:
                                                        #0  0x00007f29916401e0 __nanosleep (libc.so.6)
                                                        #1  0x00007f2991fb169f n/a (libQt5Core.so.5)
                                                        #2  0x00007f29934e4c2f _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                        #3  0x00007f29915b0920 __restore_rt (libc.so.6)
                                                        #4  0x00007f299166e430 __tfind (libc.so.6)
                                                        #5  0x00007f299159ee36 __gconv_find_transform (libc.so.6)
                                                        #6  0x00007f299159d8b7 __gconv_open (libc.so.6)
                                                        #7  0x00007f29915aa686 _nl_find_msg (libc.so.6)
                                                        #8  0x00007f29915ab0b2 __dcigettext (libc.so.6)
                                                        #9  0x00007f29916023d8 __strerror_r (libc.so.6)
                                                        #10 0x00007f29916022ff strerror (libc.so.6)
                                                        #11 0x00007f298b7136da n/a (libglib-2.0.so.0)
                                                        #12 0x00007f298b71385b g_private_set (libglib-2.0.so.0)
                                                        #13 0x00007f298b6dd8b7 g_thread_self (libglib-2.0.so.0)
                                                        #14 0x00007f298b6ebf9f g_main_context_iteration (libglib-2.0.so.0)
                                                        #15 0x00007f2991fb1d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #16 0x00007f2991f53ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #17 0x00007f2991d62bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #18 0x00007f2991d67d9d n/a (libQt5Core.so.5)
                                                        #19 0x00007f298dbfe08a start_thread (libpthread.so.0)
                                                        #20 0x00007f299167224f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 1157:
                                                        #0  0x00007f299166407c __close (libc.so.6)
                                                        #1  0x00007f29934e4b4b _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                        #2  0x00007f29915b0920 __restore_rt (libc.so.6)
                                                        #3  0x00007f298b6e5402 g_main_context_query (libglib-2.0.so.0)
                                                        #4  0x00007f298b6ebe4c n/a (libglib-2.0.so.0)
                                                        #5  0x00007f298b6ebfae g_main_context_iteration (libglib-2.0.so.0)
                                                        #6  0x00007f2991fb1d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #7  0x00007f2991f53ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #8  0x00007f2991d62bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #9  0x00007f2991d67d9d n/a (libQt5Core.so.5)
                                                        #10 0x00007f298dbfe08a start_thread (libpthread.so.0)
                                                        #11 0x00007f299167224f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 1043:
                                                        #0  0x00007f2991667d4b __poll (libc.so.6)
                                                        #1  0x00007f298b6ebed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007f298b6ebfae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007f298b6ec002 n/a (libglib-2.0.so.0)
                                                        #4  0x00007f298b6e01eb n/a (libglib-2.0.so.0)
                                                        #5  0x00007f298dbfe08a start_thread (libpthread.so.0)
                                                        #6  0x00007f299167224f __clone (libc.so.6)
Okt 14 13:27:15 pc systemd-coredump[7755]: Process 6470 (telegram-deskto) of user 1000 dumped core.
                                                        
                                                        Stack trace of thread 6470:
                                                        #0  0x00007fc35dda23bf _ZN14QXcbConnection10internAtomEPKc (libQt5XcbQpa.so.5)
                                                        #1  0x00007fc35ddcdf8a n/a (libQt5XcbQpa.so.5)
                                                        #2  0x00007fc35dda2e59 _ZNK14QXcbConnection17systemTrayTrackerEv (libQt5XcbQpa.so.5)
                                                        #3  0x00007fc35ddc8a4b _ZN19QXcbNativeInterface23nativeResourceForScreenERK10QByteArrayP7QScreen (libQt5XcbQpa.so.5)
                                                        #4  0x00007fc36d02af80 n/a (libQt5Widgets.so.5)
                                                        #5  0x00007fc359257732 n/a (libKF5Notifications.so.5)
                                                        #6  0x00007fc3592596d8 n/a (libKF5Notifications.so.5)
                                                        #7  0x00007fc36bf670a6 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                        #8  0x00007fc35d947dd0 _ZN19QDBusServiceWatcher19serviceOwnerChangedERK7QStringS2_S2_ (libQt5DBus.so.5)
                                                        #9  0x00007fc35d947eb0 n/a (libQt5DBus.so.5)
                                                        #10 0x00007fc35d9485df n/a (libQt5DBus.so.5)
                                                        #11 0x00007fc35d948956 _ZN19QDBusServiceWatcher11qt_metacallEN11QMetaObject4CallEiPPv (libQt5DBus.so.5)
                                                        #12 0x00007fc35d8f8b5d n/a (libQt5DBus.so.5)
                                                        #13 0x00007fc36bf67af2 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                        #14 0x00007fc36ccafc8c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                        #15 0x00007fc36ccb7666 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                        #16 0x00007fc36bf36880 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                        #17 0x00007fc36bf394e6 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                        #18 0x00007fc36bf93744 n/a (libQt5Core.so.5)
                                                        #19 0x00007fc36b6a8270 g_main_context_dispatch (libglib-2.0.so.0)
                                                        #20 0x00007fc36b6a9f69 n/a (libglib-2.0.so.0)
                                                        #21 0x00007fc36b6a9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #22 0x00007fc36bf92d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #23 0x00007fc35de2afb2 n/a (libQt5XcbQpa.so.5)
                                                        #24 0x00007fc36bf34ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #25 0x00007fc36bf3e1b8 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                        #26 0x0000563d70952ec3 main (telegram-desktop)
                                                        #27 0x00007fc370082f6a __libc_start_main (libc.so.6)
                                                        #28 0x0000563d70966daa _start (telegram-desktop)
                                                        
                                                        Stack trace of thread 6479:
                                                        #0  0x00007fc37014dd4b __poll (libc.so.6)
                                                        #1  0x00007fc36b6a9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007fc36b6a9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007fc36bf92d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007fc36bf34ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007fc36bd43bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x00007fc36bd48d9d n/a (libQt5Core.so.5)
                                                        #7  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #8  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6478:
                                                        #0  0x00007fc37014dd4b __poll (libc.so.6)
                                                        #1  0x00007fc36b6a9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007fc36b6a9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007fc36bf92d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007fc36bf34ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007fc36bd43bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x00007fc36bd48d9d n/a (libQt5Core.so.5)
                                                        #7  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #8  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6480:
                                                        #0  0x00007fc37014dd4b __poll (libc.so.6)
                                                        #1  0x00007fc36b6a9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007fc36b6a9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007fc36bf92d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007fc36bf34ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007fc36bd43bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x00007fc36bd48d9d n/a (libQt5Core.so.5)
                                                        #7  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #8  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6482:
                                                        #0  0x00007fc370d1038d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                        #1  0x00007fc33defb69c n/a (radeonsi_dri.so)
                                                        #2  0x00007fc33defb5a8 n/a (radeonsi_dri.so)
                                                        #3  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #4  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6483:
                                                        #0  0x00007fc370d1038d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                        #1  0x00007fc33defb69c n/a (radeonsi_dri.so)
                                                        #2  0x00007fc33defb5a8 n/a (radeonsi_dri.so)
                                                        #3  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #4  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6484:
                                                        #0  0x00007fc370d1038d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                        #1  0x00007fc33defb69c n/a (radeonsi_dri.so)
                                                        #2  0x00007fc33defb5a8 n/a (radeonsi_dri.so)
                                                        #3  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #4  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6489:
                                                        #0  0x00007fc37014dd4b __poll (libc.so.6)
                                                        #1  0x00007fc36b6a9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007fc36b6a9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007fc36bf92d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007fc36bf34ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007fc36bd43bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x00007fc36bd48d9d n/a (libQt5Core.so.5)
                                                        #7  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #8  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6490:
                                                        #0  0x00007fc37014dd4b __poll (libc.so.6)
                                                        #1  0x00007fc36b6a9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007fc36b6a9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007fc36bf92d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007fc36bf34ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007fc36bd43bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x00007fc36bd48d9d n/a (libQt5Core.so.5)
                                                        #7  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #8  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 7686:
                                                        #0  0x00007fc37014dd4b __poll (libc.so.6)
                                                        #1  0x00007fc36b6a9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007fc36b6a9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007fc36bf92d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007fc36bf34ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007fc36bd43bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x00007fc36bd48d9d n/a (libQt5Core.so.5)
                                                        #7  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #8  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6473:
                                                        #0  0x00007fc37014dd4b __poll (libc.so.6)
                                                        #1  0x00007fc36b6a9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007fc36b6a9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007fc36bf92d31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007fc36bf34ecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007fc36bd43bfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x00007fc35d8ed416 n/a (libQt5DBus.so.5)
                                                        #7  0x00007fc36bd48d9d n/a (libQt5Core.so.5)
                                                        #8  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #9  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6486:
                                                        #0  0x00007fc370d1038d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                        #1  0x00007fc33defb69c n/a (radeonsi_dri.so)
                                                        #2  0x00007fc33defb5a8 n/a (radeonsi_dri.so)
                                                        #3  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #4  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6488:
                                                        #0  0x00007fc370d1038d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                        #1  0x00007fc33defb69c n/a (radeonsi_dri.so)
                                                        #2  0x00007fc33defb5a8 n/a (radeonsi_dri.so)
                                                        #3  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #4  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6485:
                                                        #0  0x00007fc370d1038d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                        #1  0x00007fc33defb69c n/a (radeonsi_dri.so)
                                                        #2  0x00007fc33defb5a8 n/a (radeonsi_dri.so)
                                                        #3  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #4  0x00007fc37015824f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 6487:
                                                        #0  0x00007fc370d1038d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                        #1  0x00007fc33defb69c n/a (radeonsi_dri.so)
                                                        #2  0x00007fc33defb5a8 n/a (radeonsi_dri.so)
                                                        #3  0x00007fc370d0a08a start_thread (libpthread.so.0)
                                                        #4  0x00007fc37015824f __clone (libc.so.6)
Okt 14 13:27:16 pc systemd-coredump[7742]: Process 872 (kactivitymanage) of user 1000 dumped core.
                                                        
                                                        Stack trace of thread 872:
                                                        #0  0x00007f7ed6ddc8a0 raise (libc.so.6)
                                                        #1  0x00007f7ed6dddf09 abort (libc.so.6)
                                                        #2  0x00007f7ed757f388 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                                        #3  0x00007f7ed758da7e _ZN7QThreadD2Ev (libQt5Core.so.5)
                                                        #4  0x00007f7ebdbd5a4c n/a (kactivitymanagerd_plugin_sqlite.so)
                                                        #5  0x00007f7ed6ddf488 __run_exit_handlers (libc.so.6)
                                                        #6  0x00007f7ed6ddf4da exit (libc.so.6)
                                                        #7  0x00007f7ecf549def _ZN15QtWaylandClient15QWaylandDisplay13exitWithErrorEv (libQt5WaylandClient.so.5)
                                                        #8  0x00007f7ecf549e4a _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5)
                                                        #9  0x00007f7ed77b20a6 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                        #10 0x00007f7ed77be9e9 _ZN15QSocketNotifier9activatedEiNS_14QPrivateSignalE (libQt5Core.so.5)
                                                        #11 0x00007f7ed77bedc4 _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5)
                                                        #12 0x00007f7ed84c4c8c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                        #13 0x00007f7ed84cc666 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                        #14 0x00007f7ed7781880 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                        #15 0x00007f7ed77de9ce n/a (libQt5Core.so.5)
                                                        #16 0x00007f7ed3ca8270 g_main_context_dispatch (libglib-2.0.so.0)
                                                        #17 0x00007f7ed3ca9f69 n/a (libglib-2.0.so.0)
                                                        #18 0x00007f7ed3ca9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #19 0x00007f7ed77ddd31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #20 0x00007f7ecf581b42 n/a (libQt5WaylandClient.so.5)
                                                        #21 0x00007f7ed777fecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #22 0x00007f7ed77891b8 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                        #23 0x000055fb9e809f6f n/a (kactivitymanagerd)
                                                        #24 0x00007f7ed6dc8f6a __libc_start_main (libc.so.6)
                                                        #25 0x000055fb9e80a1ca _start (kactivitymanagerd)
                                                        
                                                        Stack trace of thread 891:
                                                        #0  0x00007f7ed6e93d4b __poll (libc.so.6)
                                                        #1  0x00007f7ed3ca9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007f7ed3ca9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007f7ed77ddd31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007f7ed777fecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007f7ed758ebfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x00007f7ed80fd416 n/a (libQt5DBus.so.5)
                                                        #7  0x00007f7ed7593d9d n/a (libQt5Core.so.5)
                                                        #8  0x00007f7ed5a6208a start_thread (libpthread.so.0)
                                                        #9  0x00007f7ed6e9e24f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 892:
                                                        #0  0x00007f7ed6e93d4b __poll (libc.so.6)
                                                        #1  0x00007f7ed3ca9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007f7ed3ca9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007f7ed77ddd31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007f7ed777fecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007f7ed758ebfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x000055fb9e80c45b n/a (kactivitymanagerd)
                                                        #7  0x00007f7ed7593d9d n/a (libQt5Core.so.5)
                                                        #8  0x00007f7ed5a6208a start_thread (libpthread.so.0)
                                                        #9  0x00007f7ed6e9e24f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 894:
                                                        #0  0x00007f7ed6e93d4b __poll (libc.so.6)
                                                        #1  0x00007f7ed3ca9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007f7ed3ca9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007f7ed77ddd31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007f7ed777fecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007f7ed758ebfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x000055fb9e80c4bb n/a (kactivitymanagerd)
                                                        #7  0x00007f7ed7593d9d n/a (libQt5Core.so.5)
                                                        #8  0x00007f7ed5a6208a start_thread (libpthread.so.0)
                                                        #9  0x00007f7ed6e9e24f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 893:
                                                        #0  0x00007f7ed6e93d4b __poll (libc.so.6)
                                                        #1  0x00007f7ed3ca9ed3 n/a (libglib-2.0.so.0)
                                                        #2  0x00007f7ed3ca9fae g_main_context_iteration (libglib-2.0.so.0)
                                                        #3  0x00007f7ed77ddd31 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #4  0x00007f7ed777fecb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                        #5  0x00007f7ed758ebfe _ZN7QThread4execEv (libQt5Core.so.5)
                                                        #6  0x000055fb9e80c48b n/a (kactivitymanagerd)
                                                        #7  0x00007f7ed7593d9d n/a (libQt5Core.so.5)
                                                        #8  0x00007f7ed5a6208a start_thread (libpthread.so.0)
                                                        #9  0x00007f7ed6e9e24f __clone (libc.so.6)
                                                        
                                                        Stack trace of thread 2260:
                                                        #0  0x00007f7ed6e6c1e0 __nanosleep (libc.so.6)
                                                        #1  0x00007f7ed77dd69f n/a (libQt5Core.so.5)
                                                        #2  0x00007f7ebdbd531c n/a (kactivitymanagerd_plugin_sqlite.so)
                                                        #3  0x00007f7ed7593d9d n/a (libQt5Core.so.5)
                                                        #4  0x00007f7ed5a6208a start_thread (libpthread.so.0)
                                                        #5  0x00007f7ed6e9e24f __clone (libc.so.6)
Okt 14 13:27:20 pc sddm[565]: Removing display ":0" ...
Okt 14 13:27:20 pc sddm[565]: Adding new display on vt 1 ...
Okt 14 13:27:20 pc sddm[565]: Loading theme configuration from ""
Okt 14 13:27:20 pc sddm[565]: Display server starting...
Okt 14 13:27:20 pc sddm[565]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{c385beb2-01d7-4aac-870c-c775896b441c} -background none -noreset -displayfd 24 -seat seat0 vt1
Okt 14 13:27:20 pc systemd-logind[538]: Received VT_PROCESS signal without a registered session on that VT.
Comment 1 Martin Flöser 2017-10-14 15:23:58 UTC
Can you try connecting with Ash, gdb attach to KWin and wait for the crash? If we get the backtrace it should be easy to fix.
Comment 2 Martin Flöser 2017-10-14 17:15:43 UTC
god damn auto correction: of course I meant "ssh" and not Ash
Comment 3 Rainer Finke 2017-10-15 21:25:28 UTC
I attached gdb to kwin and got new details. Basically if my system is idle there is one point where kwin will segfault (maybe when turning off the screen), no user interaction required. When trying to wake up my system, it doesn't react anymore.

[rainer@gd1 ~]$ 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 kwin.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 803
[New LWP 808]
[New LWP 809]
[New LWP 810]
[New LWP 811]
[New LWP 812]
[New LWP 813]
[New LWP 814]
[New LWP 815]
[New LWP 816]
[New LWP 817]
[New LWP 818]
[New LWP 853]
[New LWP 856]
[New LWP 857]
[New LWP 858]
[New LWP 860]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f9243634e46 in ppoll () from /usr/lib/libc.so.6
(gdb) continue
Continuing.
[New Thread 0x7f91de7d5700 (LWP 2037)]
[New Thread 0x7f914a01b700 (LWP 2039)]
[New Thread 0x7f91f3fff700 (LWP 2041)]
[New Thread 0x7f9141265700 (LWP 2042)]
[Thread 0x7f9141265700 (LWP 2042) exited]
[Thread 0x7f914a01b700 (LWP 2039) exited]
[Thread 0x7f91f3fff700 (LWP 2041) exited]
[Thread 0x7f91de7d5700 (LWP 2037) exited]

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x00007f923d24d6e0 in QRegion::subtracted(QRegion const&) const () from /usr/lib/libQt5Gui.so.5
(gdb) bt
#0  0x00007f923d24d6e0 in QRegion::subtracted(QRegion const&) const () at /usr/lib/libQt5Gui.so.5
#1  0x00007f923d24dc9e in QRegion::operator-(QRegion const&) const () at /usr/lib/libQt5Gui.so.5
#2  0x00007f9245dffef2 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#3  0x00007f9245e090f4 in  () at /usr/lib/libkwin.so.5
#4  0x00007f9245e03dc8 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#5  0x00007f9245e24a97 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#6  0x00007f9245a4b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#7  0x00007f9245e24a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#8  0x00007f9245a4b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#9  0x00007f9245e24a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#10 0x00007f9245e03aab in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#11 0x00007f9245e0dc3a in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/libkwin.so.5
#12 0x00007f9245df3b1c in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#13 0x00007f924417caab in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007f9244705c8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f924470d666 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f924414b880 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f92441a7178 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#18 0x00007f92441a52b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007f922e36bade in  () at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so
#20 0x00007f9244149ecb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#21 0x00007f92441531b8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#22 0x0000563318bdd2c4 in  ()
#23 0x00007f9243569f6a in __libc_start_main () at /usr/lib/libc.so.6
#24 0x0000563318bdd6da in _start ()
(gdb)



But his result was quite strange as it happened out of nothing. During the next try I played some music to at least hear if the system is still working or not. Strange enough, this time I got other information, now it was related to libgbm.

[rainer@gd1 ~]$ sudo gdb --pid `pidof kwin_wayland` 2>&1 | tee kwin.gdb 
[sudo] Passwort für rainer:                                                                                                                                                                                                      
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 799
[New LWP 800]
[New LWP 801]
[New LWP 802]
[New LWP 803]
[New LWP 804]
[New LWP 805]
[New LWP 806]
[New LWP 807]
[New LWP 808]
[New LWP 809]
[New LWP 810]
[New LWP 847]
[New LWP 848]
[New LWP 849]
[New LWP 850]
[New LWP 852]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f9c3bf44e46 in ppoll () from /usr/lib/libc.so.6
(gdb) continue
Continuing.
[New Thread 0x7f9b427ab700 (LWP 2698)]
[New Thread 0x7f9be7fff700 (LWP 2699)]
[New Thread 0x7f9bd6df7700 (LWP 2700)]
[New Thread 0x7f9b39ceb700 (LWP 2701)]
[Thread 0x7f9be7fff700 (LWP 2699) exited]
[Thread 0x7f9b39ceb700 (LWP 2701) exited]
[Thread 0x7f9b427ab700 (LWP 2698) exited]
[Thread 0x7f9bd6df7700 (LWP 2700) exited]

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x00007f9c2357d203 in ?? () from /usr/lib/libgbm.so.1
(gdb) bt
#0  0x00007f9c2357d203 in  () at /usr/lib/libgbm.so.1
#1  0x00007f9c11502816 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007f9c114fdccc in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007f9c1139f2c0 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#4  0x00007f9c113a0bbb in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#5  0x00007f9c1135eff6 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#6  0x00007f9c1137d074 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#7  0x00007f9c113411bb in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#8  0x00007f9c113414b8 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#9  0x00007f9c37ef9198 in KWin::GLVertexBuffer::draw(QRegion const&, unsigned int, int, int, bool) () at /usr/lib/libkwinglutils.so.11
#10 0x00007f9c37ef9528 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () at /usr/lib/libkwinglutils.so.11
#11 0x00007f9c37ef95d1 in KWin::GLVertexBuffer::render(unsigned int) () at /usr/lib/libkwinglutils.so.11
#12 0x00007f9c3e7191a9 in  () at /usr/lib/libkwin.so.5
#13 0x00007f9c3e71cb1c in KWin::SceneOpenGL::paintBackground(QRegion) () at /usr/lib/libkwin.so.5
#14 0x00007f9c3e710929 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#15 0x00007f9c3e7190f4 in  () at /usr/lib/libkwin.so.5
#16 0x00007f9c3e713dc8 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#17 0x00007f9c3e734a97 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#18 0x00007f9c3e35b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#19 0x00007f9c3e734a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#20 0x00007f9c3e35b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#21 0x00007f9c3e734a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#22 0x00007f9c3e35b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#23 0x00007f9c3e734a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#24 0x00007f9c3e713aab in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#25 0x00007f9c3e71dc3a in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/libkwin.so.5
#26 0x00007f9c3e703b1c in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#27 0x00007f9c3ca8caab in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#28 0x00007f9c3d015c8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f9c3d01d666 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f9c3ca5b880 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#31 0x00007f9c3cab7178 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#32 0x00007f9c3cab52b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007f9c26c7bade in  () at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so
#34 0x00007f9c3ca59ecb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#35 0x00007f9c3ca631b8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#36 0x0000555f4399c2c4 in  ()
#37 0x00007f9c3be79f6a in __libc_start_main () at /usr/lib/libc.so.6
#38 0x0000555f4399c6da in _start ()
(gdb)




Looking at the output it seems unrelated to me, but maybe it is helpful to others. If I should run another command, please let me know. I want to test again just to understand this better.
Comment 4 Martin Flöser 2017-10-16 04:14:30 UTC
Both crashes look strange. The first would be a bug in Qt, the second in Radeon.
Comment 5 Rainer Finke 2017-10-21 11:45:56 UTC
Short update. I only get the segfault, if on my desktop with a radeon GPU the backlight will be adjusted to 0. The following line is shown in these cases right before the kwin crash in journalctl -f:
org_kde_powerdevil[995]: powerdevil: Kbd backlight brightness value:  0

I can just disable in the energy settings the screen energy saving. Then the lockscreen will be always visible and I don't get the segfault. So at least there is a workaround for now.

Maybe this is a radeon driver problem or powerdevil cannot wake up the screen/GPU on Wayland like it does on X11.
Comment 6 Martin Flöser 2017-10-21 11:52:29 UTC
> Maybe this is a radeon driver problem or powerdevil cannot wake up the
> screen/GPU on Wayland like it does on X11.

KWin is responsible for restoring the brightness. So it would be a bug in KWin
Comment 7 Rainer Finke 2018-06-03 20:19:38 UTC
Created attachment 113052 [details]
2018-06-03_kwin_crash
Comment 8 Rainer Finke 2018-06-03 20:33:44 UTC
If I activate in the energy settings the "Screen Energy Saving", Plasma 5.13 beta will still crash on Wayland once turning on the display after saving energy. 
From my point of view, once the display has been turned off and I press again a keyboard key to turn it on again, Plasma tries to connect to it immediately, but my 4K display (Samsung UE28D590D) is quite slow... too slow for Plasma and then kwin_wayland is segfaulting. Please see in the log below, I have attached a more detailed one to this bug.

$ journalctl -f
-- Logs begin at Tue 2018-02-20 18:01:22 CET. --
Jun 03 22:06:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:06:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:07:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:07:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:08:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: Can't contact ck
Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: We are now into activity  "2c18661e-54f5-404e-9fc2-2942df87e639"
Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: () ()
Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: () ()
Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: No batteries found, loading AC
Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: Activity is not forcing a profile
Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: The profile  "AC" tried to activate "DimDisplay" a non-existent action. This is usually due to an installation problem, or to a configuration problem, or simply the action is not supported
Jun 03 22:08:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:09:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:09:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:10:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:10:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:10:53 pc1 org_kde_powerdevil[1350]: powerdevil: Kbd backlight brightness value:  0
Jun 03 22:11:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 03 22:11:18 pc1 kdeinit5[1267]: kscreen: Backend change! KScreen::Config( )
Jun 03 22:11:18 pc1 kdeinit5[1267]: kscreen: Correcting output positions by: QPoint(2147483647,2147483647)
Jun 03 22:11:18 pc1 org_kde_powerdevil[1350]: kscreen: Backend change! KScreen::Config( )
Jun 03 22:11:18 pc1 plasmashell[1312]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jun 03 22:11:18 pc1 plasmashell[1312]: requesting unexisting screen -1
Jun 03 22:11:18 pc1 plasmashell[1312]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:349:34: Unable to assign [undefined] to bool
Jun 03 22:11:18 pc1 plasmashell[1312]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:291:31: Unable to assign [undefined] to QStringList
Jun 03 22:11:18 pc1 kernel: kwin_wayland[1201]: segfault at 558d84dfe150 ip 00007f9ffd349c72 sp 00007ffcb096caa0 error 4 in KWinWaylandDrmBackend.so[7f9ffd322000+38000]
Comment 9 Roman Gilg 2018-06-04 13:44:25 UTC
Can you somehow get a coredump of KWin(!) for that crash?
Comment 10 Rainer Finke 2018-06-04 21:33:24 UTC
Hi Roman,
thanks for getting back to me. I've compiled Kwin & KWayland from git to get debug symbols on Arch Linux, this is the output I got so far, don't know how helpful it is right now. Probably debug symbols for Mesa would be required now?

journalctl -f
Jun 04 23:22:11 pc1 org_kde_powerdevil[4401]: powerdevil: Kbd backlight brightness value:  0
Jun 04 23:22:41 pc1 plasmashell[4318]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 04 23:22:41 pc1 kdeinit5[4287]: kscreen: Backend change! KScreen::Config( )
Jun 04 23:22:41 pc1 kdeinit5[4287]: kscreen: Correcting output positions by: QPoint(2147483647,2147483647)
Jun 04 23:22:41 pc1 org_kde_powerdevil[4401]: kscreen: Backend change! KScreen::Config( )
Jun 04 23:22:41 pc1 plasmashell[4318]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jun 04 23:22:41 pc1 plasmashell[4318]: trying to show an empty dialog
Jun 04 23:22:41 pc1 plasmashell[4318]: requesting unexisting screen -1
Jun 04 23:22:41 pc1 plasmashell[4318]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:291:31: Unable to assign [undefined] to QStringList
Jun 04 23:22:41 pc1 kdeinit5[4287]: kscreen: canBeAppled: There are no enabled screens, at least one required
Jun 04 23:22:41 pc1 kdeinit5[4287]: kscreen.kded: Config does not have at least one screen enabled, WILL NOT save this config, this is not what user wants.
Jun 04 23:22:42 pc1 kdeinit5[4275]: Empty filename passed to function
Jun 04 23:23:41 pc1 baloo_file[4314]: QSocketNotifier: Invalid socket 5 and type 'Read', disabling...
Jun 04 23:23:41 pc1 baloo_file[4314]: QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
Jun 04 23:23:41 pc1 kdeinit5[4287]: Service  "org.kde.StatusNotifierHost-4318" unregistered
Jun 04 23:23:41 pc1 kdeinit5[4287]: Service  ":1.45" unregistered
Jun 04 23:23:42 pc1 systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jun 04 23:23:42 pc1 systemd[1]: Started Process Core Dump (PID 4919/UID 0).

And the output from gdb:
(gdb) continue
Continuing.

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x000055e800000001 in ?? ()
(gdb) bt
#0  0x000055e800000001 in  ()
#1  0x00007f3a40e93ece in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007f3a40e8f554 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f3a40ce1fda in  () at /usr/lib/dri/radeonsi_dri.so
#4  0x00007f3a40ce27f0 in  () at /usr/lib/dri/radeonsi_dri.so
#5  0x00007f3a40ca015f in  () at /usr/lib/dri/radeonsi_dri.so
#6  0x00007f3a40cbdc08 in  () at /usr/lib/dri/radeonsi_dri.so
#7  0x00007f3a40c81ed2 in  () at /usr/lib/dri/radeonsi_dri.so
#8  0x00007f3a40c82668 in  () at /usr/lib/dri/radeonsi_dri.so
#9  0x00007f3a5d4827a8 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) (this=this@entry=0x55e83c261fb0, region=..., primitiveMode=primitiveMode@entry=4, hardwareClipping=hardwareClipping@entry=false) at /usr/src/debug/kwin/libkwineffects/kwinglutils.cpp:2153
#10 0x00007f3a5d482851 in KWin::GLVertexBuffer::render(unsigned int) (this=this@entry=0x55e83c261fb0, primitiveMode=primitiveMode@entry=4) at /usr/include/qt/QtCore/qrect.h:184
#11 0x00007f3a482c5189 in KWin::SceneOpenGL2::doPaintBackground(QVector<float> const&) (this=0x55e83bffdb20, vertices=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.cpp:1075
#12 0x00007f3a482c91c6 in KWin::SceneOpenGL::paintBackground(QRegion) (this=this@entry=0x55e83bffdb20, region=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.cpp:784
#13 0x00007f3a6438b2a1 in KWin::Scene::paintSimpleScreen(int, QRegion) (this=this@entry=0x55e83bffdb20, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kwin/scene.cpp:365
#14 0x00007f3a482c50d4 in KWin::SceneOpenGL2::paintSimpleScreen(int, QRegion) (this=this@entry=0x55e83bffdb20, mask=mask@entry=8, region=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.cpp:1053
#15 0x00007f3a6438e611 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83bffdb20, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kwin/scene.cpp:201
#16 0x00007f3a6439db07 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cb771e0, mask=mask@entry=8, region=..., data=...)
    at /usr/src/debug/kwin/effects.cpp:379
#17 0x00007f3a63ddf042 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83c75e250, mask=mask@entry=8, region=..., data=...)
    at /usr/src/debug/kwin/libkwineffects/kwineffects.cpp:583
#18 0x00007f3a6439daae in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cb771e0, mask=mask@entry=8, region=..., data=...)
    at /usr/src/debug/kwin/effects.cpp:376
#19 0x00007f3a63ddf042 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cd7b110, mask=mask@entry=8, region=..., data=...)
    at /usr/src/debug/kwin/libkwineffects/kwineffects.cpp:583
#20 0x00007f3a6439daae in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cb771e0, mask=mask@entry=8, region=..., data=...)
    at /usr/src/debug/kwin/effects.cpp:376
#21 0x00007f3a63ddf042 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83c9b1040, mask=mask@entry=8, region=..., data=...)
    at /usr/src/debug/kwin/libkwineffects/kwineffects.cpp:583
#22 0x00007f3a6439daae in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cb771e0, mask=8, region=..., data=...) at /usr/src/debug/kwin/effects.cpp:376
#23 0x00007f3a6438e2bb in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) (this=this@entry=0x55e83bffdb20, mask=mask@entry=0x7ffe1124b3d4, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffe1124b3e8, validRegion=validRegion@entry=0x7ffe1124b3f0, projection=..., outputGeometry=...) at /usr/src/debug/kwin/scene.cpp:151
#24 0x00007f3a482c9ce9 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) (this=this@entry=0x55e83bffdb20, damage=..., toplevels=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.h:122
#25 0x00007f3a6437e3ff in KWin::Compositor::performCompositing() (this=0x55e83bf9ee00) at /usr/src/debug/kwin/composite.cpp:745
#26 0x00007f3a6202729b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007f3a625e1984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f3a625e925b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f3a61ffcbc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#30 0x00007f3a6204f21a in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#31 0x00007f3a6204d35e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007f3a4bf4629e in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so
#33 0x00007f3a61ffb85c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#34 0x00007f3a62003b56 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#35 0x000055e83b9fc14e in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/main_wayland.cpp:831
Comment 11 Martin Flöser 2018-06-05 04:24:34 UTC
Crash in Radeon driver. Pretty much in the first place where we rendering to the screen.
Comment 12 Roman Gilg 2018-06-07 09:52:59 UTC
Best way forward would be to get the mesa debug symbols and report the crash upstream.
Comment 13 Rainer Finke 2018-10-09 20:06:26 UTC

*** This bug has been marked as a duplicate of bug 399564 ***
Comment 14 miku84 2019-04-14 15:56:06 UTC
Hi,

I have the same with ATI r600 free driver. Is there any bug or workaround in mesa for it? This is a blocker for me in wayland.
Thanks.