Bug 394656 - [wayland] KWin crashes in EglGbm backend when attaching an external monitor with MESA/amdgpu
Summary: [wayland] KWin crashes in EglGbm backend when attaching an external monitor w...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (show other bugs)
Version: 5.12.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-24 18:42 UTC by Erin Yuki Schlarb
Modified: 2021-11-07 18:22 UTC (History)
1 user (show)

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


Attachments
sudo sh -c 'gdb --pid "$(pidof kwin_wayland)" --eval-command="continue" --eval-command="thread apply all backtrace full" --eval-command="quit" 2>&1 | tee /home/alexander/kwin2.log' (66.17 KB, text/plain)
2018-05-24 18:42 UTC, Erin Yuki Schlarb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erin Yuki Schlarb 2018-05-24 18:42:23 UTC
Created attachment 112855 [details]
sudo sh -c 'gdb --pid "$(pidof kwin_wayland)" --eval-command="continue" --eval-command="thread apply all backtrace full" --eval-command="quit" 2>&1 | tee /home/alexander/kwin2.log'

1) Start a Plasma session using GDM (SDDM didn't work last time I tried)
 2) Switch to another VT and log int
 3) Attach debugger to the `kwin_wayland` process
 4) Switch back to KDE Plasma
 5) Attach an external monitor using HDMI

Platform:
 - Device: Lenovo ideapad Y700-ACZ (Laptop)
 - GPU: Radeon R9 M280X (BonaireXT)
 - Kernel: Linux 4.17.0-041700rc6-generic (Ubuntu kernel PPA)
   - amdgpu driver with amdgpu.dc=1
 - Userland:
   - libgbm1 18.0.4-1 (Debian unstable)
   - libdrm2 2.4.92-1 (Debian unstable)
   - libgl1-mesa-dri 10.0.4-1 (Debian unstable)
   - libqt5* 5.10.0+dfsg-2+16.04+xenial+build46 (Neon user)
   - kwin-wayland 4:5.12.5-0neon+16.04+xenial+build88 (Neon user)

Full GDB trace at time of SIGABRT is included in the attachment.
Comment 1 kde.org 2021-11-06 20:56:40 UTC
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Comment 2 Erin Yuki Schlarb 2021-11-07 18:22:41 UTC
Not an issue with Linux 5.12.0-16.2-liquorix-amd64 and current Debian unstable anymore.