[pulseaudio-tickets] [Bug 55135] module-match asserts on channels=0
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 21 02:21:15 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=55135
--- Comment #2 from Jussi Kukkonen <jussi.kukkonen at intel.com> 2012-09-21 09:21:15 UTC ---
Had some debugging help... It looks like gstreamer does something weird and
pulseaudio decides to assert because of that. If I use paplay everything works,
but gstreamer using apps will assert PA with module-match.
Here's a pa_sink_input_new_data* in pa_sink_input_new() -- notice how the
sample_spec is just empty, e.g. sample_spec.channels = 0:
Breakpoint 1, pa_sink_input_new (_i=_i at entry=0x7fffb2fd4508, core=0x21ea130,
data=data at entry=0x7fffb2fd4680)
at pulsecore/sink-input.c:239
239 pulsecore/sink-input.c: No such file or directory.
(gdb) print *data
$1 = {flags = PA_SINK_INPUT_START_CORKED, proplist = 0x2208780,
driver = 0x7f681ee55920 "pulsecore/protocol-native.c", module = 0x2272550,
client = 0x2204350, sink = 0x0,
origin_sink = 0x0, resample_method = PA_RESAMPLER_INVALID, sync_base = 0x0,
sample_spec = {format = PA_SAMPLE_U8,
rate = 0, channels = 0 '\000'}, channel_map = {channels = 0 '\000', map = {
PA_CHANNEL_POSITION_MONO <repeats 32 times>}}, format = 0x0, req_formats
= 0x2200e80, nego_formats = 0x0,
volume = {channels = 0 '\000', values = {0 <repeats 32 times>}},
volume_factor = {channels = 0 '\000', values = {
0 <repeats 32 times>}}, volume_factor_sink = {channels = 0 '\000', values
= {0 <repeats 32 times>}},
muted = false, sample_spec_is_set = false, channel_map_is_set = false,
volume_is_set = false,
volume_factor_is_set = false, volume_factor_sink_is_set = false, muted_is_set
= false, volume_is_absolute = false,
volume_writable = true, save_sink = false, save_volume = false, save_muted =
false}
I don't think PA should assert when this happens.
--
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