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

            Bug ID: 501489
           Summary: KWin crashes randomly when pressing Alt+Tab with AMD
                    Ryzen 7 7840HS RDNA3 graphics
    Classification: Plasma
           Product: kwin
           Version: 6.3.2
          Platform: KDE Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: elisey.vl20...@gmail.com
  Target Milestone: ---

Application: kwin_wayland (6.3.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.8.0-40-generic x86_64
Windowing System: Wayland
Distribution: KDE neon 6.3
DrKonqi: 6.3.2 [CoredumpBackend]

-- Information about the crash:
System Information

Hardware: Redmi Notebook with AMD Ryzen 7 7840HS / Radeon 780M integrated
graphics
Distribution: KDE Neon 
Kernel: Linux 6.8.0-40-generic (64bit)
Display server: Wayland
KWin version: 6.3.2.1
KDE Plasma: 6.3.2


Steps to Reproduce

- Have multiple windows open
- Press Alt+Tab to switch between windows
- Repeat multiple times
- Randomly, KWin will crash with segmentation fault

Additional Information
The crash happens in the libgallium library, which is related to the Mesa
graphics stack. The backtrace shows the crash occurring in thread handling
graphics rendering.

HW Info


glxinfo | grep "OpenGL version"
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.8-1ubuntu1~24.04.1



inxi -Fxxxz
System:
  Kernel: 6.8.0-40-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
    clocksource: tsc
  Desktop: KDE Plasma v: 6.3.2 tk: Qt v: N/A wm: kwin_wayland vt: 2 dm: SDDM
    Distro: KDE neon 24.04 6.3 base: Ubuntu 24.04 LTS Noble
Machine:
  Type: Laptop System: XIAOMI product: Redmi Book Pro 15 2023 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: XIAOMI model: TM2209 v: V14C2 serial: <superuser required>
    part-nu: TM2209-46948 uuid: <superuser required> UEFI: XIAOMI
    v: RMAPH5B0P0909 date: 08/04/2023
Battery:
  ID-1: BATT charge: 62.9 Wh (86.0%) condition: 73.1/72.0 Wh (101.5%)
    power: 34.4 W volts: 17.7 min: 15.4 model: SUNWODA R15B06W type: Li-ion
    serial: <filter> status: charging
CPU:
  Info: 8-core model: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 4 rev: 1 cache: L1: 512 KiB L2: 8 MiB
    L3: 16 MiB
  Speed (MHz): avg: 1187 high: 1507
    min/max: 400/5137:6080:5449:5293:5764:5924:5608 boost: enabled cores:
    1: 1506 2: 1101 3: 1101 4: 1101 5: 1100 6: 1275 7: 1101 8: 1101 9: 1507
    10: 1100 11: 1101 12: 1101 13: 1101 14: 1101 15: 1101 16: 1506
    bogomips: 121375
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Phoenix1 vendor: Xiaomi driver: amdgpu v: kernel arch: RDNA-3
    pcie: speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2,
    DP-3, DP-4, DP-5, HDMI-A-1, Writeback-1 bus-ID: 04:00.0 chip-ID: 1002:15bf
    class-ID: 0300 temp: 34.0 C
  Device-2: SunplusIT XiaoMi USB 2.0 Webcam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 2b7e:c687
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6
    compositor: kwin_wayland driver: N/A display-ID: 0
  Monitor-1: eDP-1 res: 1600x1000 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa
    v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4 direct-render: yes renderer: AMD
    Radeon 780M (radeonsi gfx1103_r1 LLVM 19.1.1 DRM 3.57 6.8.0-40-generic)
    device-ID: 1002:15bf display-ID: :0.0
  API: Vulkan v: 1.3.275 layers: 3 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 1002:15bf device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Xiaomi
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 04:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Xiaomi
    driver: snd_pci_ps v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 04:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Xiaomi driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 04:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.8.0-40-generic status: kernel-api
  Server-1: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: off 3: wireplumber
    status: active 4: pw-jack type: plugin
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
Network:
  Device-1: driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1 port: N/A
    bus-ID: 01:00.0 chip-ID: 0b48:7922 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  IF-ID-1: br-af253f25a554 state: down mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 bus-ID: 1-5:3 chip-ID: 35f5:7922 class-ID: e001
    serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 sub-v: 2402 hci-v: 11 rev: 1910 class-ID: 7c010c
Drives:
  Local Storage: total: 931.51 GiB used: 305.88 GiB (32.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 3B4QFXO7
    temp: 35.9 C scheme: GPT
Partition:
  ID-1: / size: 174.21 GiB used: 63.73 GiB (36.6%) fs: ext4
    dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 99.2 MiB used: 56.1 MiB (56.5%) fs: vfat
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: file size: 6 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 38.2 C mobo: 36.0 C gpu: amdgpu temp: 34.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 30.52 GiB
    used: 11.78 GiB (38.6%)
  Processes: 318 Power: uptime: 2h 40m states: freeze,mem,disk
    suspend: s2idle wakeups: 0 hibernate: platform Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: 2569 pm: dpkg pkgs: 2523 pm: flatpak pkgs: 33 pm: snap pkgs: 13
    Compilers: gcc: 13.3.0 alt: 11/12 Shell: Bash v: 5.2.21 running-in: konsole
    inxi: 3.3.34

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#6  0x00007307b92ea68c in ??? () at
/lib/x86_64-linux-gnu/libgallium-24.2.8-1ubuntu1~24.04.1.so
#7  0x00007307b92eb300 in ??? () at
/lib/x86_64-linux-gnu/libgallium-24.2.8-1ubuntu1~24.04.1.so
#8  0x00007307b9350cd3 in ??? () at
/lib/x86_64-linux-gnu/libgallium-24.2.8-1ubuntu1~24.04.1.so
#9  0x00007307b92ea4c8 in ??? () at
/lib/x86_64-linux-gnu/libgallium-24.2.8-1ubuntu1~24.04.1.so
#10 0x00007307b91300de in ??? () at
/lib/x86_64-linux-gnu/libgallium-24.2.8-1ubuntu1~24.04.1.so


Reported using DrKonqi

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

Reply via email to