s25a wrote: 
> And some more: 
> 
> - I also have a RASP 3 with PCP installed - 3.50 (normal) with
> Squeezelite v1.8.7-1052.... Also Crash at 3.42 with mad Decoder
> however when I connect to another LMS Server (one that is not running on
> a virtual machine) it crashes about 10secs later.( while chanig to next
> track) Very strange.
> 
> So there must be also a relation to the MediaServer right?
> 
> If you want me to test more scenarios please let me know.
> 
> Thanks
> 
> S

I've uploaded a 'debian 8 1.9.0.1105 x86_64 binary'
(https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.9.0-1105-debian8-x86_64.tar.gz/download)
for you to try.

It fixes squeezelite crashing with the '05 Never a Time.mp3' file. 
Please test it and report back.

I haven't committed the change to github yet.


Code:
--------------------
    
  Index: mad.c
  ===================================================================
  --- mad.c       (revision 1104)
  +++ mad.c       (working copy)
  @@ -220,7 +220,8 @@
  decode_state ret;
  if (!eos && m->stream.error == MAD_ERROR_BUFLEN) {
  ret = DECODE_RUNNING;
  -                       } else if (eos && (m->stream.error == 
MAD_ERROR_BUFLEN || m->stream.error == MAD_ERROR_LOSTSYNC)) {
  +                       } else if (eos && (m->stream.error == 
MAD_ERROR_BUFLEN || m->stream.error == MAD_ERROR_LOSTSYNC
  +                                       || m->stream.error == 
MAD_ERROR_BADBITRATE)) {
  ret = DECODE_COMPLETE;
  } else if (!MAD_RECOVERABLE(m->stream.error)) {
  LOG_INFO("mad_frame_decode error: %s - stopping decoder", MAD(m, 
stream_errorstr, &m->stream));
  
--------------------



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to