I'm having a problem with Squeezeslave, which crashes when playing
Internetradio.

In particular the problem repeatably occurs with the Dutch "3FM" audio
stream. Squeezebox Server lists the following url for the steam:
opml.radiotime.com/Tune.ashx?id=s124127&formats=aac,ogg,mp3&partnerId=16&serial=977e69e221e1df668964da983ff434f5

Squeezeslave gives the following error:
squeezeslave: src/slimaudio/slimaudio_buffer.c:288:
slimaudio_buffer_read: Assertion `len > 0' failed.

Squeezeslave versions tested: 1.1-253 and SVN (trunk)
Squeezebox server version: Version: 7.6.1 - r33110 
Squeezeslave and squeezebox server run on the same Debian Squeeze (;))
machine.

Last bit of Squeezeslave debug log (out of 700MB, full debug options
enabled) generated by 1.1-253:
> 
> pa_callback complete framesPerBuffer=512
> pa_callback: SLIMAUDIO_BUFFER_STREAM_UNDERRUN
> volume: 0.101562 applied
> pa_callback complete framesPerBuffer=512
> pa_callback: SLIMAUDIO_BUFFER_STREAM_UNDERRUN
> volume: 0.101562 applied
> pa_callback complete framesPerBuffer=512
> pa_callback: SLIMAUDIO_BUFFER_STREAM_UNDERRUN
> volume: 0.101562 applied
> pa_callback complete framesPerBuffer=512
> pa_callback: SLIMAUDIO_BUFFER_STREAM_UNDERRUN
> volume: 0.101562 applied
> pa_callback complete framesPerBuffer=512
> pa_callback: SLIMAUDIO_BUFFER_STREAM_UNDERRUN
> volume: 0.101562 applied
> pa_callback complete framesPerBuffer=512
> http_recv: audio n=1400
> buffer_write 0x2354130 write_ptr=0x7f01b3d7e689 read_ptr=0x7f01b3d7e689
> free=2097152
> http_recv: decode_num_tracks_started 2 decode_bytes_available
> 242739229
> http_thread state 3
> buffer_read_top: 0x2354130 write_ptr=0x7f01b3d7ec01
> read_ptr=0x7f01b3d7e689 read_avail=1400 reader_blocked=0
> writer_blocked=0 read_count=242737829 len=1176 eof=0 opt=0
> buffer_read_end: 0x2354130 write_ptr=0x7f01b3d7ec01
> read_ptr=0x7f01b3d7eb21 read_avail=224 reader_blocked=0
> writer_blocked=0 read_count=242739005 len=1176 eof=0 opt=0
> mad: mad_input: CONTINUE
> decode_input state=3
> mad: data_len:0 remainder:8184 available:224
> buffer_read_top: 0x2354130 write_ptr=0x7f01b3d7ec01
> read_ptr=0x7f01b3d7eb21 read_avail=224 reader_blocked=0
> writer_blocked=0 read_count=242739005 len=0 eof=0 opt=0
> pa_callback: SLIMAUDIO_BUFFER_STREAM_UNDERRUN
> volume: 0.101562 applied
> pa_callback complete framesPerBuffer=512
> squeezeslave: src/slimaudio/slimaudio_buffer.c:288:
> slimaudio_buffer_read: Assertion `len > 0' failed.
> 

Last bit of squeezebox server log:
> 
> [11-10-02 18:24:29.4576] Slim::Plugin::CLI::Plugin::cli_process (649)
> Request [songinfo] failed with error: Bad dispatch!
> [11-10-03 08:34:47.7964] Slim::Player::Protocols::HTTP::getMetadataFor
> (663) Metadata provider Slim::Plugin::RadioTime::Metadata::provider
> failed: Can't call method "master" on an undefined value at
> /usr/share/perl5/Slim/Plugin/RadioTime/Metadata.pm line 88.
> [11-10-03 08:34:47.8024] Slim::Control::Request::execute (1883) Error:
> While trying to run function coderef
> [Slim::Control::Queries::songinfoQuery]: [Can't call method
> "playingSong" on an undefined value at
> /usr/share/perl5/Slim/Player/Protocols/HTTP.pm line 672.
> ]
> [11-10-03 08:34:47.8036] Slim::Plugin::CLI::Plugin::cli_process (649)
> Request [songinfo] failed with error: Bad dispatch!
> [11-10-03 10:46:43.2023] Slim::Player::Protocols::HTTP::getMetadataFor
> (663) Metadata provider Slim::Plugin::RadioTime::Metadata::provider
> failed: Can't call method "master" on an undefined value at
> /usr/share/perl5/Slim/Plugin/RadioTime/Metadata.pm line 88.
> [11-10-03 10:46:43.2030] Slim::Control::Request::execute (1883) Error:
> While trying to run function coderef
> [Slim::Control::Queries::songinfoQuery]: [Can't call method
> "playingSong" on an undefined value at
> /usr/share/perl5/Slim/Player/Protocols/HTTP.pm line 672.
> ]
> [11-10-03 10:46:43.2038] Slim::Plugin::CLI::Plugin::cli_process (649)
> Request [songinfo] failed with error: Bad dispatch!
> [11-10-04 00:01:26.4416] Slim::Utils::Misc::msg (1236) Warning:
> [00:01:26.4399] Error: Unable to read at least 8129 bytes from file
> (only read 76).
> 

Any chance for a fix to this problem?


-- 
Rukapul
------------------------------------------------------------------------
Rukapul's Profile: http://forums.slimdevices.com/member.php?userid=50255
View this thread: http://forums.slimdevices.com/showthread.php?t=90740

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to