Bug 431518 - nested kwin_wayland with scale crashes
Summary: nested kwin_wayland with scale crashes
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: git master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-12 20:53 UTC by Janet Blackquill
Modified: 2021-09-27 07:10 UTC (History)
1 user (show)

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


Attachments
backtrace (13.17 KB, text/plain)
2021-01-12 20:53 UTC, Janet Blackquill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janet Blackquill 2021-01-12 20:53:32 UTC
Created attachment 134793 [details]
backtrace

nested kwin_wayland with the --scale flag set often crashes when a window is opened.

Reproducing:
1. kwin_wayland --width 1920 --height 1080 --scale 2 &
2. env WAYLAND_DISPLAY=wayland-1 kate
Comment 1 Vlad Zahorodnii 2021-01-14 07:54:14 UTC
What's the host compositor? kwin_x11 or kwin_wayland?
Comment 2 Janet Blackquill 2021-01-14 07:58:12 UTC
kwin_wayland
Comment 3 Vlad Zahorodnii 2021-01-14 08:04:26 UTC
Acccording to the backtrace, kwin crashes when GLTexture calls d->onDamage(). This is strange as onDamage() is noop on wayland.
Comment 4 Méven Car 2021-09-27 07:10:34 UTC
I don't reproduce the crash, although I noticed I didn't get a scale factor applied.

The code involved changed a lot since January this may explain that.