Bug 2455 - Slimserver Crash: click "next" after end of .pls file
: Slimserver Crash: click "next" after end of .pls file
Status: RESOLVED DUPLICATE of bug 2368
Product: Logitech Media Server
Classification: Unclassified
Component: Audio
: unspecified
: PC SuSE Linux
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-31 22:34 UTC by Will Irace
Modified: 2005-11-02 06:59 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
here's one example playlist that causes the error (227 bytes, text/plain)
2005-10-31 22:35 UTC, Will Irace
Details
...and here's another (63 bytes, text/plain)
2005-10-31 22:35 UTC, Will Irace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Will Irace 2005-10-31 22:34:37 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.
Comment 1 Will Irace 2005-10-31 22:35:25 UTC
Created attachment 975 [details]
here's one example playlist that causes the error
Comment 2 Will Irace 2005-10-31 22:35:41 UTC
Created attachment 976 [details]
...and here's another
Comment 3 KDF 2005-10-31 23:28:30 UTC
what exactly is the crash message from the log?
Comment 4 KDF 2005-10-31 23:34:10 UTC
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
Comment 5 Will Irace 2005-10-31 23:39:46 UTC
Yes, that's the very error message.  Sorry for not including it before.
Comment 6 KDF 2005-10-31 23:46:45 UTC
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)
Comment 7 KDF 2005-10-31 23:59:42 UTC
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 :)
Comment 8 Will Irace 2005-11-01 07:37:36 UTC
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.
Comment 9 Dan Sully 2005-11-01 16:01:27 UTC
Fix will be in the 11-02-2005 nightly.

*** This bug has been marked as a duplicate of 2368 ***
Comment 10 Will Irace 2005-11-02 06:59:32 UTC
SlimServer Version: 6.5b1 - 4996 - Linux - EN - utf8

Fix confirmed. Thank you!