[pulseaudio-tickets] [Bug 55135] New: module-match asserts on channels=0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 20 03:07:35 PDT 2012


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

             Bug #: 55135
           Summary: module-match asserts on channels=0
    Classification: Unclassified
           Product: PulseAudio
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: modules
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: jussi.kukkonen at intel.com
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


I'm trying to test module-match but so far the only result is making the daemon
assert.

#0  0x00007fa2ff30f475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fa2ff3126f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fa3005960fe in pa_cvolume_set (a=a at entry=0x7fff7544ce50,
channels=<optimized out>, v=<optimized out>)
    at pulse/volume.c:77
#3  0x00007fa2ee574727 in sink_input_new_hook_callback (c=<optimized out>,
si=0x7fff7544d5f0, u=<optimized out>)
    at modules/module-match.c:236
#4  0x00007fa300a38d5c in pa_hook_fire (hook=hook at entry=0xf764b8,
data=data at entry=0x7fff7544d5f0)
    at pulsecore/hook-list.c:106
#5  0x00007fa300a51783 in pa_sink_input_new (_i=_i at entry=0x7fff7544d478,
core=0xf76130, 
    data=data at entry=0x7fff7544d5f0) at pulsecore/sink-input.c:273
#6  0x00007fa2f68d27d8 in playback_stream_new (ret=<synthetic pointer>,
missing=<synthetic pointer>, syncid=2, 
    relative_volume=false, early_requests=false, adjust_latency=true,
p=0xf972a0, flags=PA_SINK_INPUT_START_CORKED, 
    muted_set=false, muted=false, volume=0x0, a=0x7fff7544d490, formats=0x0,
map=0x7fff7544d4d0, ss=0x7fff7544d480, 
    sink=0x0, c=0x10ab610) at pulsecore/protocol-native.c:1147
#7  command_create_playback_stream (pd=<optimized out>, command=<optimized
out>, tag=<optimized out>, 
    t=<optimized out>, userdata=0x10ab610) at pulsecore/protocol-native.c:2134
#8  0x00007fa3007dd8fd in pa_pdispatch_run (pd=0xf8e1d0, packet=<optimized
out>, creds=0xf9bf40, 
    userdata=userdata at entry=0x10ab610) at pulsecore/pdispatch.c:336
#9  0x00007fa2f68d31e0 in pstream_packet_callback (p=0xf9bdf0,
packet=<optimized out>, creds=<optimized out>, 
    userdata=0x10ab610) at pulsecore/protocol-native.c:4747
#10 0x00007fa3007e192b in do_read (p=0xf9bdf0) at pulsecore/pstream.c:812
#11 do_something (p=0xf9bdf0) at pulsecore/pstream.c:180
#12 0x00007fa300585654 in dispatch_pollfds (m=0xf75d50) at pulse/mainloop.c:677
#13 pa_mainloop_dispatch (m=m at entry=0xf75d50) at pulse/mainloop.c:927
#14 0x00007fa300585a05 in pa_mainloop_iterate (m=m at entry=0xf75d50,
block=block at entry=1, 
    retval=retval at entry=0x7fff7544db14) at pulse/mainloop.c:958
#15 0x00007fa300585ab0 in pa_mainloop_run (m=m at entry=0xf75d50,
retval=retval at entry=0x7fff7544db14)
    at pulse/mainloop.c:973
#16 0x000000000040732f in main (argc=<optimized out>, argv=<optimized out>) at
daemon/main.c:1135


>From a quick look in gdb, it seems that
module-match.c:sink_input_new_hook_callback() calls pa_cvolume_set() with
channels=0.

This happens with e.g. this match.table line:
.* 0

-- 
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