Bug 476783 - kwin_x11 crashes after unplugging one drive from a two-drive Btrfs RAID1
Summary: kwin_x11 crashes after unplugging one drive from a two-drive Btrfs RAID1
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.27.5
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: X11-only
Depends on:
Blocks:
 
Reported: 2023-11-10 09:53 UTC by d7ghrrkcz
Modified: 2025-02-24 17:59 UTC (History)
0 users

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


Attachments
kwin crash backtrace (32.46 KB, text/plain)
2023-11-10 09:53 UTC, d7ghrrkcz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description d7ghrrkcz 2023-11-10 09:53:47 UTC
Created attachment 163012 [details]
kwin crash backtrace

SUMMARY

Crash of kwin_x11 and plasmashell when /home have brief timeout

STEPS TO REPRODUCE
1. Install Debian Stable with /home partition mounted as Btrfs Raid1 on two physical disks
2. Unplug one drive from Btrfs. Filesystem will hang briefly, will output timeout errors in dmesg
3. After a brief pause, /home will continue to work in Btrfs Raid1 degraded mode. It's Raid1, so work on the desktop can continue no problem, until I end my session and shutdown the computer.
4. However, plasmashell and kwin-x11 will crash when this happens.

OBSERVED RESULT
Crash of kwin_x11 and plasmashell (signal 11 SEGV and signal 7 BUS)

EXPECTED RESULT
No crashes, other desktop apps can survive brief inaccessibility of /home partition, kwin should too.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-13-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT
Manufacturer: ASUS

ADDITIONAL INFORMATION
This bug is related to separate bug report #476760 on plasmashell crash which happened at the same time:
https://bugs.kde.org/show_bug.cgi?id=476760
Comment 1 TraceyC 2025-02-24 17:59:12 UTC
Adding the x11-only keyword