Bug 1510 - Slimserver terminates when attempting to play Live365 station
: Slimserver terminates when attempting to play Live365 station
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugin
: 6.1.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Vidur Apparao
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-07 03:19 UTC by Berni Lowe
Modified: 2008-08-18 10:54 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
add assert to track missing client. (299 bytes, patch)
2005-05-07 04:33 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Berni Lowe 2005-05-07 03:19:57 UTC
Slimserver 6.1.0 2005.05.07 Nightly build fresh install.
Windows XP Pro
Squeezbox2 Firmware 12

Start slim.exe from windows DOS box openes in server directory using typed 
command slim.

Switch on Squeezebox 2 which has an empty playlist.
Navigate to Live365 station and press Play.
The following series of messages appears and slim.exe terminates:

Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Can't call method "master" on an undefined value 
at /PerlApp/Slim/Player/Sync.pm
 line 388.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257 during global destruction.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257 during global destruction.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257 during global destruction.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257 during global destruction.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257 during global destruction.

C:\Program Files\SlimServer\server>
Comment 1 Berni Lowe 2005-05-07 04:13:38 UTC
A Live356 station can be played from the Windows SlimServer.exe GUI Slim 
Devices Picks section but the same station played by navigating on the 
Squeezebox causes slim.exe to terminate.
Comment 2 KDF 2005-05-07 04:33:49 UTC
Created attachment 501 [details]
add assert to track missing client.

this error is coming up becuase some function prior this line is failing to
pass the client object.  Hard to tell where its coming from, so we'll need to
add an assert and see what happens with the next nightly build.
Comment 3 KDF 2005-05-07 18:04:34 UTC
Berni,

there is a bit more debugging added for the May 8 build, so if you can reproduce
this error with that build, you should get a backtrace when this crash occurs
that can help to find out where its coming from.  thanks
Comment 4 Berni Lowe 2005-05-08 07:08:43 UTC
Launched Slim with -d_plugins


C:\Program Files\SlimServer\server>slim -d_plugins
2005-05-08 14:46:19.1719 BROWSE_MUSIC does not exist. creating...
2005-05-08 14:46:19.1726 Registering screensaver Now Playing (Jump back on 
wake.)
2005-05-08 14:46:21.2228 Requiring Plugins::DateTime::Plugin plugin.
2005-05-08 14:46:21.2263 PLUGINS does not exist. creating...
2005-05-08 14:46:21.2265 Registering screensaver PLUGIN_SCREENSAVER_DATETIME
2005-05-08 14:46:21.2266 SCREENSAVERS does not exist. creating...
2005-05-08 14:46:21.2267 Requiring Plugins::Rescan plugin.
2005-05-08 14:46:21.2319 Requiring Plugins::RadioIO::Plugin plugin.
2005-05-08 14:46:21.2365 Adding RadioIO::Plugin to menu: RADIO
2005-05-08 14:46:21.2366 RADIO does not exist. creating...
2005-05-08 14:46:21.2372 Requiring Plugins::SavePlaylist plugin.
2005-05-08 14:46:21.2409 Requiring Plugins::Podcast::Plugin plugin.
2005-05-08 14:46:21.2559 Requiring Plugins::MusicMagic::Plugin plugin.
2005-05-08 14:46:21.4061 Requiring Plugins::Visualizer plugin.
2005-05-08 14:46:21.4105 Registering screensaver 
PLUGIN_SCREENSAVER_VISUALIZER_SPECTRUM_ANALYZER
2005-05-08 14:46:21.4106 Registering screensaver 
PLUGIN_SCREENSAVER_VISUALIZER_ANALOG_VUMETER
2005-05-08 14:46:21.4107 Registering screensaver 
PLUGIN_SCREENSAVER_VISUALIZER_DIGITAL_VUMETER
2005-05-08 14:46:21.4109 Requiring Plugins::SlimTris plugin.
2005-05-08 14:46:21.4162 Adding SlimTris to menu: GAMES
2005-05-08 14:46:21.4164 GAMES does not exist. creating...
2005-05-08 14:46:21.4166 Requiring Plugins::MoodLogic::Plugin plugin.
2005-05-08 14:46:21.4397 Requiring Plugins::Picks::Plugin plugin.
2005-05-08 14:46:21.4440 Adding Picks::Plugin to menu: RADIO
2005-05-08 14:46:21.4449 Requiring Plugins::iTunes plugin.
2005-05-08 14:46:22.0627 Requiring Plugins::RssNews plugin.
2005-05-08 14:46:22.0838 Adding RssNews to menu: PLUGINS
2005-05-08 14:46:22.0841 Registering screensaver PLUGIN_RSSNEWS_SCREENSAVER
2005-05-08 14:46:22.0843 Requiring Plugins::Favorites::Plugin plugin.
2005-05-08 14:46:22.0881 Adding Favorites::Plugin to menu: PLUGINS
2005-05-08 14:46:22.0884 Requiring Plugins::ShoutcastBrowser::Plugin plugin.
2005-05-08 14:46:22.1083 Adding ShoutcastBrowser::Plugin to menu: RADIO
2005-05-08 14:46:22.1091 Requiring Plugins::Live365 plugin.
2005-05-08 14:46:22.1299 Adding Live365 to menu: RADIO
2005-05-08 14:46:22.1417 Podcast Plugin initializing.
2005-05-08 14:46:22.1419 Podcast Feed Info:
2005-05-08 14:46:22.1420 Amplified, http://feeds.feedburner.com/amplified
2005-05-08 14:46:22.1421 Vinyl, http://vinyl.codyhanson.com/wp-rss2.php
2005-05-08 14:46:22.1422
2005-05-08 14:46:22.1507 RSS Feed Info:
2005-05-08 14:46:22.1509 BBC News World Edition, 
http://news.bbc.co.uk/rss/newso
nline_world_edition/front_page/rss091.xml
2005-05-08 14:46:22.1511 CNET News.com, http://news.com.com/2547-1_3-0-5.xml
2005-05-08 14:46:22.1512 New York Times Home Page, 
http://www.nytimes.com/servic
es/xml/rss/nyt/HomePage.xml
2005-05-08 14:46:22.1513 RollingStone.com Music News, 
http://www.rollingstone.co
m/rssxml/music_news.xml
2005-05-08 14:46:22.1514 Slashdot, http://slashdot.org/index.rss
2005-05-08 14:46:22.1515 Yahoo! News: Business, 
http://rss.news.yahoo.com/rss/business
2005-05-08 14:46:22.1516

