Summary: | Closing an app sometimes freezes complete plasmashell | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Andreas Hartmann <andihartmann> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kde, matthias.sweertvaegher, mk.mateng |
Priority: | NOR | ||
Version First Reported In: | 5.26.4 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andreas Hartmann
2022-12-17 11:13:28 UTC
*** This bug has been marked as a duplicate of bug 432810 *** could you explain how to reproduce this problem with libreoffice? I have the problem with KeepassXC but fail to reproduce it with LibreOffice Writer and Calc Unfortunately not. That's why I wrote "sometimes". If the problem doesn't happen, all apps can be closed without any problem - even keepassxc. If it happens, it happens not only with keepassxc, but any other program, too - like libreoffice e.g. Is it possible to enable some debug output? interesting, you could check the xserver log in your home dir.. I'm not sure we are having the same problem then, as I can consistently reproduce it with KeepassXC (and only that app). Of course, it only happens when copying a password to the clipboard, otherwise, it closes just fine. No - it happens only sometimes (sporadically) and it is not reproducible (or I don't know how to reproduce it). Using keepassxc via copy / paste of passwords (CTRL-SHIFT-V) doesn't necessarily trigger the problem (tested at the moment again - worked just fine as expected). I was able to trigger it a few times at the moment with keepassxc: - Start keepassx - Search for account via search field - mark the desired entry - CTRL-u to copy the URL - paste URL to Firefox - open URL in Firefox - CTRL-B to copy password to Firefox login dialog of website - closed keepasxc - kicker and desktop, ... hangs I was able to reproduce the same problem as described before after logout from KDE and relogin. Seems that CTRL-b or CTRL-u triggers the problem, but not SHIFT-CTRL-c ? I did a strace on the keepassxc process. After closing keepassxc (using ALT-F4 e.g.), the app is closed instantly, but the icon hangs for about 5 s in the plasmashell. Next, I straced kded and plasmashell. kded exactly reports the end of keepassxc: 22457 19:30:51 (+ 0.009041) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28400, si_uid=1000, si_status=0, si_utime=93, si_stime=8} --- 22457 19:30:51 (+ 0.000013) waitid(P_ALL, 0, {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28400, si_uid=1000, si_status=0, si_utime=0, si_stime=0}, WNOHANG|WEXITED|WNOWAIT, NULL) = 0 22457 19:30:51 (+ 0.000017) wait4(28400, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, {ru_utime={tv_sec=0, tv_usec=974179}, ru_stime={tv_sec=0, tv_usec=91589}, ...}) = 28400 After this entry, it takes 5 seconds until plasmashell is "unlocked" again. This starts with this TIMEOUT: 22471 19:30:56 (+ 0.293456) <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) Unfortunately, I can't say which connection exactly timed out. BTW: It's even not necessary to paste the copied data anywhere - it's enough to just do CTRL-u ... . Further strace shows, that the mentioned timed out connection (0x55c409e84f40) is an existing connection in plasmashell which gets reused over and over again (as long as plasmashell isn't stopped). It is exactly reused at the moment of the copy to clipboard with CTRL-u. Maybe there is a problem after clipboard clearing? Keepassxc clears the clipboard after 10 s (but waiting after the clipboard is cleared doesn't "solve" the problem). |