Ticket #794 (new defect)

Opened 2 years ago

Last modified 6 months ago

Module raop gets unloaded

Reported by: akecaca Owned by: coling
Milestone: Component: module-raop-*
Keywords: Cc:

Description

Hi,

When using Pulseaudio to play music on a remote Airport Express through the raop module, the module gets unloaded about 90 minutes after it has been launched. Before this point, it was running fine. Following lines can be found in the log (log-level=4):

...
Feb 25 19:03:41 ubuntu-nas pulseaudio[1437]: sink-input.c:     module-stream-restore.id = "sink-input-by-application-name:mpd"
Feb 25 19:03:41 ubuntu-nas pulseaudio[1437]: protocol-native.c: Requested tlength=250,00 ms, minreq=20,00 ms
Feb 25 19:03:41 ubuntu-nas pulseaudio[1437]: protocol-native.c: Final latency 540,00 ms = 250,00 ms + 2*20,00 ms + 250,00 ms
Feb 25 19:10:50 ubuntu-nas pulseaudio[1437]: module.c: Unloading "module-raop-sink" (index: #3).
Feb 25 19:10:50 ubuntu-nas pulseaudio[1437]: sink-input.c: Freeing input 7 "My Pulse Output"
Feb 25 19:10:50 ubuntu-nas pulseaudio[1437]: sink.c: Freeing sink 0 "raop"
Feb 25 19:10:50 ubuntu-nas pulseaudio[1437]: source.c: Freeing source 0 "raop.monitor"
Feb 25 19:10:50 ubuntu-nas pulseaudio[1437]: module.c: Unloaded "module-raop-sink" (index: #3).
Feb 25 19:10:50 ubuntu-nas pulseaudio[1437]: client.c: Freed 7 "mpd"
Feb 25 19:10:50 ubuntu-nas pulseaudio[1437]: protocol-native.c: Connection died.
...

I am using Pulseaudio (v 0.9.19) on a headless server (ubuntu server 9.10) running as a system daemon, with system.pa config as follows:

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix auth-anonymous=1

### Allow access to airport express
load-module module-raop-discover
load-module module-raop-sink server=192.168.1.51 sink_name=raop
set-default-sink raop

### Automatically restore the volume of streams and devices
load-module module-stream-restore
load-module module-device-restore

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

I am using mpd as a client with following config:

audio_output {
        type            "pulse"
        name            "My Pulse Output"
        sink            "raop"
}

audio_output_format             "44100:16:2"
mixer_type                      "software"

Attachments

default.pa (1.8 kB) - added by gnoddep 6 months ago.

Change History

Changed 6 months ago by gnoddep

Changed 6 months ago by gnoddep

I can confirm this bug running PulseAudio 0.9.23 on Debian Squeeze. It ran for about 100 minutes. Though my instance didn't run in system-mode.

Startup message (mainly for timestamp):

Jul 29 16:09:38 bliss pulseaudio[14537]: main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message

Logmessage on exit:

Jul 29 17:55:57 bliss pulseaudio[14537]: module-raop-sink.c: FIFO shutdown.

I've attached my configfile.

I'll start an instance with more logging and post when module-raop-sink stops again.

If you need more information, please let me know.

Note: See TracTickets for help on using tickets.