At this point I used the remote control to navigate to Live365 - I hadn't 
realised that I needed to re-enter my username and password.  These messages 
reported:


Use of uninitialized value in unpack at C:/Program 
Files/SlimServer/server/Plugins/Live365.pm line 948.
2005-05-08 14:46:52.4003 Live365.login: no credentials set

I then pressed Play for a station which had previously failed. Station played 
successfully,


2005-05-08 14:47:23.1268 Live365.protocolHandler requested: 
live365://www.live365.com/play/todomundo (todomund)
2005-05-08 14:47:23.7500 Live365 station really 
at: 'http://216.235.81.21:20170/
play?membername=&session=todomundo:0'
2005-05-08 14:47:29.7031 Got playlist response: <?xml version="1.0" 
encoding="UT
F-8"?
><Playlist><Refresh>600</Refresh><Broadcaster>todomund</Broadcaster></Playl
ist>
2005-05-08 14:47:29.7043 Playlist handler returned an invalid response, falling
back to the station title



I then cleared the playlist and used the SlimServer gui to enter my username 
and password.  Following that I used the remote to navigate to the same 
station and pressed play.



2005-05-08 14:49:16.5641 Logging in bernilowe
2005-05-08 14:49:17.1406 Live365 logged in: bernilowe:19OQaC4DR3oaw
2005-05-08 14:49:48.0634 Live365.ChannelMode URL: 
live365://www.live365.com/play
/todomundo?sessionid=bernilowe:19OQaC4DR3oaw
2005-05-08 14:49:48.1349 Live365.protocolHandler requested: 
live365://www.live365.com/play/todomundo?sessionid=bernilowe:19OQaC4DR3oaw 
(todomundo)
2005-05-08 14:49:48.7968 Live365 station really 
at: 'http://216.235.81.21:20170/
play?membername=bernilowe&session=todomundo:0&sessionid=bernilowe%
3A19OQaC4DR3oa
w'
2005-05-08 14:49:54.8593 Got playlist response: <?xml version="1.0" 
encoding="UTF-8"?
><Playlist><Refresh>111</Refresh><Broadcaster>todomundo</Broadcaster><Playl
istEntry><Title>The World Isn't Fair</Title><Artist>Randy 
Newman</Artist><Album>Bad 
Love</Album><ECommerceURL></ECommerceURL><FileName>07_The_World_Isn_t_Fair.m
p3</FileName><trackType></trackType><desc></desc><clickThruURL></clickThruURL><
v
isualURL></visualURL><Seconds>164</Seconds></PlaylistEntry><PlaylistEntry><Titl
e
>Cigarettes and Chocolate Milk</Title><Artist>Rufus 
Wainwright</Artist><Album>Poses</Album><ECommerceURL></ECommerceURL><FileName>C
igarettes_and_Chocolate_Milk.
mp3</FileName><trackType></trackType><desc></desc><clickThruURL></clickThruURL>
<
visualURL></visualURL><Seconds>282</Seconds></PlaylistEntry><PlaylistEntry><Tit
l
e>Hurdy Gurdy Man</Title><Artist>Donovan</Artist><Album>Donovan's Greates 
Hits</
Album><ECommerceURL></ECommerceURL><FileName>Hurdy_Gurdy_Man.mp3</FileName><tra
c
kType></trackType><desc></desc><clickThruURL></clickThruURL><visualURL></visual
U
RL><Seconds>195</Seconds></PlaylistEntry><PlaylistEntry><Title>Astronomy 
Domin&#9500;�
</Title><Artist>Pink Floyd</Artist><Album>The Piper at the Gates of 
Dawn</Album>
<ECommerceURL></ECommerceURL><FileName>Astronomy_Domine.mp3</FileName><trackTyp
e
></trackType><desc></desc><clickThruURL></clickThruURL><visualURL></visualURL><
S
econds>252</Seconds></PlaylistEntry><PlaylistEntry><Title>Slip Inside This 
House
</Title><Artist>13th Floor Elevators</Artist><Album>Easter 
Everywhere</Album><EC
ommerceURL></ECommerceURL><FileName>Slip_Inside_This_House.mp3</FileName><track
Type></trackType><desc></desc><clickThruURL></clickThruURL><visualURL></visualU
RL
><Seconds>483</Seconds></PlaylistEntry><PlaylistEntry><Title>Cirano</Title><Art
ist>Piccolo 
Orch</Artist><Album></Album><ECommerceURL></ECommerceURL><FileName>Ci
rano.mp3</FileName><trackType></trackType><desc></desc><clickThruURL></clickThr
uURL><visualURL></visualURL><Seconds>253</Seconds></PlaylistEntry><PlaylistEntr
y>
<Title>God's Song (That's Why I Love Mankind)</Title><Artist>Randy 
Newman</Artist><Album>Guilty: 30 Years Of Randy Newman (Disc 1)
</Album><ECommerceURL></ECommerceURL><FileName>19_God_s_Song__That_s_Why_I_Love
_Mankind_.mp3</FileName><trackType></trackType><desc></desc><clickThruURL></cli
ckThruURL><visualURL></visualURL
><Seconds>218</Seconds></PlaylistEntry><PlaylistEntry><Title>Morning 
Bell/Amnesiac</Title><Artist>Radiohead</Artist><Album>Amnesiac</Album><ECommerc
eURL></ECommerceURL><FileName>07_Morning_Bell_Amnesiac.mp3</FileName><trackType
></trackType>
<desc></desc><clickThruURL></clickThruURL><visualURL></visualURL><Seconds>196</
Seconds></PlaylistEntry><PlaylistEntry><Title>Vampires</Title><Artist>Paul 
Simon</Artist><Album>Songs From The 
Capeman</Album><ECommerceURL></ECommerceURL><FileName>05_Vampires.mp3</FileName
><trackType></trackType><desc></desc><clickThruURL>
</clickThruURL><visualURL></visualURL><Seconds>314</Seconds></PlaylistEntry><Pl
aylistEntry><Title>The Way You Move (Featuring Sleepy Brown)
</Title><Artist>OutKast &amp; Sleepy Brown</Artist><Album>Outkast - 
Speakerboxxx</Album><ECommerceURL
></ECommerceURL><FileName>05_The_Way_You_Move__Featuring_Sleepy_Brown_.mp3</Fil
eName><trackType></trackType><desc></desc><clickThruURL></clickThruURL><visualU
RL
></visualURL><Seconds>234</Seconds></PlaylistEntry></Playlist>
2005-05-08 14:49:54.8660 Live365 Now Playing: The World Isn't Fair - Randy 
Newman - Bad Love
2005-05-08 14:49:54.8663 Live365 next update: 111 seconds

