LuckyFIA / squeezelite

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

squeezelite crashes after { stop, power = 0, power = 1, play } cycle #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
if i cycle trough { stop, power = 0, power = 1, play } squeezelite crashes on a 
raspberry pi running debian (kernel 3.10.23+) i tried v 1.3 and 1.4 beta 1 and 
its the same for both.

log output:

.
.
.
.

[11:10:50.009513] process_strm:227 strm command t
[11:10:50.014593] sendSTAT:159 STAT: STMt
[11:10:51.018877] sendSTAT:159 STAT: STMt
[11:10:52.023861] sendSTAT:159 STAT: STMt
[11:10:53.028231] sendSTAT:159 STAT: STMt
[11:10:54.032579] sendSTAT:159 STAT: STMt
[11:10:55.008693] process:464 strm
[11:10:55.013429] process_strm:227 strm command t
[11:10:55.015086] sendSTAT:159 STAT: STMt
[11:10:56.018487] sendSTAT:159 STAT: STMt
[11:10:57.022959] sendSTAT:159 STAT: STMt
[11:10:58.027527] sendSTAT:159 STAT: STMt
[11:10:59.032058] sendSTAT:159 STAT: STMt
[11:11:00.003564] process:464 strm
[11:11:00.004304] process_strm:227 strm command t
[11:11:00.004484] sendSTAT:159 STAT: STMt
[11:11:01.008769] sendSTAT:159 STAT: STMt
[11:11:02.013149] sendSTAT:159 STAT: STMt
[11:11:03.017428] sendSTAT:159 STAT: STMt
[11:11:04.021941] sendSTAT:159 STAT: STMt
[11:11:05.002505] process:464 strm
[11:11:05.002970] process_strm:227 strm command t
[11:11:05.003204] sendSTAT:159 STAT: STMt
[11:11:06.004019] sendSTAT:159 STAT: STMt
[11:11:07.008200] sendSTAT:159 STAT: STMt
[11:11:07.477720] process:464 strm
[11:11:07.478108] process_strm:227 strm command q
[11:11:07.478254] decode_flush:188 decode flush
[11:11:07.478380] output_flush:391 flush output buffer
[11:11:07.478529] sendSTAT:159 STAT: STMf
[11:11:07.733506] process:464 aude
[11:11:07.733770] process_aude:363 enable spdif: 0 dac: 0
[11:11:07.740404] output_thread:567 disabling output
[11:11:10.002789] process:464 strm
[11:11:10.003053] process_strm:227 strm command t
[11:11:10.003193] sendSTAT:159 STAT: STMt
[11:11:12.173721] process:464 aude
[11:11:12.174007] process_aude:363 enable spdif: 1 dac: 1
[11:11:12.185075] process:464 strm
[11:11:12.185334] process_strm:227 strm command q
[11:11:12.185550] decode_flush:188 decode flush
[11:11:12.185685] output_flush:391 flush output buffer
[11:11:12.185825] sendSTAT:159 STAT: STMf
[11:11:12.245184] output_thread:465 open output device: 
sysdefault:CARD=U0x41e0x30d3
[11:11:12.268629] alsa_open:234 opened device sysdefault:CARD=U0x41e0x30d3 
using format: S32_LE sample rate: 44100 mmap: 1
[11:11:12.269943] alsa_open:313 buffer: 300 period: 4 -> buffer size: 3763 
period size: 940
[11:11:12.496499] process:464 audg
[11:11:12.496841] process_audg:380 audg gainL: 5376 gainR: 5376 adjust: 1
[11:11:12.611893] process:464 strm
[11:11:12.612161] process_strm:227 strm command s
[11:11:12.612288] process_strm:294 strm s autostart: 3 transition period: 10 
transition type: 0 codec: o
[11:11:12.612466] sendSTAT:159 STAT: STMf
[11:11:12.612803] codec_open:211 codec open: 'o'
[11:11:12.612970] codec_open:228 closing codec
[11:11:12.613174] stream_sock:352 connecting to 144.76.17.165:8000
[11:11:12.651975] stream_sock:381 header: GET /fm4-mq.ogg HTTP/1.0
Cache-Control: no-cache
Connection: close
Accept: */*
Host: uni.fladi.at:8000
User-Agent: iTunes/4.7.1 (Linux; N; Debian; armv7l-linux; EN; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/7.8.0/1378385420
Icy-Metadata: 1

[11:11:12.652284] sendSTAT:159 STAT: STMc
[11:11:12.652781] process_strm:325 set fade mode: 0
[11:11:12.653061] process:464 audg
[11:11:12.653201] process_audg:380 audg gainL: 5376 gainR: 5376 adjust: 1
[11:11:12.724077] process:464 strm
[11:11:12.724351] process_strm:227 strm command t
[11:11:12.724546] sendSTAT:159 STAT: STMt
[11:11:12.740756] stream_thread:150 headers: len: 56
HTTP/1.0 404 File Not Found
Content-Type: text/html

[11:11:12.741142] sendRESP:190 RESP
[11:11:12.826249] process:464 strm
[11:11:12.826565] process_strm:227 strm command q
[11:11:12.826782] decode_flush:188 decode flush
[11:11:12.826913] output_flush:391 flush output buffer
[11:11:12.827315] sendSTAT:159 STAT: STMf
[11:11:13.268187] process:464 strm
[11:11:13.268451] process_strm:227 strm command q
[11:11:13.268694] decode_flush:188 decode flush
[11:11:13.268864] output_flush:391 flush output buffer
[11:11:13.269009] sendSTAT:159 STAT: STMf
[11:11:14.230832] process:464 audg
[11:11:14.231205] process_audg:380 audg gainL: 5376 gainR: 5376 adjust: 1
[11:11:14.282791] process:464 strm
[11:11:14.283080] process_strm:227 strm command s
[11:11:14.283309] process_strm:294 strm s autostart: 3 transition period: 10 
transition type: 0 codec: m
[11:11:14.283447] sendSTAT:159 STAT: STMf
[11:11:14.283717] codec_open:211 codec open: 'm'
[11:11:14.283918] codec_open:228 closing codec

Original issue reported on code.google.com by mercurio...@gmail.com on 28 Dec 2013 at 10:20

GoogleCodeExporter commented 9 years ago
In this case the radio stream you were listening too is no longer available and 
the second open is treated by the server as mp3.  Can you confirm that the 
crash only occurs in this case (playing remote ogg stream, followed by playing 
bad mp3 stream)?

Original comment by trio...@btinternet.com on 28 Dec 2013 at 11:50

GoogleCodeExporter commented 9 years ago
I hope this will be fixed in the 1.4 release version - please test

Original comment by trio...@btinternet.com on 28 Dec 2013 at 4:00

GoogleCodeExporter commented 9 years ago
i tested it a few times. the radio stream is still available, if i restart 
squeezelite without changing anything else it immediately starts playing!

and it crashes only in this case, at least from my experience.

Original comment by mercurio...@gmail.com on 28 Dec 2013 at 5:19

GoogleCodeExporter commented 9 years ago
Is this with the latest 1.4 release?

Can you post what the radio station is - all I have is the ip address which 
doesn't seem to work for me

Original comment by trio...@btinternet.com on 28 Dec 2013 at 5:33

GoogleCodeExporter commented 9 years ago
it happened on these radio stations:
http://opml.radiotime.com/Tune.ashx?id=s8235&partnerId=16
http://opml.radiotime.com/Tune.ashx?id=s8514&partnerId=16

but it seems gone with 1.4

one other thing: wwwwoooowwwwww, you somehow got the cpu load down from 30% to 
12% on my raspberry pi!!

Original comment by mercurio...@gmail.com on 30 Dec 2013 at 9:35

GoogleCodeExporter commented 9 years ago
Fixed by 1.4 change

Original comment by trio...@btinternet.com on 30 Dec 2013 at 10:34