Bug 102423 - kwin segfaults when Alt+Tabbing with windows thumbnails on AMDGPU
Summary: kwin segfaults when Alt+Tabbing with windows thumbnails on AMDGPU
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 17.1
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-26 09:31 UTC by leguen.yannick
Modified: 2018-09-08 06:50 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Backtrace of the kwin crash (8.00 KB, text/plain)
2017-08-26 09:31 UTC, leguen.yannick
Details
backtrace kwin alt-tab thumbnails AMDGPU (8.67 KB, text/plain)
2018-02-01 10:15 UTC, pmargeti34
Details

Description leguen.yannick 2017-08-26 09:31:55 UTC
Created attachment 133806 [details]
Backtrace of the kwin crash

I use an AMD RX560 with Mesa 17.1.7 and Plasma 5.10.5 (ArchLinux).

When I use the "thumbnails" Alt+Tab style for kwin, sooner or later kwin will segfault while alt+tabbing.
Without windows thumbnails, everything works ok.

I reported this bug on the KDE bugtracker already : https://bugs.kde.org/show_bug.cgi?id=383058

But the crash seems to come from the driver.
It happened with previous Mesa 17.1 versions too.

See the backtrace in attachment.
Comment 1 Michel Dänzer 2017-08-28 01:54:35 UTC
Nothing can be done about this without debugging symbols being available for /usr/lib/xorg/modules/dri/radeonsi_dri.so in the backtrace.
Comment 2 leguen.yannick 2017-08-28 09:06:48 UTC
How can I provide such debugging symbols?
Comment 3 Henry Hu 2017-11-09 18:20:42 UTC
I also reported a similar bug to KDE:
https://bugs.kde.org/show_bug.cgi?id=384901
and they sent me upstream.

The backtrace is very similar. On the other hand, I am using the r600 dri module.
It crashes every time I do alt+tab. I'll try to build with debug.
Comment 4 pmargeti34 2018-02-01 10:15:30 UTC
Created attachment 137109 [details]
backtrace kwin alt-tab thumbnails AMDGPU

Kwin segfaults when alt-tabbing with "thumbnails" selected. I wanted to file a bug report against AMDGPU driver, but search shows exactly the same problem with radeonsi, so I'm adding to this bug report. If you think I should open a new bug against AMDGPU, let me know please.

AMD Rx560 using AMDGPU with DC=1 on linux 4.15.0
Xorg: 1.19.6+13+gd0d1a694f-1
xf86-video-amdgpu: 1.4.0-1
kwin: 5.11.95-1
mesa: 17.3.3-2

Filed a bug with KDE: https://bugs.kde.org/show_bug.cgi?id=389593
They told me it's a driver crash and sent me here.
Comment 5 Alex Deucher 2018-02-01 13:49:51 UTC
amdgpu is the kernel driver and radeonsi is the user mode mesa driver.  They both work together on your system.
Comment 6 pmargeti34 2018-02-06 18:56:57 UTC
Plasma updated to 5.12 today, and I no longer can reproduce this bug. I guess this was on their end afterall.
Comment 7 Timothy Arceri 2018-09-08 06:50:46 UTC
Closing as per comment 6.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.