The station played successfully.
However, I tried a second test and caused a failure as before - see below.
Comment 5 Berni Lowe 2005-05-08 07:22:11 UTC
Restarted slim.exe with -d_plugins option.  All of the dated and timed lines 
result from that debug option.

C:\Program Files\SlimServer\server>slim -d_plugins
2005-05-08 15:02:34.3439 BROWSE_MUSIC does not exist. creating...
2005-05-08 15:02:34.3446 Registering screensaver Now Playing (Jump back on 
wake.)
2005-05-08 15:02:36.3965 Requiring Plugins::DateTime::Plugin plugin.
2005-05-08 15:02:36.3999 PLUGINS does not exist. creating...
2005-05-08 15:02:36.4000 Registering screensaver PLUGIN_SCREENSAVER_DATETIME
2005-05-08 15:02:36.4001 SCREENSAVERS does not exist. creating...
2005-05-08 15:02:36.4003 Requiring Plugins::Rescan plugin.
2005-05-08 15:02:36.4063 Requiring Plugins::RadioIO::Plugin plugin.
2005-05-08 15:02:36.4119 Adding RadioIO::Plugin to menu: RADIO
2005-05-08 15:02:36.4120 RADIO does not exist. creating...
2005-05-08 15:02:36.4126 Requiring Plugins::SavePlaylist plugin.
2005-05-08 15:02:36.4160 Requiring Plugins::Podcast::Plugin plugin.
2005-05-08 15:02:36.4324 Requiring Plugins::MusicMagic::Plugin plugin.
2005-05-08 15:02:36.7251 Requiring Plugins::Visualizer plugin.
2005-05-08 15:02:36.7308 Registering screensaver 
PLUGIN_SCREENSAVER_VISUALIZER_SPECTRUM_ANALYZER
2005-05-08 15:02:36.7310 Registering screensaver 
PLUGIN_SCREENSAVER_VISUALIZER_ANALOG_VUMETER
2005-05-08 15:02:36.7311 Registering screensaver 
PLUGIN_SCREENSAVER_VISUALIZER_DIGITAL_VUMETER
2005-05-08 15:02:36.7313 Requiring Plugins::SlimTris plugin.
2005-05-08 15:02:36.7369 Adding SlimTris to menu: GAMES
2005-05-08 15:02:36.7371 GAMES does not exist. creating...
2005-05-08 15:02:36.7373 Requiring Plugins::MoodLogic::Plugin plugin.
2005-05-08 15:02:36.7658 Requiring Plugins::Picks::Plugin plugin.
2005-05-08 15:02:36.7705 Adding Picks::Plugin to menu: RADIO
2005-05-08 15:02:36.7713 Requiring Plugins::iTunes plugin.
2005-05-08 15:02:37.3283 Requiring Plugins::RssNews plugin.
2005-05-08 15:02:37.3430 Adding RssNews to menu: PLUGINS
2005-05-08 15:02:37.3433 Registering screensaver PLUGIN_RSSNEWS_SCREENSAVER
2005-05-08 15:02:37.3434 Requiring Plugins::Favorites::Plugin plugin.
2005-05-08 15:02:37.3473 Adding Favorites::Plugin to menu: PLUGINS
2005-05-08 15:02:37.3475 Requiring Plugins::ShoutcastBrowser::Plugin plugin.
2005-05-08 15:02:37.3740 Adding ShoutcastBrowser::Plugin to menu: RADIO
2005-05-08 15:02:37.3749 Requiring Plugins::Live365 plugin.
2005-05-08 15:02:37.3961 Adding Live365 to menu: RADIO
2005-05-08 15:02:37.4078 Podcast Plugin initializing.
2005-05-08 15:02:37.4081 Podcast Feed Info:
2005-05-08 15:02:37.4082 Amplified, http://feeds.feedburner.com/amplified
2005-05-08 15:02:37.4082 Vinyl, http://vinyl.codyhanson.com/wp-rss2.php
2005-05-08 15:02:37.4089
2005-05-08 15:02:37.4094 RSS Feed Info:
2005-05-08 15:02:37.4095 BBC News World Edition, 
http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml
2005-05-08 15:02:37.4096 CNET News.com, http://news.com.com/2547-1_3-0-5.xml
2005-05-08 15:02:37.4097 New York Times Home Page, 
http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
2005-05-08 15:02:37.4098 RollingStone.com Music News, 
http://www.rollingstone.com/rssxml/music_news.xml
2005-05-08 15:02:37.4099 Slashdot, http://slashdot.org/index.rss
2005-05-08 15:02:37.4099 Yahoo! News: Business, 
http://rss.news.yahoo.com/rss/business
2005-05-08 15:02:37.4100

