Bugzilla – Bug 2767
Slimserver rescan crashes on files with bad artwork tag
Last modified: 2008-09-15 14:37:04 UTC
These files had artwork added with an add-on program, and worked OK until 6.5. Now a rescan crashes SS to the prompt with the error: Can't use string ("image/jpg") as a HASH ref while "strict refs" in use at C:/Program Files/SlimServer/server/Slim/Formats/MP3.pm line 204.
Created attachment 1085 [details] MP3 file with artwork tag
interestingly, this file works fine for me, 6.5svn: 'YEAR' => '1976', 'ARTIST' => 'Al Di Meola', 'COMMENT' => '', 'PIC' => { 'FORMAT' => 'image/jpeg', 'DATA' => '????JFIF??C ...more binary data... }, 'TITLE' => 'Sarabande From Violin Sonata In B Minor', 'ALBUM' => 'Land Of The Midnight Sun', 'GENRE' => 'Jazz', 'TAGVERSION' => 'ID3v2.3.0', 'TRACKNUM' => '3' }; do you still have the file that you posted this same info from on the forum?
> do you still have the file that you posted this same info from on the forum? Yes I do. I moved it and the others with problems out of my music folder temporarily.
please attach the original file that showed the problem for you.
Created attachment 1087 [details] second sample provided via emai I have tested with this file, and with another sample given via email (attached now). I have not been able to reproduce the crashes. Scanning, in my case, completes and I am able to view the artwork as thumbnail and album art. Bill has used the EXE install, and 5.8.6 for patching as instructed by Dan. I'm using 5.8.7 under Debian. My only guess left at this point is possibly some sort of conflict in the MP3::Info modules (since the one in slimserver is slightly customised), though I can't see how this could get confused using the EXE
Issue was resolved with a clean install of 6.5b1. Thanks to kdf for help along the way. This PC had been upgraded by writing the nightly EXE beta files over the previous version a couple of times a week for several months, so it's difficult to determine how the problem arose.
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.