CachyOS / CachyOS/distribution
Package update: KDE Plasma wallpaper crash due to Exiv2 ABI mismatch
- Dominant language
- No language data
- Stars
- 27
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
**Description:**
After updating Exiv2 to version 0.28.7-1.1, the KDE Plasma wallpaper module (`kcm_wallpaper`) causes `systemsettings` to crash. The root cause is an **ABI mismatch between Exiv2 0.28.7-1.1 and libKExiv2Qt6**.
`libKExiv2Qt6`, used by the wallpaper module, expects the previous ABI of Exiv2, leading to **segfault** and **double free** errors.
---
**Steps to reproduce:**
1. Install Exiv2 0.28.7-1.1 on a CachyOS system with KDE Plasma.
2. Open `systemsettings`.
3. Navigate to the Wallpaper module.
4. Observe the crash.
---
**Temporary workaround:**
- Downgrade Exiv2 to 0.28.5-1
- Or apply wallpapers via CLI:
```bash
plasma-apply-wallpaperimage ~/path/to/image.jpg
```
**Permanent fix:**
Rebuild `libKExiv2Qt6` against the installed version of Exiv2.
```bash
git clone https://invent.kde.org/graphics/libkexiv2.git
cd libkexiv2
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
sudo make install
```
---
**Additional context / Logs:**
- GDB backtrace shows crash in `Exiv2::ExifKey::clone()`
- Related discussion: [Exiv2 issue #3386](https://github.com/Exiv2/exiv2/issues/3386)
**Notes:**
This affects all CachyOS users running KDE Plasma with Exiv2 0.28.7-1.1. Updating the `libKExiv2Qt6` package in the repositories or providing rebuild instructions until the next release would prevent crashes for users.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.