Navigated to Internet Radio and then to Live365.


2005-05-08 15:03:08.9666 Logging in bernilowe
2005-05-08 15:03:09.4532 Live365 logged in: bernilowe:11Yyx0IgmIDvY

Navigated to the same station as before in Live365 and pressed play.  Slim 
terminated.


2005-05-08 15:03:26.9930 Live365.protocolHandler requested: 
live365://www.live365.com/play/todomundo?sessionid=bernilowe:11Yyx0IgmIDvY 
(todomundo)
2005-05-08 15:03:27.4843 Live365 station really 
at: 'http://216.235.81.21:20170/
play?membername=bernilowe&session=todomundo:0&sessionid=bernilowe%A11Yyx0IgmIDv
Y'
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
2005-05-08 15:03:27.9380 Live365.protocolHandler requested: 
live365://www.live365.com/play/todomundo?sessionid=bernilowe:11Yyx0IgmIDvY 
(todomundo)
2005-05-08 15:03:28.3593 Live365 station really 
at: 'http://216.235.81.21:20170/
play?membername=bernilowe&session=todomundo:0&sessionid=bernilowe%
3A11Yyx0IgmIDvY'
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
Use of uninitialized value in string eq at /PerlApp/Slim/Utils/Timers.pm line 
257.
readline() on closed filehandle SRC at /PerlApp/Slim/Utils/Misc.pm line 829.
2005-05-08 15:03:32.9223 Backtrace:

   frame 0: Slim::Utils::Misc::assert (/PerlApp/Slim/Player/Sync.pm line 389)
   frame 1: Slim::Player::Sync::masterOrSelf (/PerlApp/Slim/Player/Playlist.pm 
line 57)
   frame 2: Slim::Player::Playlist::playList (C:/Program 
Files/SlimServer/server/Plugins/Live365.pm line 597)
   frame 3: Plugins::Live365::ProtocolHandler::getPlaylist 
