Bug 1440 - sysseek causes crash while playing 'net radio
: sysseek causes crash while playing 'net radio
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming To SlimServer
: 6.1.0
: Other All
: P2 normal (vote)
: ---
Assigned To: Vidur Apparao
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-26 02:43 UTC by KDF
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KDF 2005-04-26 02:43:45 UTC
I got this error 3 times last night.  twice trying to start playback of LastFM
plugin, then once after streaming from JackFM in ShoutCast plugin for about an hour:

2005-04-26 02:35:11.7938 reduced chunksize to 4512 for metadata
2005-04-26 02:35:11.7946 Read to end of file or pipe
Can't locate object method "sysseek" via package "Slim::Player::Protocols::HTTP"
at /mnt/mand
rake/usr/local/slimserver/trunk/Slim/Player/Source.pm line 59.
[fishbone@callisto trunk]#

if the server thinks it is end of song for some reason, perhaps the protocol
handler needs a dummy method, or we have to avoid calling systell after
streaming radio and thinking the 'song' has ended.

this is using r3076 from trunk, Mandrake 10, perl 5.8.3
Comment 1 Vidur Apparao 2005-04-26 08:44:55 UTC
I'm guessing you had --d_source on. If so, it's the systell that we should avoid.
Comment 2 KDF 2005-04-26 09:27:38 UTC
yes, that's correct.  is this only when d_source is on?
as you can tell, it was quite late so I wasn't able to sort out what exactly
systell does and whether it serves any need for radio.
Comment 3 Vidur Apparao 2005-04-26 10:18:17 UTC
Yeah, it should only happen with --d_source. The systell is purely for debugging
and shouldn't have any significance for radio. Minimally, we can add a
->can('syseek') check in the systell() implementation.
Comment 4 KDF 2005-04-26 10:22:31 UTC
minimal is good.  especially since its a debug thing.
Comment 5 KDF 2005-04-27 00:44:06 UTC
committed at change 3086 for 6.1, prints a msg and a Data::Dump for the album
when no tracks are found. not required for 6.0.2
Comment 6 KDF 2005-04-27 01:33:26 UTC
nevermind...last comment was not a fix for this bug after all :)

instead, committed the simple fix in change 3089

Comment 7 Chris Owens 2006-06-16 14:41:12 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.