Bug 2762 - server crashes when i tune in to this station in the web interface
: server crashes when i tune in to this station in the web interface
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming From SlimServer
: 6.2.2
: Macintosh Other
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-28 17:48 UTC by Kevin Pearsall
Modified: 2009-09-08 09:23 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Pearsall 2005-12-28 17:48:18 UTC
mms://netshow.esoterica.pt/nova

observed in r5472

Offset outside string at /Users/kpearsall/BRANCH_6_2_x/Slim/Networking/Select.pm line 151.

(i've seen that line referenced in so many crashes related to radio tune in it's not even funny)
Comment 1 Kevin Pearsall 2005-12-29 15:37:53 UTC
this stream also just plain does not play when you try to play it through squeezenetwork.
Comment 2 Kevin Pearsall 2006-01-05 17:48:20 UTC
another stream that crashes the server with the same error.
mms://204.13.1.19/WLRNStream

6.2.x branch r5546
Comment 3 KDF 2006-01-05 20:31:22 UTC
strange.  i can't reproduce.  It won't play, but doesn't crash either.
SimServer Version: 6.2.2 - r5547 - Debian - CA - utf8

d_source, d_remotestream, d_directstream:
2006-01-05 20:29:30.0294 openSong on: mms://netshow.esoterica.pt/nova
2006-01-05 20:29:30.0624 00:04:20:06:09:12 New play mode: play
2006-01-05 20:29:30.0694 This player supports direct streaming for mms://netshow.esoterica.pt/nova as mms://netshow.esoterica.pt/nova, let's do it.
2006-01-05 20:29:30.0927 setting up direct stream (3272999114:80) autostart: 3.
2006-01-05 20:29:30.0930 request string: GET /nova HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: netshow.esoterica.pt
Pragma: xClientGUID={4ec5eb4d-fa64-f6a8-ba08-94a36e97a9f9}
Pragma: no-cache,rate=1.0000000,stream-time=0,stream-offset=0:0,request-context=1,max-duration=0
Connection: Close


2006-01-05 20:29:30.0945 00:04:20:06:09:12: Current playmode: play
Comment 4 KDF 2006-01-05 22:34:33 UTC
seems it is intermittent. This happens when trying to add a url for any number os asx feeds from publicradionfan.com.  urls' that fail, can sometimes work and play, sometimes cause the crash. i've added a backtrace and use d_select:

2006-01-05 22:31:16.7047 writeNoBlock: writing a segment of length: 3080 
2006-01-05 22:31:16.7063 writeNoBlock: incomplete message, sent only: 306
2006-01-05 22:31:16.7070 adding select write 20 CODE(0x8bd4df8)
2006-01-05 22:31:16.7082 writeNoBlock: writing a segment of length: 2306 
2006-01-05 22:31:16.7093 Backtrace:

   frame 0: Slim::Networking::Select::writeNoBlock (/usr/local/slimserver/trunk/Slim/Player/Squeezebox.pm line 718)
   frame 1: Slim::Player::Squeezebox::sendFrame (/usr/local/slimserver/trunk/Slim/Player/Squeezebox2.pm line 309)
   frame 2: Slim::Player::Squeezebox2::volume (/usr/local/slimserver/trunk/Slim/Player/Squeezebox.pm line 153)
   frame 3: Slim::Player::Squeezebox::play (/usr/local/slimserver/trunk/Slim/Player/Source.pm line 419)
   frame 4: Slim::Player::Source::playmode (/usr/local/slimserver/trunk/Slim/Player/Source.pm line 755)
   frame 5: Slim::Player::Source::jumpto (/usr/local/slimserver/trunk/Slim/Control/Commands.pm line 1363)
   frame 6: Slim::Control::Commands::_playlistXitem_load_done (/usr/local/slimserver/trunk/Slim/Utils/Scan.pm line 133)
   frame 7: Slim::Utils::Scan::addToList (/usr/local/slimserver/trunk/Slim/Control/Commands.pm line 751)
   frame 8: Slim::Control::Commands::playlistXitemCommand (/usr/local/slimserver/trunk/Slim/Control/Request.pm line 390)
   frame 9: Slim::Control::Request::execute (/usr/local/slimserver/trunk/Slim/Control/Command.pm line 75)
   frame 10: Slim::Control::Command::execute (/usr/local/slimserver/trunk/Slim/Web/HTTP.pm line 638)
   frame 11: Slim::Web::HTTP::processURL (/usr/local/slimserver/trunk/Slim/Web/HTTP.pm line 503)
   frame 12: Slim::Web::HTTP::processHTTP (/usr/local/slimserver/trunk/Slim/Networking/Select.pm line 117)
   frame 13: Slim::Networking::Select::select (/opt/slimserver/trunk/slimserver.pl line 622)
   frame 14: main::idle (/opt/slimserver/trunk/slimserver.pl line 558)
   frame 15: main::main (/opt/slimserver/trunk/slimserver.pl line 1216)

Offset outside string at /usr/local/slimserver/trunk/Slim/Networking/Select.pm line 160.
Comment 5 Kevin Pearsall 2006-01-24 13:35:20 UTC
i still get this almost every single time i try to tune in to a station using the web interface, and it's making it a real pain to do my job.  folks ask me if  X radio station is playable with SB2 or SB3 or whatever, and every time I try to play one of these streams THE SERVER CRASHES.  it's driving me CRAZY, PLEASE fix this bug...

Updated to revision 5805.
2006-01-24 11:04:17.6192 '`plugins/Podcast/myPodcasts2' is not the same as '`plugins/Podcast/myPodcasts' at /Users/kpearsall/BRANCH_6_2_x/Slim/Web/HTTP.pm line 1996
Offset outside string at /Users/kpearsall/BRANCH_6_2_x/Slim/Networking/Select.pm line 151.

when tuning in to:
http://media.kataweb.it/MIBGetPointer.aspx?LIVE=3
Comment 6 Andy Grundman 2006-01-27 10:53:08 UTC
I've checked in a possible fix for this in trunk, please test and let us know.
Comment 7 Dan Sully 2006-04-20 17:30:14 UTC
This has been fixed for 6.2.2 - change 5881

Two of those URLs are MMS only - so they'll only work on Windows.

The last URL plays fine on a OSX server.
Comment 8 Chris Owens 2006-06-16 14:40:03 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.