(/PerlApp/Slim/Utils/Timers.pm line 100)
   frame 4: Slim::Utils::Timers::checkTimers (slimserver.pl line 629)
   frame 5: main::idle (slimserver.pl line 567)
   frame 6: main::main (slimserver.pl line 61)
   frame 7: PerlSvc::Interactive (perlsvc line 1208)
   frame 8: PerlSvc::_interactive (slimserver.pl line 0)
   frame 9: (eval) (slimserver.pl line 0)

Here's the problem. /PerlApp/Slim/Player/Sync.pm, line 389:


Can't call method "master" on an undefined value 
at /PerlApp/Slim/Player/Sync.pm line 391.
2005-05-08 15:03:32.9306 Plugins::Live365::ProtocolHandler shutting down
2005-05-08 15:03:32.9308 Live365 failed to kill playlist job timer.
2005-05-08 15:03:32.9323 Plugins::Live365::ProtocolHandler shutting down
2005-05-08 15:03:32.9325 Live365 failed to kill playlist job timer.

C:\Program Files\SlimServer\server>
Comment 6 Blackketter Dean 2005-06-07 16:34:48 UTC
Vidur: did your recent work on live365 fix this?
Comment 7 Blackketter Dean 2005-06-13 17:25:02 UTC
Berni:  please try with the latest nightly version of SlimServer and confirm that this is fixed.  if not, 
please reopen the bug.

Thanks!
Comment 8 Chris Owens 2008-03-11 11:28:15 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!