section7 / squeezelite

Automatically exported from code.google.com/p/squeezelite
Other
0 stars 0 forks source link

No audio after playing for 20 minutes #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Start Squeezelite and after about 20 minutes it stops playing while it seems 
to still be responsive.

2.Stop and start again and it will resume playing.3.

What is the expected output? What do you see instead?

Sound is expected but I get silence ...

What version of the product are you using? On what operating system?

Squeezelite v1.6.4 on a GoflexHome NAS running ArchLinuxARM 3.16.3-2

Please provide any additional information below.

/usr/local/bin/squeezelite -d all=debug -f /var/log/squeezelite.log -z     

Some typical log lines:

/usr/local/bin/squeezelite -d all=debug -f /var/log/squeezelite.log -z
[12:17:45.271683] stream_init:290 init stream
[12:17:45.272843] stream_init:291 streambuf size: 2097152
[12:17:45.279622] output_init_alsa:638 init output
[12:17:45.279744] output_init_alsa:661 requested alsa_buffer: 40 alsa_period: 4 
format: any mmap: 1
[12:17:45.279900] output_init_common:342 outputbuf size: 3528000
[12:17:45.330092] output_init_common:402 supported rates: 384000 352800 192000 
176400 96000 88200 48000 44100 32000 24000 22500$
[12:17:45.344319] output_init_alsa:673 memory locked
[12:17:45.345063] output_thread:465 open output device: default
[12:17:45.347737] output_init_alsa:696 set output sched fifo rt: 45
[12:17:45.348930] decode_init:129 init decode, include codecs:  exclude codecs:
[12:17:45.359282] alsa_open:234 opened device default using format: S32_LE 
sample rate: 44100 mmap: 1
[12:17:45.360200] alsa_open:313 buffer: 40 period: 4 -> buffer size: 16384 
period size: 4096
[12:17:45.365133] load_faad:610 loaded libfaad.so.2
[12:17:45.365281] register_faad:640 using faad to decode aac
[12:17:45.367421] load_vorbis:300 loaded libvorbisfile.so.3
[12:17:45.367541] register_vorbis:329 using vorbis to decode ogg
[12:17:45.369114] load_flac:258 loaded libFLAC.so.8
[12:17:45.369239] register_flac:286 using flac to decode flc
[12:17:45.369312] register_pcm:382 using pcm to decode aif,pcm
[12:17:45.370110] load_mad:383 loaded libmad.so.0
[12:17:45.370210] register_mad:412 using mad to decode mp3
[12:17:45.370892] discover_server:702 sending discovery
[12:17:45.452285] discover_server:713 got response from: 192.168.0.5:3483
[12:17:45.452490] slimproto:790 connecting to 192.168.0.5:3483
[12:17:45.453864] slimproto:823 connected
[12:17:45.453985] sendHELO:117 mac: 00:10:75:2a:7b:ab
[12:17:45.454062] sendHELO:119 cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,Max
SampleRate=$
[12:17:45.462862] process:469 strm
[12:17:45.454062] sendHELO:119 cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,Max
SampleRate$
[12:17:45.462862] process:469 strm
[12:17:45.462969] process_strm:232 strm command s
[12:17:45.463041] process_strm:299 strm s autostart: 3 transition period: 10 
transition type: 0 codec: m
[12:17:45.463114] sendSTAT:164 STAT: STMf
[12:17:45.463226] codec_open:218 codec open: 'm'
[12:17:45.463474] stream_sock:384 connecting to 70.42.73.215:80
[12:17:45.598833] stream_sock:413 header: GET /rr_60srock HTTP/1.0
Cache-Control: no-cache
Connection: close
Accept: */*
Host: pub7.rockradio.com
User-Agent: iTunes/4.7.1 (Linux; N; Debian; x86_64-linux; PT; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/7.$
Icy-Metadata: 1

[12:17:45.598990] sendSTAT:164 STAT: STMc
[12:17:45.599126] process_strm:330 set fade mode: 0
[12:17:45.599242] process:469 audg
[12:17:45.599314] process_audg:385 audg gainL: 65536 gainR: 65536 adjust: 1
[12:17:45.599408] process:469 setd
[12:17:45.599498] process:469 setd
[12:17:45.599586] process:469 aude
[12:17:45.599652] process_aude:368 enable spdif: 1 dac: 1
[12:17:45.599743] process:469 audg
[12:17:45.599809] process_audg:385 audg gainL: 65536 gainR: 65536 adjust: 1
[12:17:45.869504] stream_thread:176 headers: len: 344
HTTP/1.0 200 OK
Content-Type: audio/mpeg
icy-br:96
Content-Type: audio/mpeg
icy-br:96
ice-audio-info: ice-bitrate=96
icy-br:96
icy-genre:Rock 60s Oldies
icy-name:60's Rock - ROCKRADIO.COM
icy-private:0
icy-pub:1
icy-url:www.rockradio.com
Server: Icecast 2.3.3-kh7
Cache-Control: no-cache
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
icy-metaint:16000
[12:17:45.869901] sendRESP:195 RESP
[12:17:46.004420] process:469 cont
[12:17:46.004575] process_cont:344 cont metaint: 16000 loop: 0
[12:17:46.150851] process:469 strm
[12:17:46.150996] process_strm:232 strm command t
[12:17:46.151076] sendSTAT:164 STAT: STMt
[12:17:46.509673] stream_thread:229 icy meta: len: 64
StreamTitle='Richie Havens - Indian Rope Man';
[12:17:46.510023] sendMETA:208 META
[12:17:46.672397] mad_decode:230 mad_frame_decode error: bad main_data_begin 
pointer
[12:17:46.673390] mad_decode:242 setting track_start
[12:17:46.673503] mad_decode:271 gapless: skipping 529 frames at start
[12:17:46.743309] _output_frames:59 start buffer frames: 125039
[12:17:46.743480] _output_frames:144 track start sample rate: 44100 
replay_gain: 0
[12:17:46.743309] _output_frames:59 start buffer frames: 125039
[12:17:46.743480] _output_frames:144 track start sample rate: 44100 
replay_gain: 0
[12:17:46.746561] sendSTAT:164 STAT: STMs
[12:17:46.746728] sendSTAT:164 STAT: STMt
[12:17:47.747868] sendSTAT:164 STAT: STMt
[12:17:48.749185] sendSTAT:164 STAT: STMt
[12:17:49.750492] sendSTAT:164 STAT: STMt
[12:17:50.150991] process:469 strm
[12:17:50.151211] process_strm:232 strm command t
[12:17:50.151298] sendSTAT:164 STAT: STMt
[12:17:51.152485] sendSTAT:164 STAT: STMt
[12:17:52.153801] sendSTAT:164 STAT: STMt
[12:17:53.155136] sendSTAT:164 STAT: STMt
[12:17:54.151528] process:469 strm
[12:17:54.151707] process_strm:232 strm command t
.
.
.
.
[12:29:14.154988] sendSTAT:164 STAT: STMt
[12:29:15.156183] sendSTAT:164 STAT: STMt
[12:29:16.157486] sendSTAT:164 STAT: STMt
[12:29:17.065572] stream_thread:229 icy meta: len: 80
StreamTitle='The Beatles - With A Little Help From My Friends';
[12:29:17.065830] sendMETA:208 META
[12:29:18.067043] sendSTAT:164 STAT: STMt
[12:29:18.153736] process:469 strm
[12:29:18.153883] process_strm:232 strm command t
[12:29:18.153964] sendSTAT:164 STAT: STMt
[12:29:19.155167] sendSTAT:164 STAT: STMt
[12:29:19.404032] ALSA sync_ptr1:139 SNDRV_PCM_IOCTL_SYNC_PTR failed (-19)
[12:29:19.404226] ALSA sync_ptr1:139 SNDRV_PCM_IOCTL_SYNC_PTR failed (-19)
[12:29:19.404313] ALSA sync_ptr1:139 SNDRV_PCM_IOCTL_SYNC_PTR failed (-19)
[12:29:20.156427] sendSTAT:164 STAT: STMt
.
.
.
.
[12:37:21.161679] sendSTAT:164 STAT: STMt
[12:37:21.553992] ALSA sync_ptr1:139 SNDRV_PCM_IOCTL_SYNC_PTR failed (-19)
[12:37:21.554097] ALSA sync_ptr1:139 SNDRV_PCM_IOCTL_SYNC_PTR failed (-19)
[12:37:21.554174] ALSA sync_ptr1:139 SNDRV_PCM_IOCTL_SYNC_PTR failed (-19)
[12:37:21.861407] slimproto_stop:861 slimproto stop
[12:37:21.961700] decode_close:175 close decode
[12:37:22.057626] stream_close:322 close stream
[12:37:22.087456] output_close_alsa:701 close output

Original issue reported on code.google.com by jorlo...@gmail.com on 28 Sep 2014 at 1:09

GoogleCodeExporter commented 8 years ago
Looks like the "ALSA sync_ptr1:139 SNDRV_PCM_IOCTL_SYNC_PTR failed (-19)" error 
comes from alsa - suggest googling for this as its possibly some happening in 
the alsa layer.

You could try running squeezelite without mmap: -a :::0 as this make use a 
different path through the alsa code.

Original comment by trio...@btinternet.com on 28 Sep 2014 at 1:22

GoogleCodeExporter commented 8 years ago
Thanks !

I've tried -a :::0 but no cigar ...

Original comment by jorlo...@gmail.com on 28 Sep 2014 at 8:42

GoogleCodeExporter commented 8 years ago
Weird stuff ... it is working now for over 12 hours ... getting rid of the USB 
hub seems to prevent the error ... Iĺl replace the hub to see what happens ;)

Original comment by jorlo...@gmail.com on 29 Sep 2014 at 10:47

GoogleCodeExporter commented 8 years ago
Yep, the USB hub is the one to be blamed ... itś running now for 24 hours 
straight with no flaws ;-)

Original comment by jorlo...@gmail.com on 30 Sep 2014 at 11:32