Bugzilla – Bug 2455
Slimserver Crash: click "next" after end of .pls file
Last modified: 2005-11-02 06:59:32 UTC
I'm running the 10/31/05 nightly 6.5 build. I will attach two files I keep in my "playlist" directory--they both contain shoutcast streams. When I have one playing, and click "Next" in the Fishbone Skin (Or "Skip" in Default), slimserver crashes and dies if there's no "next" thing in the playlist. Actually, trying to start the shoutcast stream when it's already playing crashes slimserver too.
Created attachment 975 [details] here's one example playlist that causes the error
Created attachment 976 [details] ...and here's another
what exactly is the crash message from the log?
ah....is it this: Can't call method "isa" on unblessed reference at /mnt/mandrake/usr/local/slimserver/trunk/CPAN/Class/DBI/Relationship/HasA.pm line 41. This comes up a lot. see bug 2368
Yes, that's the very error message. Sorry for not including it before.
Dan, reproduced this and put in a backtrace from HasA: frame 0: Class::DBI::Relationship::HasA::__ANON__ (/mnt/mandrake/usr/local/slimserver/trunk/CPAN/Class/Trigger.pm line 51) frame 1: Class::Trigger::call_trigger (/mnt/mandrake/usr/local/slimserver/trunk/CPAN/Class/DBI.pm line 814) frame 2: Class::DBI::construct (/mnt/mandrake/usr/local/slimserver/trunk/CPAN/Class/DBI.pm line 1255) frame 3: Class::DBI::_ids_to_objects (/mnt/mandrake/usr/local/slimserver/trunk/CPAN/Class/DBI.pm line 1241) frame 4: Class::DBI::sth_to_objects (/mnt/mandrake/usr/local/slimserver/trunk/CPAN/Class/DBI.pm line 1204) frame 5: Class::DBI::_do_search (/mnt/mandrake/usr/local/slimserver/trunk/CPAN/Class/DBI.pm line 1161) frame 6: Class::DBI::search (/mnt/mandrake/usr/local/slimserver/trunk/Slim/DataStores/DBI/DBIStore.pm line 1245) frame 7: Slim::DataStores::DBI::DBIStore::_retrieveTrack (/mnt/mandrake/usr/local/slimserver/trunk/Slim/DataStores/DBI/DBIStore.pm line 509) frame 8: Slim::DataStores::DBI::DBIStore::updateOrCreate (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Music/Info.pm line 397) frame 9: Slim::Music::Info::setContentType (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Player/Protocols/HTTP.pm line 184) frame 10: Slim::Player::Protocols::HTTP::request (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Player/Protocols/HTTP.pm line 130) frame 11: Slim::Player::Protocols::HTTP::open (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Player/Protocols/HTTP.pm line 45) frame 12: Slim::Player::Protocols::HTTP::new (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Player/Source.pm line 2195) frame 13: Slim::Player::Source::openRemoteStream (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Player/Source.pm line 1359) frame 14: Slim::Player::Source::openSong (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Player/Source.pm line 918) frame 15: Slim::Player::Source::gotoNext (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Player/Source.pm line 416) frame 16: Slim::Player::Source::playmode (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Player/Source.pm line 821) frame 17: Slim::Player::Source::jumpto (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Control/Command.pm line 939) frame 18: Slim::Control::Command::execute (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Web/HTTP.pm line 674) frame 19: Slim::Web::HTTP::processURL (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Web/HTTP.pm line 539) frame 20: Slim::Web::HTTP::processHTTP (/mnt/mandrake/usr/local/slimserver/trunk/Slim/Networking/Select.pm line 117) frame 21: Slim::Networking::Select::select (./slimserver.pl line 635) frame 22: main::idle (./slimserver.pl line 571) frame 23: main::main (./slimserver.pl line 1230)
odd. DBIstore 1245 does a search for a url. When the crash occurs, it looks like HasA is doing a lookup of album info from a track. It should return at line 37, but it keeps going until it trys ->isa on an undefined $value. thought I could learn this section, but I'm outta time tonight :)
You probably have all the information you need, but now http://207.200.96.226:8038/ crashes SlimServer immediately (same error), it won't play at all. I'm pretty sure this has gotten worse since SlimServer_v2005-10-27.
Fix will be in the 11-02-2005 nightly. *** This bug has been marked as a duplicate of 2368 ***
SlimServer Version: 6.5b1 - 4996 - Linux - EN - utf8 Fix confirmed. Thank you!