Bug 472509 - Kwin_wayland can randomly crash if you are alt-tabbing from Apex Legends while PROTON_LOG=1 is set
Summary: Kwin_wayland can randomly crash if you are alt-tabbing from Apex Legends whil...
Status: RESOLVED DUPLICATE of bug 450933
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.27.6
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-22 20:08 UTC by Antti Savolainen
Modified: 2023-09-08 19:17 UTC (History)
2 users (show)

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


Attachments
Backtrace (2.62 KB, text/plain)
2023-07-22 20:08 UTC, Antti Savolainen
Details
tail --lines 50 steam-1172470.log (4.48 KB, text/plain)
2023-07-22 20:09 UTC, Antti Savolainen
Details
Full backtrace (12.35 KB, text/plain)
2023-07-22 22:33 UTC, Antti Savolainen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Savolainen 2023-07-22 20:08:10 UTC
Created attachment 160453 [details]
Backtrace

SUMMARY
***
Reopening an alt-tabbed Apex Legends game can crash kwin_wayland. Previously when I did this, the game itself crashed and it froze the desktop for a couple of seconds but after setting PROTON_LOG=1 the game took kwin_wayland with it. It takes quite a while, a couple of games and many alt-tabs to repro this. The most opportune time to alt-tab seems to be in the pick screen and then connecting back when the dropship is in view.
Backtrace seems to point here: https://invent.kde.org/plasma/kwin/-/blob/v5.27.6/src/libkwineffects/kwinanimationeffect.cpp#L735

STEPS TO REPRODUCE
1. Set PROTON_LOG=1 in steam for Apex Legends
2. Play the game, occasionally alt-tabbing to the desktop

OBSERVED RESULT
Crash after about 5 games played


SOFTWARE/OS VERSIONS
Linux: Arch Linux
(available in About System)
KDE Plasma Version: 5.17.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Comment 1 Antti Savolainen 2023-07-22 20:09:04 UTC
Created attachment 160454 [details]
tail --lines 50 steam-1172470.log
Comment 2 David Edmundson 2023-07-22 21:47:24 UTC
#0  0x00007fc6fb67ac1b in KWin::AnimationEffect::postPaintScreen() (this=0x556178fc1bc0) at /usr/src/debug/kwin/kwin-5.27.6/src/libkwineffects/kwinanimationeffect.cpp:735
#1  0x00007fc6fb00ba58 in KWin::EffectsHandlerImpl::postPaintScreen() (this=0x556178bee6b0) at /usr/src/debug/kwin/kwin-5.27.6/src/effects.cpp:406
Comment 3 Antti Savolainen 2023-07-22 22:33:47 UTC
Created attachment 160457 [details]
Full backtrace
Comment 4 Antti Savolainen 2023-07-23 07:38:18 UTC
Also of note that I'm on Nvidia
Comment 5 Nate Graham 2023-09-08 19:17:38 UTC

*** This bug has been marked as a duplicate of bug 450933 ***