Bug 509203 - Songs with a large cover break plasmashell
Summary: Songs with a large cover break plasmashell
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.80
Platform: Other Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-06 17:59 UTC by daron439
Modified: 2025-09-17 22:04 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daron439 2025-09-06 17:59:52 UTC
SUMMARY
Playing a song with a very large embedded cover image causes plasmashell to stop working.
This does not appear to be a crash — nothing shows up in coredumpctl. I tried disabling Media Player and Notifications in the system tray settings, but that didn’t help. Plasmashell runs fine when launched under gdb...

To create such a file:

1. find any mp3 file
2. convert -size 6000x6000 xc:gray +noise Random big.png
3. ffmpeg -i your.mp3 -i big.png -map 0:0 -map 1:0 \ 
  -c copy -id3v2_version 3 -metadata:s:v title="Album cover" \
  -metadata:s:v comment="Cover (front)" song_with_cover.mp3

STEPS TO REPRODUCE
1. Play a songs with a large cover in Elisa

OBSERVED RESULT
plasmashell and kded6 both exit and do not automatically restart

EXPECTED RESULT
plasmashell works

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Robert Wolniak 2025-09-08 09:32:10 UTC
plasmashell started crashing for me as well recently after I added some new songs, so it seems that it affects me as well.

Operating System: openSUSE Tumbleweed 20250905
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.16.1-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550 GAMING X V2
Comment 2 TraceyC 2025-09-09 14:32:46 UTC
(In reply to daron439 from comment #0)
Thanks for the bug report. Can you please fill out this information? Thanks.

> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> (available in the Info Center app, or by running `kinfo` in a terminal
> window)
> Linux/KDE Plasma: 
> KDE Plasma Version: 
> KDE Frameworks Version: 
> Qt Version:
Comment 3 TraceyC 2025-09-09 14:33:37 UTC
(In reply to Robert Wolniak from comment #1)
> plasmashell started crashing for me as well recently after I added some new
> songs, so it seems that it affects me as well.

Can you verify the size of the largest cover image in those songs? Thanks!
Comment 4 daron439 2025-09-09 14:36:54 UTC
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.1
Kernel Version: 6.15.10-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland

I also tested in a VM running Fedora 42 (with Plasma 6.4.4), and the issue is reproducible there as well.
Comment 5 Robert Wolniak 2025-09-11 09:46:01 UTC
I got some system update a few days ago and Elisa no longer crashes plasmashell.

https://openqa.opensuse.org/snapshot-changes/opensuse/Tumbleweed/diff/20250905

Could it be related to any regressions from some other packages, like Mesa drivers?
Comment 6 TraceyC 2025-09-17 17:09:53 UTC
It looks like this may have been a bug in Elisa or plasmashell which looks to be fixed
I can't reproduce this on a Fedora 42 VM with Plasma 6.4.5

The steps I used:
- Copied an mp3 file to your.mp3
- I wasn't able to use the convert command from the original post, it got an error (below). I used a png file that was 11.5 MB
  I also tested with a png file that I resized with Gwenview to 6000 x 9000 px
- Used the ffmpeg command to update the metadata of the mp3 file (result: song_with_cover.mp3)
- Opened song_with_cover.mp3 in Elisa

Result: It plays normally (it takes a moment to start), and plasmashell continues running normally
The original mp3 plays normally


daron439@gmail.com - are you still seeing the bug with plasma 6.4.5 and Elisa 25.08.0 ?


The error from the convert command:
tracey@fedora:~/Documents/test_docs$ convert -size 6000x6000 x:gray +noise Random big.png
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

convert: no window with specified ID exists 'gray': Resource temporarily unavailable @ error/xwindow.c/XImportImage/4950.
Comment 7 daron439 2025-09-17 18:31:39 UTC
I tested again in:
    Arch Linux VM with 6.4.5
    Fedora 42 with git-master

The issue still reproduces (crash occurs in both cases).

The music player doesn't matter - the issue occurs with mpv (when mpv-mpris is installed), Elisa, and Haruna.

The mp3 I used: https://github.com/solopasha/kdebug509203/releases/download/latest/song_with_cover.mp3 (It was generated using this workflow: https://github.com/solopasha/kdebug509203/blob/main/.github/workflows/test.yaml)
Comment 8 Nate Graham 2025-09-17 22:04:52 UTC
This could be another manifestation or side effect of Bug 509192, which also seems to have something to do with album art — especially if you can make the issue stop happening by disabling the Media Player widget in your system tray.