Bugzilla – Bug 1037
Server crash on parsing cue file
Last modified: 2011-03-16 04:19:50 UTC
The server crashed -- I don't know why, but here is a dump that was left on my screen: 2005-03-09 00:49:01.8635 No URL specified for updateOrCreate Use of uninitialized value in concatenation (.) or string at /usr/local/slimserv er/Slim/Utils/Misc.pm line 831. 2005-03-09 00:49:01.8644 2005-03-09 00:49:01.8657 Backtrace: frame 0: Slim::DataStores::DBI::DBIStore::updateOrCreate (/usr/local/slimserv er/Slim/Formats/Parse.pm line 285) frame 1: Slim::Formats::Parse::parseCUE (/usr/local/slimserver/Slim/Formats/P arse.pm line 427) frame 2: Slim::Formats::Parse::readCUE (/usr/local/slimserver/Slim/Formats/Pa rse.pm line 52) frame 3: Slim::Formats::Parse::parseList (/usr/local/slimserver/Slim/Utils/Sc an.pm line 583) frame 4: Slim::Utils::Scan::readList (/usr/local/slimserver/Slim/Utils/Scan.p m line 204) frame 5: Slim::Utils::Scan::addToList_run (/usr/local/slimserver/Slim/Utils/S cheduler.pm line 95) frame 6: Slim::Utils::Scheduler::run_tasks (./slimserver.pl line 553) frame 7: main::idle (./slimserver.pl line 512) frame 8: main::main (./slimserver.pl line 1061) Can't call method "secs" on an undefined value at /usr/local/slimserver/Slim/For mats/Parse.pm line 291.
This crash is due to the server finding a .CUE file, and something in it would seem to be invalid. If you can recreate this crash with --d_parse turned on from server settings->debugging, or from the command line, that would locate which one. Please attach that CUE file to this report.
Created attachment 325 [details] Stdout of slimserver when crashing
Created attachment 326 [details] crazy .cue file. This is the file that seems to cause the crash.
thanks. it seems that the server is expecting a cue file to properly enclose the filename in quotes ("). As a short term workaround, you can probably avoid the crash by editing this cue file to put both filenames in quotes. I dont know offhand if quotes are a requirement of CUE sheet specs, or just a feature of 'nice' CUE sheets. What programe were you using to create these CUE files?
I've checked in a workaround as subversion change 2443. It allows the cue sheet to not have quotes around the filename.