What happened?
I am running shairport-sync with a USB audio device via Alsa, and it is working perfectly - except if the audio device disappears unexpectedly.
Shairport detects and reports the disconnection event correctly and announces that it is going to exit, but then hangs and needs a kill -9.
I'm not sure how to investigate this further. Any advice welcome.
Relevant log output
fatal error: An unrecoverable error, "output_device_error_19", has been detected. Doing an emergency exit, as no run_this_if_an_unfixable_error_is_detected program.
System Information.
Running latest shairport-sync on a Raspberry Pi 3 with up-to-date Trixie (no GUI/desktop), compiled as per instructions on this github.
Configuration Information.
$ shairport-sync --displayConfig
>> Display Config Start.
From "uname -a":
Linux mtunes 6.18.34+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.18.34-1+rpt1 (2026-06-09) aarch64 GNU/Linux
From /etc/os-release:
Debian GNU/Linux 13 (trixie)
From /sys/firmware/devicetree/base/model:
Raspberry Pi 3 Model B Plus Rev 1.3
Shairport Sync Version String:
5.1-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/etc
Command Line:
shairport-sync --displayConfig
Configuration File:
/etc/shairport-sync.conf
Configuration File Settings:
general :
{
name = "mTunes";
volume_range_db = 60;
};
>> Display Config End.
>> Goodbye!
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues
What happened?
I am running shairport-sync with a USB audio device via Alsa, and it is working perfectly - except if the audio device disappears unexpectedly.
Shairport detects and reports the disconnection event correctly and announces that it is going to exit, but then hangs and needs a kill -9.
I'm not sure how to investigate this further. Any advice welcome.
Relevant log output
fatal error: An unrecoverable error, "output_device_error_19", has been detected. Doing an emergency exit, as no run_this_if_an_unfixable_error_is_detected program.System Information.
Running latest shairport-sync on a Raspberry Pi 3 with up-to-date Trixie (no GUI/desktop), compiled as per instructions on this github.
Configuration Information.
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues