Closed skidoo23 closed 3 years ago
client: [5] process command "albumart "S/Lloyd Stellar - Forsaken Emotions EP/Lloyd Stellar - Forsaken Emotions EP - 04 Night Stalker.mp3" "0""
Thread 1 "mpd" received signal SIGSEGV, Segmentation fault. __strncmp_ia32 (s1=0x0, s2=0x59e9f4 "../", n=3) at ../string/strncmp.c:64 64 ../string/strncmp.c: Datei oder Verzeichnis nicht gefunden. (gdb) bt
(a=0x0, b=0x59e9f4 "../", length=3) at ../src/util/StringAPI.hxx:182
(haystack=0x0, needle=...) at ../src/util/StringCompare.hxx:70
(haystack=0x0, needle=...) at ../src/util/StringCompare.hxx:90
(client=..., song_uri=0x898205 "S/Lloyd Stellar - Forsaken Emotions EP/Lloyd Stellar - Forsaken Emotions EP - 04 Night Stalker.mp3", directory_uri="/data/music/S/Lloyd Stellar - Forsaken Emotions EP")
at ../src/command/FileCommands.cxx:258
(client=..., r=..., uri=0x898205 "S/Lloyd Stellar - Forsaken Emotions EP/Lloyd Stellar - Forsaken Emotions EP - 04 Night Stalker.mp3", offset=0)
at ../src/command/FileCommands.cxx:280
(client=..., args=..., r=...) at ../src/command/FileCommands.cxx:309
(client=..., num=0, line=0x8981fc "albumart")
at ../src/command/AllCommands.cxx:432
(this=0x8981f0, line=0x8981fc "albumart") at ../src/client/Process.cxx:138
--Type
It seems we had the same idea :) #1224
Bug report
Describe the bug
MPD crashes when accessing albumart.
Expected Behavior
Play music without crashing.
Actual Behavior
MPD crashes when accessing albumart.
Version
Music Player Daemon 0.23~git (v0.22.10-470-ga2387210b) Copyright 2003-2007 Warren Dukes warren.dukes@gmail.com Copyright 2008-2021 Max Kellermann max.kellermann@gmail.com This is free software; see the source for copying conditions. There is NO warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Database plugins: simple proxy
Storage plugins: local udisks
Decoders plugins: [mad] mp3 mp2 [mpg123] mp3 [vorbis] ogg oga [oggflac] ogg oga [flac] flac [opus] opus ogg oga [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2 [dsdiff] dff [dsf] dsf [hybrid_dsd] m4a [faad] aac [mpcdec] mpc [wavpack] wv [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve rtp:// rtsp:// rtsps:// [pcm]
Filters: libsamplerate soxr
Tag plugins: id3tag
Output plugins: shout null fifo pipe alsa httpd snapcast recorder
Encoder plugins: null vorbis opus lame wave flac
Archive plugins: [bz2] bz2 [zzip] zip [iso] iso
Input plugins: file io_uring archive alsa curl ffmpeg mms
Playlist plugins: extm3u m3u pls xspf asx rss flac cue embcue
Protocols: file:// alsa:// ftp:// ftps:// gopher:// hls+http:// hls+https:// http:// https:// mms:// mmsh:// mmst:// mmsu:// rtmp:// rtmps:// rtmpt:// rtmpts:// rtp:// rtsp:// rtsps:// scp:// sftp:// smb:// srtp://
Other features: avahi dbus udisks epoll icu inotify ipv6 systemd tcp un
Log
client: [1] process command "albumart "S/Lloyd Stellar - Forsaken Emotions EP/Lloyd Stellar - Forsaken Emotions EP - 04 Night Stalker.mp3" 0" Speicherzugriffsfehler
Segmentation fault for our international readers.