[pulseaudio-tickets] [Bug 40643] New: Pulseaudio crashes at volume/mute control of a RAOP device

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 5 10:48:59 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40643

           Summary: Pulseaudio crashes at volume/mute control of a RAOP
                    device
           Product: PulseAudio
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: modules
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: n3ocort3x at gmail.com
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


Created an attachment (id=50926)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50926)
pulseaudio verbose log from its start till crash by trying to set RAOP volume
(pulseaudio -vvv --log-target=file:)

Circumstances:

I'm trying to use PulseAudio's RAOP discover and audio sink functionality with
an Apple AirPort Base Station (A1264, 802.11bgn version, 2008 edition, with the
latest firmware).

PulseAudio:

PulsAaudio can discover my AirPort device fine which is set up to get an IP
address via wireless from my router via my real wireless AP. PulseAuidoo can
set up an output device for it with a name of the "speaker name" configured in
AirPort Base Station Utility (Windows version working fine in Wine with a
little workaround).


Problem #1:
As soon as I try controlling the RAOP device's volume/mute state, without any
application using it yet, pavucontrol errors out with a message box:

 <2> / pa_context_set_sink_volume_by_index() failed: Bad state

then when I close this, I can see another box:
 Connection failed: Connection terminated

I've tried to first kill the automatically respawned pulseaudio -k, then run it
again with pulseaudio -vvv as normal user.

See complete log output in the attachment.

When I try setting the volume (nothing is playing on it yet) or muting it the
following output is generated in pulseaudio's verbose output:

D: [pulseaudio] protocol-native.c: Client pavucontrol changes volume of sink
raop.a1264.local.
D: [pulseaudio] module-raop-sink.c: Requested volume: 0:  63% 1:  63%
D: [pulseaudio] module-raop-sink.c: Got hardware volume: 0:  63% 1:  63%
D: [pulseaudio] module-raop-sink.c: Calculated software volume: 0: 100% 1: 100%
E: [pulseaudio] rtsp_client.c: Assertion 'c->url' failed at
modules/rtp/rtsp_client.c:395, function rtsp_exec(). Aborting.

[See attachment for the full log]

Problem 2:

When I try assigning an application's output to the RAOP device without
altering the volume (I named it A1264 in its utility), sounds like streaming
starts through it, but it does stream with 2 seconds interruptions/pauses.

Therefore I tried to rebuild it from the current git source, it still does the
same thing (crashes at volume setting of RAOP). 

I've tried recompiling it with the patch applied from:
http://pulseaudio.org/attachment/ticket/571/ignore-rtsp-requests-until-setup.patch

With the patch the daemon does not crash, but there is no sound output on the
RAOP device, and applications that I tried (Clementine, qmmp) to output through
the raop sink just hang without being able to stream any sound (they have to be
forcefully killed first to get them streaming again through the normal default
alsa-sink.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list