Bugzilla – Bug 1609
execute method crash on startup
Last modified: 2008-08-18 10:54:16 UTC
not every time, only some startups. I added a bt() in Stdio.pm before line 250. It seems that this sometimes gets here before any clients have initialised. 2005-05-25 07:41:56.1417 Backtrace: frame 0: Slim::Control::Stdio::executeCmd (/Users/fishbone/server/slimserver/Slim/Control/CLI.pm line 233) frame 1: Slim::Control::CLI::executeCmd (/Users/fishbone/server/slimserver/Slim/Control/CLI.pm line 178) frame 2: Slim::Control::CLI::processRequest (/Users/fishbone/server/slimserver/Slim/Networking/Select.pm line 115) frame 3: Slim::Networking::Select::select (./slimserver.pl line 625) frame 4: main::idle (./slimserver.pl line 568) frame 5: main::main (./slimserver.pl line 1155) Can't call method "execute" on an undefined value at /Users/fishbone/server/slimserver/Slim/Control/Stdio.pm line 250, <GEN5> line 1.
Created attachment 525 [details] dont' call if client doesn't exist this simply doesnt' make the execute call unless the client exists.
Actually it is valid to call execute for commands that don't have a valid client. Better to call the global function (rather than the client method) for CLI and HTTP execute commands (there may be others.)
Fixed in subversion change 3293.
This bug was marked resolved in Slimserver 6.1, which is several versions ago. If you're still seeing this bug, please re-open it. Thanks!