Rpi Cuts Out While Airplaying - shairport-sync crash

Edit:

Airplay dies because of this it seems:

 shairport-sync: player.c:247: alac_decode: Assertion `outsize == (4 * frame_size)' failed.

Is there a fix on the way?

As an addition, if anyone can tell me how to access the logs or turn on some more verbose logging then I can post that here too if it helps.

Thanks

Is no one else seeing this issue at all then?

I think your topic description doesn’t fit with many users as I don’t think many people run multiple volumio’s and less even simultaneously.

But if I interpret your post correctly, it is not a problem of doing things simultaneously but might be just an Airplay generic problem.

Try a new post explaining your airplay problem with a single instance. Maybe than more people can relate and it might become clear that there could be a more generic airplay problem.

Verzonden vanaf mijn iPhone met Tapatalk

Thanks for the reply.

Just to update, I have actually tried this with one instance of volumio in my flat and have even downgraded volumio with different versions going all the way back to volumio-0.928-2016-06-30-pi. These all drop too. I can only assume that this is some sort of iTunes problem that was introduced.

I can happily try to get logs if someone would explain how to turn all that on within the pi? I can go back to latest version too so everything is on the same page.

My versions are:

OS X El Capitan 10.11.6 (15G1217) on Mac Pro (Early 2008)
iTunes 12.6.0.100

Also, I don’t know if this has a bearing but I usually stream lossless music from my mac to my volumio instance.

Just to say, airplay cuts out and I can’t airplay to the item again unless I do a full restart of the pi.

Finall! Some logs:

[code]-- Logs begin at Sat 2017-03-25 17:49:50 UTC. –
Mar 25 17:51:02 airstationkitchen systemd[1018]: Starting Basic System.
Mar 25 17:51:02 airstationkitchen systemd[1018]: Reached target Basic System.
Mar 25 17:51:02 airstationkitchen systemd[1018]: Starting Default.
Mar 25 17:51:02 airstationkitchen systemd[1018]: Reached target Default.
Mar 25 17:51:02 airstationkitchen systemd[1018]: Startup finished in 70ms.
Mar 25 17:51:02 airstationkitchen systemd[1]: Started User Manager for UID 1000.
Mar 25 17:51:02 airstationkitchen sshd[1013]: lastlog_openseek: Couldn’t stat /var/log/lastlog: No such file or directory
Mar 25 17:51:02 airstationkitchen sshd[1013]: lastlog_openseek: Couldn’t stat /var/log/lastlog: No such file or directory
Mar 25 17:51:08 airstationkitchen sudo[1031]: volumio : TTY=pts/0 ; PWD=/home/volumio ; USER=root ; COMMAND=/bin/journalctl -f
Mar 25 17:51:08 airstationkitchen sudo[1031]: pam_unix(sudo:session): session opened for user root by volumio(uid=0)
Mar 25 17:51:24 airstationkitchen mpd[564]: client: [2] opened from local
Mar 25 17:51:24 airstationkitchen shairport-sync[990]: volume:100% repeat: off random: off single: off consume: off
Mar 25 17:51:24 airstationkitchen mpd[564]: client: [2] closed
Mar 25 17:51:24 airstationkitchen kernel: pcm512x 1-004d: No SCLK, using BCLK: -2
Mar 25 17:51:39 airstationkitchen kernel: pcm512x 1-004d: No SCLK, using BCLK: -2
Mar 25 17:53:33 airstationkitchen wpa_supplicant[780]: wlan0: BSS: Remove id 1 BSSID a2:21:b7:bc:5f:f6 SSID ‘NewRinseGeneration’ due to wpa_bss_flush_by_age
Mar 25 17:53:33 airstationkitchen wpa_supplicant[780]: wlan0: BSS: Remove id 2 BSSID 90:21:06:74:1b:2a SSID ‘SKY5DE9E’ due to wpa_bss_flush_by_age
Mar 25 17:53:33 airstationkitchen wpa_supplicant[780]: wlan0: BSS: Remove id 3 BSSID c0:05:c2:f3:2e:d9 SSID ‘VM3170223’ due to wpa_bss_flush_by_age
Mar 25 17:53:33 airstationkitchen wpa_supplicant[780]: wlan0: BSS: Remove id 4 BSSID c0:05:c2:05:28:89 SSID ‘VM9987185’ due to wpa_bss_flush_by_age
Mar 25 18:05:01 airstationkitchen systemd[1]: Starting Cleanup of Temporary Directories…
Mar 25 18:05:01 airstationkitchen systemd[1]: Started Cleanup of Temporary Directories.
Mar 25 18:08:59 airstationkitchen shairport-sync[990]: shairport-sync: player.c:247: alac_decode: Assertion `outsize == (4 * frame_size)’ failed.
Mar 25 18:08:59 airstationkitchen systemd[1]: airplay.service: main process exited, code=killed, status=6/ABRT
Mar 25 18:08:59 airstationkitchen systemd[1]: Unit airplay.service entered failed state.

[/code]

It seems to be related to this issue here:

github.com/volumio/Volumio2/issues/988