Bug 1421 - Crash when attempting to play a radio station
: Crash when attempting to play a radio station
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Audio
: 6.1.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dave Cohen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-23 02:10 UTC by Philip Meyer
Modified: 2008-08-18 10:54 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2005-04-23 02:10:22 UTC
I have a playlist containing a url to stream the World Cafe Internet Music 
(http://wxpnsc.streamguys.com:80/).  Using the nightly SlimServer_v2005-04-
22.exe, this crashes slimserver with the following message recorded in the 
event log:

Can't call method "songBytes" on an undefined value 
at /PerlApp/Slim/Player/Protocols/HTTP.pm line 504.
Comment 1 Vidur Apparao 2005-04-23 10:06:23 UTC
This crash can be attributed to Dave's checkin:

https://svn.slimdevices.com/trunk/server/Slim/Utils/Scan.pm?r1=3003&r2=3004

It's a bad idea to try to read the entire file in when we don't yet know whether
it's a song or a list. If it's the former, we're going to get into trouble.
Let's talk about this offline.
Comment 2 Vidur Apparao 2005-04-23 11:17:55 UTC
*** Bug 1419 has been marked as a duplicate of this bug. ***
Comment 3 Dave Cohen 2005-04-25 14:35:17 UTC
Relocated the code of my earlier checkin.  That code should no longer affect
audio streams (it's still required for remote playlists).
Comment 4 Chris Owens 2008-03-11 11:28:11 UTC
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!