Re: KDE hang? (not computer, not X11?)
Kevin Krammer <[email protected]> Sun, 05 Mar 2017 09:37:38 +0100
| Newsgroups | gmane.comp.kde.linux |
|---|---|
| Organization | KDE |
| Message-ID | <1732243.T38GrP5jca@persephone> |
On Saturday, 2017-03-04, 13:23:37, Mark Knecht wrote: > Hi all, > I experienced a rather weird hang yesterday which logically seemed like > a KDE problem but I'm unsure. No long-term lasting problems resulted but I > wondered how to debug it or just best deal with it if it happens again. > Thanks in advance for any ideas. > > The machine is Gentoo, mostly stable with kde-meta-16.08.3 installed and > generally updated every couple of days or so. > > The symptoms of the event were: > > 1) The machine was up all day. I had been running 2 Virtualbox Windows VMs > and had Matlab running in Linux, along with Chrome and other smaller apps. > The machine was fine all day. > > 2) At 2PM local time the stock market closed so I shut down everything > except 1 Windows VM which downloads data in the afternoon. > > 3) At some point KDE became non-responsive to either the mouse or keyboard. > The mouse worked, the cursor moved, but nothing responded. The upper-left > trigger to see all windows didn't work, the KDE menu was non-responsive and > the Windows VM was non-responsive. However the programs running in the VM > were still working and completed normally. I just had no apparent way to > use KDE. Could you still interact with the VM? Do you have any regularily updating element on your desktop/panels, e.g. a clock? If yes, check if it still updates. > 4) I was able to shell to the console using Ctrl-Alt-F1 where I could log > in as root and also in my user account. Ctrl-Alt-F7 brought me back to X11 > which was still non-responsive. Only mouse not responding or keyboard functions also? E.g. Alt+F2 (KRunner)? > My question is was there something I might have tried to regain control > of KDE instead of having to do the reboot? One thing I thought of after the > event was maybe hot plug the mouse and/or keyboard to see if that work > anything up. It depends a bit, hence asking the questions above. One cause of no longer being able to interact can be a global "grab". X11 has the concept of application grabbing control of keyboard and/or mouse, e.g. popup windows such as menus do that. If a program grabs control that way no other program can get mouse or keyboard events. The only way to recover from that is to get that "lock" released, e.g. by closing the window that grabbed input or killing the respective process. If it is just a process hanging, e.g. plasmashell or kwin, then killing that and restarting it would already solve the problem. Cheers, Kevin -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIbBAABCAAGBQJYu85SAAoJEEIZ0uq3FeVu2CMP92QCqf4jssISYavdrO0BfMDA AV+caSfdUwcblWolB5HGczEBiW4f/lXtZtATfRhTnJivAbZic1kBIkRDh49pnNEO LWmH/j5pvZSW69n+slC2lM4R+ocMUlgGPUqGobBRsT31JpGQefJnHq4v3WrNL9+f sj/MCBCh0wp2NVhVjc26wnpH5AHPYsIGhX/OgnoVb1M1V6Ut5Pry5492mUa6GxzC PJzkl/Yjq3WKDmga2uaeeJcDMLWmocvr3jozZJxS0bPlmVxH1uk/YDk6kcdLjSb2 mk/0K6C38ZAmxN2tQKRtRAoKK8kFtGZWbZURsZGUX+6NVXeQ6DnAXIvc6ZaQLFcq Lcflh9XMt43DSQs67b4aayE2XnyZ/jMTO/UJkgMYRJmBFQEJTEbws9ne4IeP0GBB lLXQe8MJHydYIImLHB7rKoecHYDSI6PZ+O94ClcHAysT+FA3WhCbAdbfj/kr19Dp YPytP8NbZ5Y+q78pFMVg9+s2vxVFSQ607Z6V4TtUcgAQoh8l7xUzQzpmOyDkoC02 vqVLsPA9URZcSitSyq6ZxUJh/h/ajOYsf7NnR2ekbOsVWdvUKknUaX0R8nnpEwzw jNnL7kMvkfELjwXqi+R2xEWHiDWxRHcXbGZraNrG0X6RRZW8WYWW25ksUxF3Gh4n kE9ccD+fxZMFcJa/zms= =1ebg -----END PGP SIGNATURE-----