Bug 446885 - Task switcher crashes when zoomed in on Wayland desktop
Summary: Task switcher crashes when zoomed in on Wayland desktop
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (other bugs)
Version First Reported In: 5.23.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-12-12 14:52 UTC by Rob Hasselbaum
Modified: 2022-02-13 00:20 UTC (History)
2 users (show)

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


Attachments
kwin_wayland coredump_gdb (10.94 KB, application/gzip)
2022-01-12 01:14 UTC, Rob Hasselbaum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Hasselbaum 2021-12-12 14:52:36 UTC
SUMMARY
When desktop is zoomed in using the Zoom (Accessibility) desktop effect, pressing Alt-Tab to invoke the task switcher crashes the session. I can reproduce it quite consistently with different visualizations (e.g. Breeze) on Wayland, but not X11. This is particularly troublesome for users with low-vision who use Zoom regularly.

STEPS TO REPRODUCE
1. Start Plasma Wayland session.
2. Partially zoom in on the desktop using Zoom desktop effect.
3. Hit Alt-Tab to invoke task switcher.

OBSERVED RESULT

Desktop session crashes.

EXPECTED RESULT

Task switcher should appear and work.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Sorry, can't seem to get backtrace, but it is easily reproducible from what I can tell.
Comment 1 Nate Graham 2021-12-14 18:58:14 UTC
Cannot reproduce on current git master. I'm afraid we'll need that backtrace. :) 

https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 2 Bug Janitor Service 2021-12-29 04:35:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Rob Hasselbaum 2021-12-29 13:54:11 UTC
Hi. It is still happening for me. I read the wiki, but I'm unsure how to get a backtrace when Plasma itself crashes (as opposed to an app). There's no crash report dialog after it restarts (other than Akonadi, but that's probably unrelated). Any suggestions?

Also, I'm on Arch so I don't think I can get debug packages without replacing my entire KDE installation. :-/
Comment 4 Vlad Zahorodnii 2022-01-11 13:50:09 UTC
(In reply to Rob Hasselbaum from comment #3)
> Hi. It is still happening for me. I read the wiki, but I'm unsure how to get
> a backtrace when Plasma itself crashes (as opposed to an app). There's no
> crash report dialog after it restarts (other than Akonadi, but that's
> probably unrelated). Any suggestions?
> 
> Also, I'm on Arch so I don't think I can get debug packages without
> replacing my entire KDE installation. :-/

can you check coredumps? `coredumpctl list kwin_wayland`, then `coredumpctl gdb <pid>`. I can't reproduce the issue similar to Nate.
Comment 5 Rob Hasselbaum 2022-01-12 01:14:57 UTC
Created attachment 145346 [details]
kwin_wayland coredump_gdb

Reproduced today. PID 1518. Here's the output from "coredumpctl gdb 1518 >kwin_wayland_coredump_gdb". Hopefully, it's helpful. I don't see debug symbols.
Comment 6 Vlad Zahorodnii 2022-01-12 14:27:41 UTC
Yeah, the backtrace misses the most important stuff. It seems like it's something about opengl context. There was an issue about opengl context handling in the zoom effect, unfortunately that fix is only in git master. If it's not possible to get debug symbols, I suggest to check if the issue is fixed in 5.24 or its beta.
Comment 7 Rob Hasselbaum 2022-01-12 23:30:20 UTC
OK, I will wait for 5.24 to hit Arch repos and try again.
Comment 8 Nate Graham 2022-01-13 20:12:11 UTC
.
Comment 9 Bug Janitor Service 2022-01-28 04:37:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Rob Hasselbaum 2022-01-28 13:06:22 UTC
Waiting on release of Plasma 5.24 to Arch repos to see if it fixes it. Will update then.
Comment 11 Bug Janitor Service 2022-02-12 04:36:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Rob Hasselbaum 2022-02-13 00:20:02 UTC
This does seem to be fixed in 5.24. 😊 I've tried a bunch of times and I'm unable to reproduce the crash now. Thanks!