https://bugs.kde.org/show_bug.cgi?id=399564

            Bug ID: 399564
           Summary: kwin_wayland segfault on monitor wakeup
           Product: kwin
           Version: 5.14.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: jordanlepp...@gmail.com
  Target Milestone: ---

SUMMARY
When using the Wayland session on KDE Neon 5.14.0, when the powersaving sends
the monitors to sleep due to inactivity, and I then wake them up again with
mouse/keyboard, kwin crashes.

STEPS TO REPRODUCE
1. Log into Plasma Wayland session
2. Wait for powersaving to send the monitors to sleep
3. Wake up with mouse movement/key press

OBSERVED RESULT
Plasma and KWin are dead. SDDM is still alive. This is in the log (journalctl
-b) at the point it crashes:

Oct  9 15:17:11 rupert kernel: [ 1046.307177] kwin_wayland[4108]: segfault at
561cfae8a5e0 ip 00007f68a3ffa1c3 sp 00007ffe84cfa4a8 error 4 in
libQt5Gui.so.5.11.1[7f68a3eff000+58d000]


EXPECTED RESULT
Desktop comes back as normal

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.0
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION

I'm using two 4k monitors connected via DisplayPort 1.2, to an AMD Vega 64
card, using the standard AMDGPU drivers in the 4.15 kernel.

Full system info:

System:    Kernel: 4.15.0-36-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: KDE Plasma 5.14.0 (Qt 5.11.1) Distro: KDE neon User Edition
5.14
Machine:   Device: desktop Mobo: MSI model: X99S SLI PLUS (MS-7885) v: 1.0
serial: N/A
           UEFI: American Megatrends v: 1.E0 date: 06/15/2018
CPU:       6 core Intel Core i7-5820K (-MT-MCP-) arch: Haswell rev.2 cache:
15360 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 39599
           clock speeds: max: 3600 MHz 1: 1788 MHz 2: 1837 MHz 3: 1548 MHz 4:
1833 MHz 5: 1779 MHz 6: 1630 MHz
           7: 1636 MHz 8: 2441 MHz 9: 1446 MHz 10: 1695 MHz 11: 1757 MHz 12:
1548 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon RX Vega] bus-ID:
05:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: ati,amdgpu (unloaded:
modesetting,fbdev,vesa,radeon)
           Resolution: 3840x2160@60.00hz, 3840x2160@60.00hz
           OpenGL: renderer: Radeon RX Vega (VEGA10 / DRM 3.23.0 /
4.15.0-36-generic, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Device aaf8 driver:
snd_hda_intel bus-ID: 05:00.1
           Card-2 Intel C610/X99 series HD Audio Controller driver:
snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card: Intel Ethernet Connection (2) I218-V driver: e1000e v: 3.2.6-k
port: f020 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (25.6% used)
           ID-1: /dev/sda model: Samsung_SSD_840 size: 500.1GB
Partition: ID-1: / size: 457G used: 120G (28%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 40.0C mobo: N/A gpu: 46.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 293 Uptime: 37 min Memory: 2982.1/11905.9MB Init: systemd
runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56

Log:

At the point the powersaving sent monitors to sleep:
Oct  9 15:15:41 rupert kernel: [  598.515338] [drm] HBR2x4 pass VS=2, PE=0

At the point of wakeup:

Oct  9 15:17:01 rupert CRON[4408]: (root) CMD (   cd / && run-parts --report
/etc/cron.hourly)
Oct  9 15:17:10 rupert kernel: [  956.797760] [drm] {3840x2160,
4000x2222@533250Khz}
Oct  9 15:17:10 rupert kernel: [ 1045.725396] [drm] {3840x2160,
4000x2222@533250Khz}
Oct  9 15:17:10 rupert kernel: [ 1045.732945] [drm] HBR2x4 pass VS=1, PE=1
Oct  9 15:17:10 rupert kernel: [ 1045.745082] [drm] {3840x2160,
4000x2222@533250Khz}
Oct  9 15:17:10 rupert kernel: [ 1045.759031] [drm] {3840x2160,
4000x2222@533250Khz}
Oct  9 15:17:11 rupert kernel: [ 1045.766113] [drm] HBR2x4 pass VS=1, PE=1
Oct  9 15:17:11 rupert kernel: [ 1046.307177] kwin_wayland[4108]: segfault at
561cfae8a5e0 ip 00007f68a3ffa1c3 sp 00007ffe84cfa4a8 error 4 in
libQt5Gui.so.5.11.1[7f68a3eff000+58d000]
Oct  9 15:17:11 rupert sddm-helper[4073]: [PAM] Closing session
Oct  9 15:17:11 rupert sddm-helper[4073]: [PAM] Ended.
Oct  9 15:17:11 rupert sddm[3626]: Auth: sddm-helper exited successfully
Oct  9 15:17:11 rupert sddm[3626]: Greeter stopping...
Oct  9 15:17:11 rupert sddm[3626]: Socket server stopping...
Oct  9 15:17:11 rupert sddm[3626]: Socket server stopped.
Oct  9 15:17:11 rupert sddm[3626]: Display server stopping...
Oct  9 15:17:11 rupert sddm-greeter[4046]: The X11 connection broke: I/O error
(code 1)
Oct  9 15:17:11 rupert systemd[1]: session-22.scope: Killing process 4215
(baloo_file) with signal SIGTERM.
Oct  9 15:17:11 rupert systemd[1]: session-22.scope: Killing process 4240 (sh)
with signal SIGTERM.
Oct  9 15:17:11 rupert systemd[1]: session-22.scope: Killing process 4244
(sleep) with signal SIGTERM.
Oct  9 15:17:11 rupert systemd[1]: Stopping Session 22 of user jordan.
Oct  9 15:17:11 rupert systemd[1]: Stopped Session 22 of user jordan.
Oct  9 15:17:11 rupert sddm-helper[4032]: [PAM] Closing session
Oct  9 15:17:11 rupert sddm[3626]: Display server stopped.

There's more logs but they don't seem relevant after this point, I can attach
them if needed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to