Bug 406548 - [Wayland] Kwin always hangs when I open kdenlive or it hangs randomly when I open other windows
Summary: [Wayland] Kwin always hangs when I open kdenlive or it hangs randomly when I ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.16.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-15 02:50 UTC by Patrick Silva
Modified: 2019-07-18 04:52 UTC (History)
2 users (show)

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


Attachments
screenshot showing high cpu usage and status of kwin_wayland (227.92 KB, image/png)
2019-04-15 19:40 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-04-15 02:50:17 UTC
SUMMARY
Reproducible on neon dev unstable, only on Wayland session.

STEPS TO REPRODUCE
1. take a screenshot with spectacle on Wayland session by pressing printscreen key
2. click "Export" button in spectacle, select "Gwenview"
3. 

OBSERVED RESULT
cursor freezes and keyboard input stops

EXPECTED RESULT
Wayland session is still usable
Comment 1 Martin Flöser 2019-04-15 06:45:40 UTC
Can you please attach gdb to the frozen KWin?
Comment 2 Patrick Silva 2019-04-15 19:40:02 UTC
Created attachment 119425 [details]
screenshot showing high cpu usage and status of kwin_wayland

In fact kwin_wayland does not freeze.
It causes high cpu usage and makes the wayland session unusable.
Comment 3 Martin Flöser 2019-04-16 04:25:08 UTC
Nevertheless please try to get a backtrace.
Comment 4 Patrick Silva 2019-04-20 15:40:21 UTC
I can't get a backtrace. Nothing happens when I try to run 'thread apply all bt'
in gdb prompt.
Wayland session also freezes after I search for something in the apps launcher and press enter to open the highlighted search result.
A few days ago Wayland session also froze after I double-click a png file in Dolphin.
However, I can't reproduce such freezes consistently. Apparently they happpen randomly.
Comment 5 Patrick Silva 2019-05-13 12:58:26 UTC
This problem is still happening on neon dev unstable after a while using the Wayland session. Cursor freezes randomly when I open a window.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0
Kernel Version: 4.18.0-18-generic
Comment 6 Patrick Silva 2019-05-16 18:01:31 UTC
plasma 5.16 beta running on another computer has the same problem.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0 beta3
Comment 7 Patrick Silva 2019-06-14 15:44:19 UTC
I can reproduce this problem all the time trying to open kdenlive video editor on Wayland. Kwin also hangs randomly when I try to open other windows (Dolphin and Gwenview, for example).
Comment 8 Mike 2019-06-16 01:20:21 UTC
Could be the same as bug 408754
Comment 9 Patrick Silva 2019-07-18 04:52:13 UTC
This problem is no longer hapening on my systems (Arch running Plasma 5.16.3
and Neon unstable edition).